ApiUsersIdentifierAll
User aggregate
Get aggregate information for user
AuthorizationBearer <token>
In: header
Path Parameters
identifierstring
Query Parameters
postsLimit?integer
Format
int32
repliesLimit?integer
Format
int32
Response Body
curl -X GET "https://www.open-isle.com/api/users/string/all?postsLimit=0&repliesLimit=0"
{
"user": {
"id": 0,
"username": "string",
"email": "string",
"avatar": "string",
"role": "string",
"introduction": "string",
"followers": 0,
"following": 0,
"createdAt": "2019-08-24T14:15:22Z",
"lastPostTime": "2019-08-24T14:15:22Z",
"lastCommentTime": "2019-08-24T14:15:22Z",
"totalViews": 0,
"visitedDays": 0,
"readPosts": 0,
"likesSent": 0,
"likesReceived": 0,
"subscribed": true,
"experience": 0,
"point": 0,
"currentLevel": 0,
"nextLevelExp": 0
},
"posts": [
{
"id": 0,
"title": "string",
"snippet": "string",
"createdAt": "2019-08-24T14:15:22Z",
"category": {
"id": 0,
"name": "string",
"description": "string",
"icon": "string",
"smallIcon": "string",
"count": 0
},
"tags": [
{
"id": 0,
"name": "string",
"description": "string",
"icon": "string",
"smallIcon": "string",
"createdAt": "2019-08-24T14:15:22Z",
"count": 0
}
],
"views": 0,
"commentCount": 0
}
],
"replies": [
{
"id": 0,
"content": "string",
"createdAt": "2019-08-24T14:15:22Z",
"post": {
"id": 0,
"title": "string",
"snippet": "string",
"createdAt": "2019-08-24T14:15:22Z",
"category": {
"id": 0,
"name": "string",
"description": "string",
"icon": "string",
"smallIcon": "string",
"count": 0
},
"tags": [
{
"id": 0,
"name": "string",
"description": "string",
"icon": "string",
"smallIcon": "string",
"createdAt": "2019-08-24T14:15:22Z",
"count": 0
}
],
"views": 0,
"commentCount": 0
},
"parentComment": {
"id": 0,
"author": "string",
"content": "string"
}
}
]
}