Bases Bot Integration

Atomically record or change a trusted Bot base vote

Changed on
put/v2/bases/{baseId}/votes/{voterId}

Request

  • Base URL: https://api.clashk.ing
  • URL: https://api.clashk.ing/v2/bases/{baseId}/votes/{voterId}
  • Auth: HTTP bearer

Path parameters

baseIdstring required
voterIdstring required

Discord snowflake as an unsigned decimal string

Request body

direction'up' | 'down' required

Response

Success

baseIdstring required
voterIdstring required

Discord snowflake as an unsigned decimal string

direction'up' | 'down' required

Changes

    • breaking

      added the pattern ^[1-9][0-9]*$ to the path request parameter baseId

    • info

      the response's property pattern ^[1-9][0-9]*$ was added for the status