Apis::V4::CommunityChallenge API

create a community challenge

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will be serialized to create the community challenge
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

Request

Headers

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

Route

POST /apis/v4/community_challenges

Body

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.eyJ1c2VyX2lkIjoyNDksImV4cCI6MTc5NDcxMjg1MiwiaWF0IjoxNzk0NTQwMDUyfQ.nXpvwRmzSmwSBg9dEa_YZjjR7iwlySbwynwmVVlB_P0
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"99038d7ab038767f9297c5bfa9b3479f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d499b617-d789-40b1-9b73-5eb678481dc7
X-Runtime: 0.117613
Content-Length: 1800

Status

201

Body