AdnovaDocs
Creative Hub

List files in a board

Paginated list of files directly inside the board (not its subboards — list each subboard separately). Sorted by createdAt descending.

GET
/boards/{boardId}/files

Authentication

authentication
api-key<token>

Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.

In: header

Path Parameters

boardId*string
Length1 <= length

Query Parameters

extensions?string

Comma-separated list of file extensions to include (no leading dot). Example: jpg,mp4.

name?string

Case-insensitive substring match against the filename.

fromDate?string

ISO 8601 inclusive lower bound on createdAt.

Formatdate-time
toDate?string

ISO 8601 inclusive upper bound on createdAt.

Formatdate-time
limit?integer
Default50
Range1 <= value <= 250
skip?integer
Default0
Range0 <= value

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization context (required on every endpoint).

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.adnova.ai/creative-hub/v1/boards/01J8ZB1C2D3E4F5G6H7J8K9M0N/files" \  -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \  -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P"
{
  "data": [
    {
      "_id": "01H8YA...",
      "name": "spring-hero.mp4",
      "mime": "video/mp4",
      "extension": "mp4",
      "size": 1846720,
      "mediaKey": "01H8Y3.../__MEDIA_FILES/01H8YA...",
      "thumbnailKey": "01H8Y3.../__MEDIA_FILES/01H8YA...-thumb.jpg",
      "versionId": "V123ABC...",
      "versionsCount": 3,
      "parents": [
        "01H8YC..."
      ],
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "limit": 1,
    "skip": 0,
    "total": 0
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}