Skip to main content
GET
/
projects
/
{project_reference}
/
branches
/
{branchName}
/
files
/
{filePath}
/
versions
List Branch File Versions
curl --request GET \
  --url https://api.veryfront.com/projects/{project_reference}/branches/{branchName}/files/{filePath}/versions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "path": "<string>",
      "type": "page",
      "created_at": "<string>",
      "created_by": "<string>",
      "file_id": "<string>"
    }
  ],
  "page_info": {
    "self": "<string>",
    "first": null,
    "next": "<string>",
    "prev": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required
branchName
string
required

Branch name

filePath
string
required

File path (URL-encoded, e.g., pages%2Findex.mdx)

Query Parameters

cursor
string

Cursor for pagination

limit
number
default:20
Required range: 1 <= x <= 100

Response

Paginated list of branch file versions

data
object[]
required
page_info
object
required

Pagination cursor values for traversing the result set.