List a project's documents
GET
/api/v1/documents
const url = 'https://app.avera.io/api/v1/documents';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.avera.io/api/v1/documentsReturns every document item in the project, rich-text and file documents alike, with the folder each sits in. Detail, lifecycle transitions and version history are served by the generic item endpoints, since documents are items in the meta-model.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”projectId
string format: uuid
Responses
Section titled “Responses”OK
Media type*/*
Array<object>
object
number
required
string
canonicalId
required
string format: uuid
title
string | null
description
string | null
contentType
string | null
documentTypeId
required
string
status
required
string
seq
required
integer format: int64
revision
string | null
folderId
string | null format: uuid
folderName
string | null
fileName
string | null
fileSize
integer | null format: int64
mimeType
string | null
modifiedAt
required
string format: date-time
modifiedBy
required
string format: uuid
createdAt
required
string format: date-time
createdBy
required
string format: uuid