Time-limited signed playback URL.
Signs the master manifest (and the first thumbnail as a poster) for the asset. The signature covers the asset signing generation, so every url minted so far stops working when the asset tier changes or POST /api/v1/playback/{id}/signed/revoke is called. A url never lasts longer than six hours.
Signs the master manifest (and the first thumbnail as a poster) for the asset. The signature covers the asset signing generation, so every url minted so far stops working when the asset tier changes or POST /api/v1/playback/{id}/signed/revoke is called. A url never lasts longer than six hours.
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?integerLifetime of the url in seconds. A whole number outside 60 to 21600 is brought to the nearest bound (the answer expires_at says what was minted); anything else is a 400.
60 <= value <= 216003600Signed URL.
application/json- response
signed_url*stringAbsolute url of the master manifest on PUBLIC_URL with expires and sig appended; the gateway signs the child urls in it on the fly.
uriposter_url*|Absolute url of the first thumbnail, signed the same way and valid as long, so a player can show a poster for a private asset. Null when the asset has none.
uriexpires_at*stringdate-timecurl -X GET 'https://sluby.example.com/api/v1/playback/string/signed'{ "signed_url": "http://example.com", "poster_url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z"}Playback info + URL for an asset or playback ID. GET
Previous Page
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.