import { UpdateStreamResponse } from "livepeer/models/operations";
let value: UpdateStreamResponse = {
contentType: "<value>",
statusCode: 308,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
error: {
errors: [
"[\"id not provided\",\"Account not found\"]",
],
},
};
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 |
error |
components.ErrorT |
➖ |
Error |