User credentials
| email required | string |
| password required | string |
{- "email": "string",
- "password": "string"
}{- "account": {
- "id": "string",
- "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": "string",
- "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": "string",
- "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": "string",
- "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": "string",
- "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": "string",
- "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": "string",
- "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
}{ }| Authorization required | string Bearer token for authentication |
Comment information
| video_id required | string <int64> >= 0 |
| action required | integer <int32> >= 0 |
| comment_text | string |
| comment_id | string <int64> >= 0 |
{- "video_id": "string",
- "action": 0,
- "comment_text": "string",
- "comment_id": "string"
}{- "comment": {
- "id": "string",
- "content": "string",
- "create_at": "string",
- "user": {
- "id": "string",
- "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 | string Bearer token for authentication |
Comment information
| video_id required | string <int64> >= 0 |
| page | string <int64> >= 0 |
| limit | integer <int32> >= 0 |
{- "video_id": "string",
- "page": "string",
- "limit": 0
}{- "comment_list": [
- {
- "id": "string",
- "content": "string",
- "create_at": "string",
- "user": {
- "id": "string",
- "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
}
}
]
}| video_id required | string <int64> ID of the video to retrieve |
| Authorization | string Bearer token for authentication |
{- "video": {
- "id": "string",
- "author": {
- "id": "string",
- "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",
- "description": "string",
- "cover_url": "string",
- "video_url": "string",
- "is_liked": true,
- "upload_time": "string",
- "duration": 0
}
}| Authorization | string Bearer token for authentication |
User ID and action to perform
| user_id required | string <int64> >= 0 |
| limit | integer <int32> >= 0 |
| page | string <int64> >= 0 |
{- "user_id": "string",
- "limit": 0,
- "page": "string"
}{- "videos": [
- {
- "id": "string",
- "author": {
- "id": "string",
- "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",
- "description": "string",
- "cover_url": "string",
- "video_url": "string",
- "is_liked": true,
- "upload_time": "string",
- "duration": 0
}
]
}| Authorization | string Bearer token for authentication |
User ID and action to perform
| user_id required | string <int64> >= 0 |
| limit | integer <int32> >= 0 |
| page | string <int64> >= 0 |
{- "user_id": "string",
- "limit": 0,
- "page": "string"
}{- "videos": [
- {
- "id": "string",
- "author": {
- "id": "string",
- "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",
- "description": "string",
- "cover_url": "string",
- "video_url": "string",
- "is_liked": true,
- "upload_time": "string",
- "duration": 0
}
]
}| Authorization required | string Bearer token for authentication |
Video ID and action to perform
| video_id required | string <int64> |
| action required | integer <int32> |
{- "video_id": "string",
- "action": 0
}{ }| Authorization | string Bearer token for authentication |
User ID and action to perform
| limit | integer <int32> >= 0 |
| page | string <int64> >= 0 |
{- "limit": 0,
- "page": "string"
}{- "videos": [
- {
- "id": "string",
- "author": {
- "id": "string",
- "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",
- "description": "string",
- "cover_url": "string",
- "video_url": "string",
- "is_liked": true,
- "upload_time": "string",
- "duration": 0
}
]
}| Authorization required | string Bearer token for authentication |
| title | string |
| description | string |
| category | string |
| video_url | string |
| cover_url | string |
| tags | Array of strings |
{- "title": "string",
- "description": "string",
- "category": "string",
- "video_url": "string",
- "cover_url": "string",
- "tags": [
- "string"
]
}{ }| Authorization required | string Bearer token for authentication |
Message information
| to_user_id required | string <int64> >= 0 |
| content required | string |
| action_type required | integer <int32> |
{- "to_user_id": "string",
- "content": "string",
- "action_type": 0
}{ }| Authorization required | string Bearer token for authentication |
Message information
| to_user_id | string <int64> >= 0 |
| page | string <int64> >= 0 |
{- "to_user_id": "string",
- "page": "string"
}{- "message_list": [
- {
- "id": "string",
- "to_user_id": "string",
- "from_user_id": "string",
- "content": "string",
- "create_time": "string"
}
]
}