Headless LMS

Browse the organization's media library

GET
/api/assets

Query Parameters

page?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 100
Default20
search?string
sort?string
kind?string

Value in

  • "video"
  • "download"
  • "content"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/assets"
{  "rows": [    {      "id": "string",      "key": "string",      "kind": "video",      "filename": "string",      "contentType": "string",      "size": -9007199254740991,      "status": "pending",      "uploadedBy": "string",      "createdAt": "string"    }  ],  "total": -9007199254740991,  "page": -9007199254740991,  "pageSize": -9007199254740991}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}