Apis::V4::Organizations::CelebrationItems API

get organization's celebration items

Parameters

Name Description
filters comma delimited filters. Filter options:
- filters[subject_person_ids] = 1,2,3
- filters[has_unread_comments] = true (Only return items that have one or more unread comments, for the current person only. Unread comments are tracked through the unread_items relationship on the celebration_item_comments objects.)
access_token JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header)
page[limit] The max number of results expected
page[offset] The offset of results expected
fields A comma separated list of fields to return in the response for the given type. A resource object's attributes and its relationships are collectively called its 'fields'. Clients may restrict the set of fields in order to improve performance. Multiple types can be specified. If no fields param is specified then by default all fields are returned. Example

Response Fields

Name Description
data primary JSON API payload
meta will contain additional information about the current request, including the total number of records before the limit/offset operations

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNjksImV4cCI6MTcwNDQ3MzIzNCwiaWF0IjoxNzA0NDczMDU0fQ.TGVgx7gZzJDlQ5KQohpBqJuU2hsAUBrSwgkdUtMrxbg
Host: example.org
Cookie: 

Route

GET /apis/v4/organizations/120/celebration_items

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNjksImV4cCI6MTcwNDY0NTg1NCwiaWF0IjoxNzA0NDczMDU0fQ.WJp6WbYjhoG98TrP4wp5zA66Tb_vQxrdzktaK5Brgrc
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"8704dba1224b0c7120c656ccf0c061c8"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: fb993159-5871-401d-8b8e-e94f4ff1f4be
X-Runtime: 0.084743
Content-Length: 1711

Status

200

Body