User credentials
email required | string |
password required | string |
{- "email": "string",
- "password": "string"
}
{- "account": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "token": "string"
}
User information for registration
email required | string |
password required | string |
name required | string |
{- "email": "string",
- "password": "string",
- "name": "string"
}
{- "account": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "token": "string"
}
user_id required | string <int64> ID of the user to retrieve |
Authorization required | string Bearer token for authentication |
{- "user": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}
}
ids | Array of strings <int64> [ items <int64 > ] IDs of the users to retrieve |
Authorization | string Bearer token for authentication |
{- "users": [
- {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}
]
}
Authorization required | string Bearer token for authentication |
name | string |
bio | string |
avatar_url | string |
bg_url | string |
{- "name": "string",
- "bio": "string",
- "avatar_url": "string",
- "bg_url": "string"
}
{- "profile": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}
}
user_id required | string <int64> ID of the user to retrieve |
page | string <int64> page number |
limit | integer <int32> limit number |
Authorization | string Bearer token for authentication |
{- "users": [
- {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}
], - "all_count": 0,
- "next_page": "string"
}
user_id required | string <int64> ID of the user to retrieve |
page | string <int64> page number |
limit | integer <int32> limit number |
Authorization | string Bearer token for authentication |
{- "users": [
- {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}
], - "all_count": 0,
- "next_page": "string"
}
Authorization required | string Bearer token for authentication |
User ID and action to perform
user_id required | string <int64> |
action required | integer <int32> |
{- "user_id": "string",
- "action": 0
}
{ }
userId required | integer <int64> |
page | integer <int64> |
size | integer <int32> |
{- "all_count": 0,
- "next_page": 0,
- "items": [
- {
- "id": 0,
- "author": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "title": "string",
- "des": "string",
- "cover_url": "string",
- "video_url": "string",
- "duration": 0,
- "view_count": 0,
- "like_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "processed": 0,
- "is_liked": true
}
]
}
userId required | integer <int64> |
page | integer <int64> |
size | integer <int32> |
{- "all_count": 0,
- "next_page": 0,
- "items": [
- {
- "id": 0,
- "author": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "title": "string",
- "des": "string",
- "cover_url": "string",
- "video_url": "string",
- "duration": 0,
- "view_count": 0,
- "like_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "processed": 0,
- "is_liked": true
}
]
}
page | integer <int64> |
size | integer <int32> |
{- "all_count": 0,
- "next_page": 0,
- "items": [
- {
- "id": 0,
- "author": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "title": "string",
- "des": "string",
- "cover_url": "string",
- "video_url": "string",
- "duration": 0,
- "view_count": 0,
- "like_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "processed": 0,
- "is_liked": true
}
]
}
title | string or null |
des | string or null |
cover_url | string or null |
video_url | string or null |
{- "title": "string",
- "des": "string",
- "cover_url": "string",
- "video_url": "string"
}
page | integer <int64> |
size | integer <int32> |
{- "all_count": 0,
- "next_page": 0,
- "items": [
- {
- "id": 0,
- "author": {
- "id": 0,
- "name": "string",
- "is_follow": true,
- "avatar_url": "string",
- "bg_url": "string",
- "bio": "string",
- "likes_given": 0,
- "likes_received": 0,
- "videos_posted": 0,
- "following": 0,
- "followers": 0
}, - "title": "string",
- "des": "string",
- "cover_url": "string",
- "video_url": "string",
- "duration": 0,
- "view_count": 0,
- "like_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "processed": 0,
- "is_liked": true
}
]
}
receiverId required | integer <int64> |
page | integer <int64> |
size | integer <int32> |
unreadOnly required | boolean |
{- "all_count": 0,
- "next_page": 0,
- "items": [
- {
- "id": 0,
- "sender_id": 0,
- "receiver_id": 0,
- "content": "string",
- "type": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
receiver_id | integer <int64> |
content | string or null |
type | integer <int32> |
{- "receiver_id": 0,
- "content": "string",
- "type": 0
}
{- "id": 0,
- "sender_id": 0,
- "receiver_id": 0,
- "content": "string",
- "type": 0,
- "read": true,
- "created_at": "2019-08-24T14:15:22Z"
}