List assets with search, filters, sorting and pagination.
Each parameter may be given once; a repeated or malformed one is a 400. Unknown parameters are ignored.
Each parameter may be given once; a repeated or malformed one is a 400. Unknown parameters are ignored.
bearerAuthAuthorizationBearer <token>A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.
limit?integerPage size (1-100).
1 <= value <= 10020cursor?stringKeyset pagination cursor. Pass the next_cursor from the previous page to fetch the next one. A cursor that does not decode is a 400.
page?integerOffset page number (alternative to cursor; sending both is a 400).
1 <= value <= 10000001status?stringFilter by status.
"created""uploading""processing""ready""failed"access_tier?string"public""private"search?stringCase-insensitive match on title or description, or an exact asset id.
length <= 200sort?string"created_at""created_at""title""duration""size"order?stringCursor paging is only available for created_at desc; other orders use page.
"desc""asc""desc"A page of assets.
application/json- response
data*array<>total*integerEvery match of the filters, on all pages.
page*|Null on a page fetched with a cursor.
limit*integernext_cursor*string|nullhas_more*booleancurl -X GET 'https://sluby.example.com/api/v1/assets'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "description": "string", "manifest_object_id": "string", "thumbnail_object_ids": [ "string" ], "duration_ms": 0, "resolution": "string", "status": "created", "access_tier": "public", "creator_address": "string", "segment_count": 0, "total_storage_bytes": 0, "play_count": 0, "last_played_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "total": 0, "page": 0, "limit": 0, "next_cursor": "string", "has_more": true}