Get your profile or another user's mini profile.
- userId: ID of the user to get. (optional - included in path)
None
- cookie: token=... (required if userId is not included in path)
{
"success": true,
"message": "User found",
"data": {
"id": "number",
"avatar": "string",
"name": "string",
"createdAt": "timestamp"
}
}Example:
| Code | Description |
|---|---|
| 200 | Success |
| 404 | Not Found. |
| 500 | Internal Server Error. |
None