Endpoint Set
This API returns to the client (streaming application) an exhaustive list of all the API endpoints that will be needed to build a seamless integration.
| Header |
Value |
| Authorization |
Bearer api_key |
Endpoint
GET v3/watch/meta/endpoints
Query Parameters
| Parameter |
Type |
Required |
Description |
canonical_set_key |
String |
Conditional |
The key identifying the canonical endpoint set to retrieve. Required for internal API keys; omit for external API keys (the set is inferred from the key). |
Response Body
{
"endpoints": {
"watch.meta.product.retrieve": "v2/watch/meta/product-config",
"watch.auth.session.login": "v2/watch/auth/login",
"watch.content.project.list": "v2/watch/content/projects"
},
"host": {
"name": "https://api.indee.tv/"
},
"status_code": "W0000",
"status_message": "Success"
}
| Field |
Type |
Description |
endpoints |
Object |
A map of canonical endpoint names to their URL paths for the resolved canonical set. |
host |
Object |
The host configuration for the API. |
host.name |
String |
The base server URL to prepend to each endpoint path. |
status_code |
String |
Indee status code for the response. |
status_message |
String |
Human-readable description of the status code. |
Status Codes
| Indee status code |
HTTP Response Code |
Description |
| W0000 |
HTTP 200 |
Success |
| W2000 |
HTTP 401 |
Authorization header was either not passed or there was some issue parsing it |
| W2001 |
HTTP 401 |
API key is invalid or expired |
| W2100 |
HTTP 403 |
Origin domain is not whitelisted for this API key |
| W2108 |
HTTP 403 |
Watch product is inactive |
| W2201 |
HTTP 400 |
canonical_set_key is required for internal API keys but was not passed |
| W4900 |
HTTP 400 |
canonical_set_key does not match any known canonical set |
| W5001 |
HTTP 429 |
Rate limited |
| W5000 |
HTTP 500 |
Unknown server error occurred |