Get user information by user ID
Retrieves information about a user.
Path Parameters
- username string required
User ID
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- admin boolean
- bio string
- comments_count integer
- confirmed boolean
- email string
- followers string[]
- followers_count integer
- following string[]
- following_count integer
- has_avatar boolean
- last_seen integer
- likes string[]
- likes_count integer
- location string
- member_since integer
- name string
- password string
- submissions_count integer
- type string
- url string
- username string
{
"admin": true,
"bio": "string",
"comments_count": 0,
"confirmed": true,
"email": "string",
"followers": [
"string"
],
"followers_count": 0,
"following": [
"string"
],
"following_count": 0,
"has_avatar": true,
"last_seen": 0,
"likes": [
"string"
],
"likes_count": 0,
"location": "string",
"member_since": 0,
"name": "string",
"password": "string",
"submissions_count": 0,
"type": "string",
"url": "string",
"username": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- details
- message string
- status integer
{
"details": {},
"message": "string",
"status": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- details
- message string
- status integer
{
"details": {},
"message": "string",
"status": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- details
- message string
- status integer
{
"details": {},
"message": "string",
"status": 0
}
Loading...