Which workspace an attachment's page is in
The Notes app's image route (`/notes/attachments/<id>`) holds only the session's default-workspace token, so an image on a page in another workspace would not be found (EAS-271). With this it finds that workspace and exchanges the token for one there. The same rules and answers as locatePage, applied to the attachment's page: it answers only when the caller could read that page in its own workspace. Every other case, including an attachment on no page, gets the same 404, byte for byte. Shares locatePage's rate limits.
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/attachments/497f6eca-6276-4993-bfeb-53cbbbba6f08/locate"{ "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "slug": "string"}Count the caller's view of a page
Counts one view of the page by the caller (EAS-738). The page sends this when it opens and does not wait for the answer. Opening the same page again within 10 minutes is the same view, so a repeat is not an error: the answer is 204 either way. A trashed page is not counted. The page sends this only after it has been on screen a few seconds. Views of a page through a public link are reported to `/v1/public/pages/{token}/views` instead.
List a page's active public links
Next Page