Apis::V4::CommunityChallenge API

update 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.eyJ1c2VyX2lkIjo0NiwiZXhwIjoxNzU0NTk2NDc3LCJpYXQiOjE3NTQ1OTYyOTd9.T8UqTGnT0wHxo_XMwxF7X_g55JMdxx_gtQlvBrQ7ljE
Host: example.org
Cookie: 

Route

PUT /apis/v4/community_challenges/17

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.eyJ1c2VyX2lkIjo0NiwiZXhwIjoxNzU0NzY5MDk3LCJpYXQiOjE3NTQ1OTYyOTd9.EOE-B1gbcrR_oHJhLxDKyTBm-OE1jU1rjNJKQoY0-JY
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"d7bc717fd5a390782769df82919dab7e"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: fd2b5491-658b-4c46-a8a2-05eaf0f6c416
X-Runtime: 0.063691
Content-Length: 1761

Status

200

Body