Rewards

Create a reward

POST /v1/games/:game_id/rewards

Path Parameters

Name
Type
Description

game_id*

string

Request Body

Name
Type
Description

custom_id*

string

name*

string

description

string

custom_data

json

Retrieve a reward

GET /v1/games/:game_id/rewards/:id

Path Parameters

Name
Type
Description

game_id*

string

id

string

Update a reward

PUT /v1/games/:game_id/rewards/:id

Path Parameters

Name
Type
Description

game_id*

string

id*

string

Request Body

Name
Type
Description

custom_id

string

name

string

description

string

custom_data

json

Delete a reward

DELETE /v1/games/:game_id/rewards/:id

Path Parameters

Name
Type
Description

game_id*

string

id

string

List all rewards

GET /v1/games/:game_id/rewards

Path Parameters

Name
Type
Description

game_id

string

Last updated