Skip to content

Get a destination

GET/v1/streams/destinations/{destinationId}

GET
/v1/streams/destinations/{destinationId}
curl --request GET \
--url https://api.ligr.live/rest/v1/streams/destinations/1 \
--header 'Authorization: Bearer <token>'

Returns one destination.

destinationId
required

Entity identifier

integer format: int32
>= 1

The destination identifier

Ok

Media typeapplication/json

A saved destination of the organization. url and key are the server URL and the stream key for a push destination. A pull destination has no url and key; LIGR serves it at pullUrl.

object
id
required

Entity identifier

integer format: int32
>= 1
name
required
string
type
required
string
Allowed values: youtube facebook twitter linkedin tiktok twitch custom perform genius img igame fifa+ infront
transportDirection
required
string
Allowed values: push pull
transportProtocol
required
string
Allowed values: rtmp srt
feedType
required

program carries the graphics. clean is the picture without them.

string
Allowed values: program clean
url
required
string
nullable
key
required
string
nullable
pullUrl
required

For a pull destination: the URL a player or a relay pulls from.

string
nullable
singleUse
required

True for a destination created for one match by createAndLinkOneOffDestination.

boolean
createdAt
required
string
updatedAt
required
string
Example
{
"type": "youtube",
"transportDirection": "push",
"transportProtocol": "rtmp",
"feedType": "program"
}

Request is invalid

Media typeapplication/json
object
message
required
string
details
required
object
key
additional properties
Examplegenerated
{
"message": "example",
"details": {
"additionalProperty": "example"
}
}

Missing or invalid api key

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Api key provides insufficient access for the request

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Destination not found

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

Api key has made too many requests

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}

An unexpected error has occured. If problems persist please contact support

Media typeapplication/json
object
message
required
string
Examplegenerated
{
"message": "example"
}