Skip to main content

List the homepage pins the caller can see.

GET/api/v1/pinsanalytics:read

Without a filter: the caller's own homepage, that is the pins for the caller and their groups, minus targets the caller cannot read, one pin per target. With target_type and target_id: every pin of that one target, none collapsed, each with its author, for a target the caller can open. Pins the caller pinned for themselves need View Own Pins; the pins shown to a group, and with a filter every other user's pin, need View Shared Pins, so an administrator who holds it can find the pins to remove.

Scopeanalytics:read
AsynchronousNo
MCP toollist_pins
Pagingkeyset
Default orderpin_id
Sort fieldspin_id
Filterstarget_type, target_id

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
target_typequeryarray of stringOptional
target_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of PinRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Pin​

FieldTypeRequiredDescription
pin_idstringRequired
pin_metadatastring or nullRequiredFree JSON text the pin carries, or null.
pinned_atstring (date-time)Required
pinned_byUserRef or nullRequiredWho pinned it; null when that user no longer exists.
scopeobject or object or objectRequiredThe user or group the pin is shown to.
targetobject or object or object or object or object or objectRequiredThe pinned dataview, interface, analytics view, record template or graph view.
target_namestring or nullRequiredThe target's name as stored on the pin; null when the caller cannot open the target.

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired