Per-object sia:// share URLs for direct-from-Sia playback.
bearerAuthAuthorizationBearer <token>A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.
id*stringAsset UUID or pb_ playback ID.
expires_in?integer3600renew?stringSet (any value) when replacing a map the player already holds during one watch, so it is not counted as another play. The SDK sets it.
Share URL map.
application/json- response
master_object_id?stringThe HLS master object id (hex).
shares?Map of Sia object id (hex) to a short-lived sia:// share URL the browser player resolves + downloads directly, no backend proxy.
expires_at?stringdate-timecurl -X GET 'https://sluby.example.com/api/v1/playback/string/share'{ "master_object_id": "string", "shares": { "property1": "string", "property2": "string" }, "expires_at": "2019-08-24T14:15:22Z"}Revoke every signed URL of an asset. POST
Raises the asset signing generation, so every signed url minted for it so far (and every child url signed from one) is refused from now on; new ones can be minted straight away. A pb_ id revokes for its whole asset. Copies of public objects a shared cache already holds are unaffected, and sia:// share maps run until their own expiry.
Every member of the workspace, removed ones included. GET
Next Page