Get the current user
GET/v2/me
Get information about the current user (i.e. the user associated with the API key)
Request
Header Parameters
User-Agent stringrequired
Custom User-Agent for your application, see user-agent.dev for implementation examples. Alternatively you can also use the 'MineSkin-User-Agent' header.
Example: ExampleApp/v1.0
Authorization string
API key from account.mineskin.org
Example: Bearer da84de82e960d6c0510088279878c79365ad5118d350d619f20324a5494f156b
Responses
- 200
- 403
- 404
User Info
- application/json
- Schema
- Example (from schema)
Schema
user stringrequired
User UUID
Example:
ef4c52b01fea4715982d8e67fd93ef2d
grants objectrequired
Grants for this user
Example:
{"delay":3,"per_minute":20,"concurrency":1,"priority":0,"ad_free":true,"private_skins":true}
{
"user": "ef4c52b01fea4715982d8e67fd93ef2d",
"grants": {
"delay": 3,
"per_minute": 20,
"concurrency": 1,
"priority": 0,
"ad_free": true,
"private_skins": true
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
success booleanrequired
Example:
false
errors
object[]
code string
message string
warnings
object[]
code string
message string
messages
object[]
code string
message string
links
object
Links to related resources
self string
{
"success": false,
"errors": [
{
"code": "generic_error",
"message": "Something went wrong"
}
],
"warnings": [
{
"code": "string",
"message": "string"
}
],
"messages": [
{
"code": "string",
"message": "string"
}
],
"links": {
"self": "string"
}
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
success booleanrequired
Example:
false
errors
object[]
code string
message string
warnings
object[]
code string
message string
messages
object[]
code string
message string
links
object
Links to related resources
self string
{
"success": false,
"errors": [
{
"code": "generic_error",
"message": "Something went wrong"
}
],
"warnings": [
{
"code": "string",
"message": "string"
}
],
"messages": [
{
"code": "string",
"message": "string"
}
],
"links": {
"self": "string"
}
}
Loading...