Get a list of badges
GET/badge
Get a list of badges
Request
Query Parameters
projectId projectId
Project identifier
schemaType int64
Schema type identifier
Responses
- 200
- 404
- default
Badges successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
max_lvl int64
project projectId (string)
Unique identifier for Project
power
object[]
schema_type int64
value int64
id badgeId (string)
Unique identifier for Badge
[
{
"max_lvl": 0,
"project": "p2Duhf5N6",
"power": [
{
"schema_type": 0,
"value": 0
}
],
"id": "beajWS6zK"
}
]
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...