Get a document a page shows
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 Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: page_id.
uuidQuery Parameters
The version the caller has open (version_id of pages.view); a newer current version answers conflict with reason page_version_changed.
nullFilter or parameter: table.
1 <= length <= 64Filter or parameter: record_id.
uuiddocument_relation field of the record.
1 <= length <= 64Filter or parameter: document_id.
uuidFilter or parameter: variant.
"preview"Value in
- "preview"
- "original"
Header Parameters
Optional correlation identifier.
length <= 128Response 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"}