Retrieve gamification settings

GET/settings/gamification

Returns the gamification settings of the account: ranking visibility, the scoring rule for comments, and the triggers that award points.

Requires the gamification.read permission; settings.read does not grant access to this group.

The response includes an ETag representing the current revision of these settings; changes to other settings groups do not affect it. Send this value in the If-Match header when updating these settings to avoid overwriting a newer version.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Header Parameters

X-Client-Request-Id?string

Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.

Lengthlength <= 64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/settings/gamification"
{  "data": {    "comment_scoring": "once",    "defaults": {},    "enabled": true,    "object": "settings",    "replica": {},    "revision": "string",    "show_full_name": true,    "show_to_students": true,    "triggers": {      "property1": {        "enabled": true,        "points": 1      },      "property2": {        "enabled": true,        "points": 1      }    }  }}