Skip to main content

GET All Links for a Playlist

Overview


The following table contains important information about the GET method in regards to receiving all links for playing a specific playlist in the vertical player.

GET All Links for a Playlist
MethodGET
URL or Endpoint/vertical-player/playlist/embed/playerPublicId/playlistPublicId/includeSeo
HeadersNot Applicable
ParametersplayerPublicId, playlistPublicId, includeSeo
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeDescription
playerPublicIdYesstringUnique Id of the vertical player.
playlistPublicIdYesstringUnique Id of the playlist.
includeSeoYesbooleanIndicates whether SEO metadata should be included.

Request Body

The request does not contain a request body

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"javaScriptEmbedCode": "{javaScriptEmbedCode}",
"iFrameEmbedCode": "{iFrameEmbedCode}"
},
"resultInfo": null,
"statusCode": 200
}

The description of the response fields is as follows:

Top-Level Properties

Field NameTypeDescription
successbooleanIf the response is successful it will return true. Otherwise will return false.
errorsarray[string]Indicates if there was an error.
messagesarray[string]Returns the response message from back-end.
resultobjectReturns the response object.
javaScriptEmbedCodestringThe JavaScript embed code for the vertical player.
iFrameEmbedCodestringThe iFrame embed code for the vertical player.
resultInfostringReturns extra information about the result.
statusCodeintegerReturns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed