List sources
/streams/sources/read Read: looks, changes nothing. Scopes
Sources a page at a time (page, page_size up to 200), newest first. An account that does not see the whole catalogue gets only the sources it created.
Query parameters
healthstringHow the servers last found it.
One of:
"down""online""unknown"is_activebooleanOnly turned-on (true) or turned-off (false) sources.
orderingstringWhich field to use when ordering the results.
pageintegerA page number within the paginated result set.
page_sizeintegerNumber of results to return per page.
searchstringPart of the name or the address.
unusedbooleanOnly sources no stream reads from.
Response
200 OK
countintegerrequiredHow many there are in all, on every page.
nextstring (uri)can be nullThe next page, or null on the last one.
previousstring (uri)can be nullThe page before, or null on the first one.
resultsobject[]requiredidstring (uuid)requiredread-onlynamestringrequiredurlstring (uri)requiredis_activebooleanqualitystringcan be nulle.g., 720p, 1080p, 4K
bitrateintegercan be nullBitrate in kbps
healthstringrequiredread-onlyHow the servers last found it:
onlinewhile a server plays from it,downafter one failed to,unknownuntil a server has tried.health_atstring (date-time)requiredread-onlycan be nullWhen a server last said how it found it.
probed_video_codecstringrequiredread-onlye.g. h264, hevc. Empty until a server has read the source.
probed_audio_codecstringrequiredread-onlyprobed_fpsnumberrequiredread-onlycan be nullNull when the source declares a variable or unknown rate.
probed_widthintegerrequiredread-onlycan be nullprobed_heightintegerrequiredread-onlycan be nullprobed_audio_tracksintegerrequiredread-onlycan be nullNumber of audio streams — language alternatives.
probed_atstring (date-time)requiredread-onlycan be nullWhen a server last read these, as a stream started on it.
streams_countintegerrequiredread-onlyHow many streams read from it.
created_bystring (uuid)requiredread-onlycan be nullcreated_by_usernamestringrequiredread-onlycreated_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.