🏆 Achievements

Create Achievement

post/api/v1/servers/{server_id}/achievements

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/achievements
  • Auth: HTTP bearer

Path parameters

server_idstring required

Request body

namestring required
metricstring required
thresholdinteger required
descriptionstring nullable
categorystring nullable
raritystring
pointsinteger nullable
icon_emojistring nullable
icon_typestring
colorstring nullable
badge_framestring nullable
is_secretboolean
comparatorstring
reward_coinsinteger
reward_xpinteger
reward_role_idsstring[]
reward_remove_role_idsstring[]
reward_titlestring nullable
announceboolean
repeatableboolean
prerequisite_idsinteger[]

Response

Successful Response

successboolean required
dataobject
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.