StreamPlumeDevelopers

HTTP API

A small REST surface over JSON. All endpoints are relative to https://api.streamplume.com/v1 and require a bearer token.

Assets

MethodPathDescription
POST/assetsUpload a source file and start packaging. Accepts multipart/form-data or a remote url.
GET/assets/:idRetrieve state, ladder, duration and manifest URLs.
GET/assetsList assets, newest first. Supports cursor and limit.
PATCH/assets/:idUpdate metadata or replace the rendition ladder. Repackaging is incremental.
DELETE/assets/:idRemove the asset and purge its segments from every edge.

Playback

MethodPathDescription
POST/assets/:id/tokensMint a signed playback token. Takes ttl in seconds and optional geo rules.
GET/assets/:id/manifestResolve the current multivariant manifest URL for an asset.

Reporting

MethodPathDescription
GET/reports/deliveryBytes delivered, requests and cache-hit ratio, bucketed hourly.
GET/reports/qoeStartup time, rebuffer ratio and average bitrate per asset.

Errors

Errors use conventional status codes with a machine-readable body. Rate limits return 429 with a Retry-After header.

{
  "error": {
    "type": "invalid_request",
    "message": "ladder must contain at least one rendition",
    "param": "ladder"
  }
}