Brault Developers

List a file’s versions

Regionalus.api.brault.appfollows the region selector in the top bar
GET
/v1/files/{fileId}/versions

Newest first.

AuthorizationBearer <token>

API key from Settings → Developers

In: header

Path Parameters

fileId*string

Query Parameters

limit?number
Range1 <= value <= 100
Default50
cursor?string

Opaque cursor from a previous response.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/files/string/versions"
{  "object": "list",  "has_more": true,  "next_cursor": "string",  "data": [    {      "object": "version",      "id": "string",      "file_id": "string",      "version_number": 0,      "size": 0,      "mime": "string",      "extension": "string",      "status": "string",      "duration_ms": 0,      "resolution": "string",      "created_at": "2019-08-24T14:15:22Z",      "created_by_id": "string",      "is_active": true    }  ]}