Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 2.79 KB

getmultistreamtargetsresponse.md

File metadata and controls

36 lines (31 loc) · 2.79 KB

GetMultistreamTargetsResponse

Example Usage

import { GetMultistreamTargetsResponse } from "livepeer/models/operations";

let value: GetMultistreamTargetsResponse = {
  contentType: "<value>",
  statusCode: 417,
  rawResponse: new Response("{\"message\": \"hello world\"}", {
    headers: { "Content-Type": "application/json" },
  }),
  data: [
    {
      id: "09F8B46C-61A0-4254-9875-F71F4C605BC7",
      createdAt: 1587667174725,
    },
  ],
  error: {
    errors: [
      "[\"id not provided\",\"Account not found\"]",
    ],
  },
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
data components.MultistreamTarget[] Success
error components.ErrorT Error