Pages

Get a document a page shows

GET
/pages/{page_id}/document

A document an app page shows from a record: only when it hangs in field of a record of table the current version reads (as a member, like pages.query). variant 'preview' returns the display image as base64 WebP (data); 'original' a download url valid 5 minutes and needs download access to the space.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

page_id*Page Id

Resource identifier: page_id.

Formatuuid

Query Parameters

version_id?|

The version the caller has open (version_id of pages.view); a newer current version answers conflict with reason page_version_changed.

Defaultnull
table*Table

Filter or parameter: table.

Length1 <= length <= 64
record_id*Record Id

Filter or parameter: record_id.

Formatuuid
field*Field

document_relation field of the record.

Length1 <= length <= 64
document_id*Document Id

Filter or parameter: document_id.

Formatuuid
variant?Variant

Filter or parameter: variant.

Default"preview"

Value in

  • "preview"
  • "original"

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/pages/123e4567-e89b-42d3-a456-426614174000/document?table=string&record_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&field=string&document_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "mime_type": "example",  "name": "Customer documents"}