Report Pin
The report pin resource.
Basehttps://rest.carbon.ms/reportPin
GET
/reportPinList report pins
Retrieve a paginated list of report pins. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GEThttps://rest.carbon.ms/reportPin
curl --request GET \
--url 'https://rest.carbon.ms/reportPin?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"reportKey": "string",
"userId": "xyz789",
"companyId": "xyz789",
"pinned": true,
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z",
"updatedBy": "string",
"updatedAt": "2026-01-01T00:00:00Z"
}
]GET
/reportPinRetrieve a report pin
Fetch a single report pin by filtering on `reportKey`.
Query parameters
reportKeystringMatch on the report pin's `reportKey`, e.g. `eq.{id}`.
GEThttps://rest.carbon.ms/reportPin
curl --request GET \
--url 'https://rest.carbon.ms/reportPin?reportKey=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"reportKey": "string",
"userId": "xyz789",
"companyId": "xyz789",
"pinned": true,
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z",
"updatedBy": "string",
"updatedAt": "2026-01-01T00:00:00Z"
}POST
/reportPinCreate a report pin
Create a new report pin.
Body parameters
pinnedbooleanrequiredPOSThttps://rest.carbon.ms/reportPin
curl --request POST \
--url https://rest.carbon.ms/reportPin \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"pinned":true}'Response
{
"reportKey": "string",
"userId": "xyz789",
"companyId": "xyz789",
"pinned": true,
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z",
"updatedBy": "string",
"updatedAt": "2026-01-01T00:00:00Z"
}PATCH
/reportPinUpdate a report pin
Update an existing report pin, matched on `reportKey`.
Body parameters
pinnedbooleanrequiredPATCHhttps://rest.carbon.ms/reportPin
curl --request PATCH \
--url 'https://rest.carbon.ms/reportPin?reportKey=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"pinned":true}'Response
{
"reportKey": "string",
"userId": "xyz789",
"companyId": "xyz789",
"pinned": true,
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z",
"updatedBy": "string",
"updatedAt": "2026-01-01T00:00:00Z"
}DELETE
/reportPinDelete a report pin
Delete a report pin, matched on `reportKey`. Returns 204 No Content.
Query parameters
reportKeystringThe `reportKey` of the report pin to delete, e.g. `eq.{id}`.
DELETEhttps://rest.carbon.ms/reportPin
curl --request DELETE \
--url 'https://rest.carbon.ms/reportPin?reportKey=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content