PUT achievement/{key}

Related

Update achievement info.

Example

PUT /api/v1/achievement/test-01 HTTP/1.1
Authorization: Bearer ...
Content-Type: application/json

{
  "name": "Test 01",
  "description": "This is a test achievement!",
  "visibilityStart": null,
  "visibilityStop": null
}
----------------------------------------
HTTP/1.1 204 No Content

Security

Authentication is required and access is limited to admins.

URL Parameters

NameDescriptionValue
keythe unique identifier of the achievement to updatestring

Query Parameters

NONE

Request Body

NameDescriptionValue
namethe name of the achievementstring
descriptionthe description of the achievementstring
visibilityStartif not null, the time after which this achievement should be generally visible; as a Unix timestampnumber or null
visibilityStopif not null, the time after whcih this achievement should be no longer visible; as a Unix timestampnumber or null

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE