Availability
Public/Private/Secured
There are 2 types of API Keys: - Public; Use the public key for client side GET Requests - Private; Use the private key for server side POST Requests.
Video's can have 3 access tiers: - Public; video can be accessed using a HTTP GET Request. - Private; video can be accessed using a HTTP GET Request or HTTP POST Request. - Secured; video can only be accessed using a HTTP POST Request using the Private API Key.
Public
GET https://embed.videodocker.io/videos/:id
This endpoint allows you to embed a video on your domain.
Path Parameters
id
string
ID of the video to get.
Query Parameters
APIKey
string
Public API key.
Headers
Authentication
string
Authentication token of the domain.
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}{ "message": "Ain't no cake like that."}Private/Secured
POST https://embed.videodocker.io/videos/:id
This endpoint allows you to embed a video on your domain.
Path Parameters
id
string
ID of the video to get.
Headers
Authentication
string
Authentication token of the domain.
Request Body
APIKey
string
Private API key.
Secured
POST https://embed.videodocker.io/videos/:id
This endpoint allows you to embed a video on your domain.
Path Parameters
id
string
ID of the video to get.
Headers
Authentication
string
Authentication token of the domain.
Request Body
APIKey
string
Private API key.
Last updated
Was this helpful?