Get a user
GET/v1/users/:username
Get a user
Request
Path Parameters
username stringrequired
The username
Responses
- 200
- 401
- 404
Returns a specific user
- application/json
- Schema
- Example (from schema)
Schema
permissions string[]required
username stringrequired
{
"permissions": [
"permissions",
"permissions"
],
"username": "username"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
User not found
Loading...