API endpointsContent: youtubeGet one YouTube video by provider id GET

Get one YouTube video by provider id

GET
/v1/content/youtube.videos.items/{externalId}

Get one YouTube video by provider id.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

externalId*string
Length1 <= length

Query Parameters

connectedProfileId*string

Koil Connected Profile associated with the operation.

Length1 <= length
includeProviderRaw?boolean

Whether to include transient provider-native payloads.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/content/youtube.videos.items/string?connectedProfileId=string"
{  "externalId": "string",  "title": "string",  "text": "string",  "tags": [    "string"  ],  "media": [    {      "mediaId": "string",      "sourceUrl": "string",      "contentType": "string",      "filename": "string",      "checksum": "string",      "altText": "string"    }  ],  "providerPermalink": "http://example.com",  "privacyStatus": "public",  "aspectRatio": 1,  "uploadStatus": "string",  "liveBroadcast": "none",  "madeForKids": true,  "durationSeconds": 0,  "engagement": {    "views": 0,    "likes": 0,    "comments": 0  },  "publishedAt": "2019-08-24T14:15:22Z",  "scheduledPublishAt": "2019-08-24T14:15:22Z",  "providerRaw": null,  "contentType": "youtube.videos.items"}
{  "error": {    "code": "validation_error",    "message": "string",    "meta": {      "property1": null,      "property2": null    }  }}