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 Sub-Second Streams API

Ultra-low-latency (WebRTC) live streams.

Castr Sub-Second 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 Sub-Second Streams. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 5 operations across 2 paths, and defines 3 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.

5 operations 2 paths 3 schemas 1 DELETE2 GET1 PATCH1 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 Sub-Second 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 5

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

Sub-Second Streams 5

Ultra-low-latency (WebRTC) live streams.

GET
/sub_second_streams
List sub-second streams
listSubSecondStreams → 200401
POST
/sub_second_streams
Create a new sub-second stream
createSubSecondStream body → 201401
GET
/sub_second_streams/{stream_id}
Get a sub-second stream
getSubSecondStream 1 param → 200404
PATCH
/sub_second_streams/{stream_id}
Update a sub-second stream
updateSubSecondStream 1 param body → 200404
DELETE
/sub_second_streams/{stream_id}
Delete a sub-second stream
deleteSubSecondStream 1 param → 204404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are SubSecondStream (5 properties), Error (2 properties), SubSecondStreamCreate (2 properties). Each schema is shown below with its type and property counts.

SubSecondStreamCreate
object
2 properties 1 required
SubSecondStream
object
5 properties
Error
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

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

Other APIs Castr publishes across the network.

Castr Analytics API
Castr Live Streams API
Castr Video Hosting API
Castr Webhooks API