Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Castr Live Streams API

Live streams and their multistream platform destinations.

Castr Live Streams API is one of 5 APIs that Castr publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Live Streams. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 9 operations across 5 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.castr.com/v2.

9 operations 5 paths 6 schemas 2 DELETE3 GET2 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.castr.com/v2
Authentication
API Key
Contact
Resource Areas
1

Authentication & Security 1

Castr Live Streams API declares 1 security scheme for authenticating requests. An API key is passed in the header as authorization (apiToken). By default, every request must be authenticated.

  • apiToken — API token issued from the Castr account settings API section (https://castr.com/app/manage/api), sent in the authorization header.

Paths & Operations 9

Across 5 paths, the API surfaces 9 operations — 2 DELETE, 3 GET, 2 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Live Streams 9

Live streams and their multistream platform destinations.

GET
/live_streams
List live streams
listLiveStreams → 200401
POST
/live_streams
Create a new live stream
createLiveStream body → 201401
GET
/live_streams/{stream_id}
Get a live stream
getLiveStream 1 param → 200404
PATCH
/live_streams/{stream_id}
Update a live stream
updateLiveStream 1 param body → 200404
DELETE
/live_streams/{stream_id}
Delete a live stream
deleteLiveStream 1 param → 204404
GET
/live_streams/{stream_id}/epg
Get live EPG
getLiveStreamEpg 1 param → 200404
POST
/live_streams/{stream_id}/platforms
Add a multistream platform destination
addPlatform 1 param body → 201404
PATCH
/live_streams/{stream_id}/platforms/{platform_id}
Update a platform destination
updatePlatform 2 params body → 200404
DELETE
/live_streams/{stream_id}/platforms/{platform_id}
Delete a platform destination
deletePlatform 2 params → 204404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are LiveStream (7 properties), Platform (6 properties), PlatformCreate (5 properties), LiveStreamCreate (3 properties). Each schema is shown below with its type and property counts.

LiveStreamUpdate
object
3 properties
LiveStreamCreate
object
3 properties 1 required
LiveStream
object
7 properties
PlatformCreate
object
5 properties 1 required
Platform
object
6 properties
Error
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

castr-live-live-streams-api-openapi.yml Raw ↑

Other APIs Castr publishes across the network.

Castr Analytics API
Castr Sub-Second Streams API
Castr Video Hosting API
Castr Webhooks API