GET
/
multistream
/
target
import { Livepeer } from "livepeer";

const livepeer = new Livepeer({
  apiKey: "<YOUR_BEARER_TOKEN_HERE>",
});

async function run() {
  const result = await livepeer.multistream.getAll();

  // Handle the result
  console.log(result);
}

run();
[
  {
    "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7",
    "name": "<string>",
    "userId": "66E2161C-7670-4D05-B71D-DA2D6979556F",
    "disabled": true,
    "createdAt": 1587667174725
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Success
id
string
Example:

"09F8B46C-61A0-4254-9875-F71F4C605BC7"

name
string
userId
string
deprecated
Example:

"66E2161C-7670-4D05-B71D-DA2D6979556F"

disabled
boolean

If true then this multistream target will not be used for pushing even if it is configured in a stream object.

createdAt
number

Timestamp (in milliseconds) at which multistream target object was created

Example:

1587667174725