Apis::V4::CommunityChallenge API

get all community challenges

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also pass this into the Authorization header)
filters comma delimited filters. Filter options:
- filters[organization_ids] = 1,null,3 (comma delimited list of organization ids to scope the items to, send "null" to filter for data that has no associated organization AKA global challenges)
include (optional) comma delimited relationships you want included in the response in snake_case format
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
included related models (controlled by the include param)
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.eyJ1c2VyX2lkIjoxMjYsImV4cCI6MTU0MDk0NDE4MCwiaWF0IjoxNTQwOTQ0MDAwfQ.9yV1XYGh_P07bFxH84sOJzMAl6CHbAmNwFJWPOXJIXU
Host: example.org
Cookie: 

Route

GET /apis/v4/community_challenges?include=

Query Parameters

include=

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.eyJ1c2VyX2lkIjoxMjYsImV4cCI6MTU0MTExNjgwMCwiaWF0IjoxNTQwOTQ0MDAwfQ.8xCpjhs5IBAYf46GAUQEBbGmQt07qO35dXABqERwu3k
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"14c875f09746cb8c6678ee472194e2af"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f837d8db-7fc6-426c-8777-156641d096cb
X-Runtime: 0.081283
Content-Length: 1713

Status

200

Body