Get badge list for given account
GET/badge/getForAccount/:accountId
Get badge list for given account
Request
Path Parameters
accountId accountIdrequired
The accountId to get the badges for
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 [
]
]
id badgeId (string)
Unique identifier for Badge
power
object[]
schema_type int64
value int64
project projectId (string)
Unique identifier for Project
max_lvl int64
[
{
"id": "beajWS6zK",
"power": [
{
"schema_type": 0,
"value": 0
}
],
"project": "p2Duhf5N6",
"max_lvl": 0
}
]
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...