Download OpenAPI specification:
LE-KO Feed Comments
✨ Comments of specific Post.
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| page | integer (PageNumber) >= 0 Default: 0 Example: page=0 Page number |
| limit | integer (PageLimit) [ 1 .. 100 ] Default: 10 Example: limit=10 Page limit |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
Array of objects | |||||||||||||||||||||
Array
| |||||||||||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||||||||||
{- "data": [
- {
- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n",
- "likeCount": 0,
- "likedByUser": true,
- "edited": true,
- "createdAt": "2024-11-29T12:09:53+00:00",
- "updatedAt": "2024-11-29T12:09:53+00:00",
- "mentions": [
- {
- "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
- "mentionText": "string"
}
]
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Create new Post Comment.
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| commenterUserId required | string <uuid> (UserId) User ID | ||||
| text required | string <text> (CommentText) [ 1 .. 2000 ] characters Comment text | ||||
Array of objects (CommentMention) | |||||
Array
| |||||
| commentId required | string <uuid> (CommentId) Comment ID | ||||
| postId required | string <uuid> (PostId) Post ID | ||||
| commenterUserId required | string <uuid> (UserId) User ID | ||||
| text required | string <text> (CommentText) [ 1 .. 2000 ] characters Comment text | ||||
| likeCount required | integer | ||||
| likedByUser required | boolean | ||||
| edited required | boolean | ||||
| createdAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
| updatedAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
Array of objects (CommentMention) | |||||
Array
| |||||
{- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n",
- "mentions": [
- {
- "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
- "mentionText": "string"
}
]
}{- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n",
- "likeCount": 0,
- "likedByUser": true,
- "edited": true,
- "createdAt": "2024-11-29T12:09:53+00:00",
- "updatedAt": "2024-11-29T12:09:53+00:00",
- "mentions": [
- {
- "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
- "mentionText": "string"
}
]
}✨ Get Post Comment.
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| commentId required | string <uuid> (CommentId) Comment ID | ||||
| postId required | string <uuid> (PostId) Post ID | ||||
| commenterUserId required | string <uuid> (UserId) User ID | ||||
| text required | string <text> (CommentText) [ 1 .. 2000 ] characters Comment text | ||||
| likeCount required | integer | ||||
| likedByUser required | boolean | ||||
| edited required | boolean | ||||
| createdAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
| updatedAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
Array of objects (CommentMention) | |||||
Array
| |||||
{- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n",
- "likeCount": 0,
- "likedByUser": true,
- "edited": true,
- "createdAt": "2024-11-29T12:09:53+00:00",
- "updatedAt": "2024-11-29T12:09:53+00:00",
- "mentions": [
- {
- "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
- "mentionText": "string"
}
]
}✨ Update Post Comment
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| commenterUserId required | string <uuid> (UserId) User ID |
| text required | string <text> (CommentText) [ 1 .. 2000 ] characters Comment text |
| commentId required | string <uuid> (CommentId) Comment ID | ||||
| postId required | string <uuid> (PostId) Post ID | ||||
| commenterUserId required | string <uuid> (UserId) User ID | ||||
| text required | string <text> (CommentText) [ 1 .. 2000 ] characters Comment text | ||||
| likeCount required | integer | ||||
| likedByUser required | boolean | ||||
| edited required | boolean | ||||
| createdAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
| updatedAt required | string <date-time> (DateTime) Date and time in RFC-3339 | ||||
Array of objects (CommentMention) | |||||
Array
| |||||
{- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n"
}{- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commenterUserId": "00000000-0000-1000-9000-55f01dda9dd0",
- "text": "ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n",
- "likeCount": 0,
- "likedByUser": true,
- "edited": true,
- "createdAt": "2024-11-29T12:09:53+00:00",
- "updatedAt": "2024-11-29T12:09:53+00:00",
- "mentions": [
- {
- "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
- "mentionText": "string"
}
]
}✨ Delete Post Comment.
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| commentId | string <uuid> (CommentId) Comment ID |
{- "commentId": "00000000-0000-1000-9000-510d9bb07630"
}✨ Get Comment Likes
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| page | integer (PageNumber) >= 0 Default: 0 Example: page=0 Page number |
| limit | integer (PageLimit) [ 1 .. 100 ] Default: 10 Example: limit=10 Page limit |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
Array of objects | |||||||||||||
Array
| |||||||||||||
| count required | integer (Count) Page entries count | ||||||||||||
| currentPage | integer (CurrentPage) >= 0 Deprecated Default: 0 Current page | ||||||||||||
| page required | integer (PageNumber) >= 0 Default: 0 Page number | ||||||||||||
| pageSize | integer (PageSize) [ 1 .. 100 ] Deprecated Default: 10 Page size | ||||||||||||
| limit required | integer (PageLimit) [ 1 .. 100 ] Default: 10 Page limit | ||||||||||||
| total required | integer (TotalCount) >= 0 Default: 0 Total count | ||||||||||||
{- "data": [
- {
- "likeId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "likeUserId": "00000000-0000-1000-9000-510d9bb07630",
- "isLiked": true,
- "createdAt": "2024-11-29T12:09:53+00:00"
}
], - "count": 10,
- "currentPage": 0,
- "page": 0,
- "pageSize": 10,
- "limit": 10,
- "total": 1000
}✨ Comment like toggling
| userId required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| postId required | string <uuid> (PostId) Example: 00000000-0000-1000-9000-510d9bb07630 Post ID |
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| likeId | string <uuid> (LikeId) Like ID |
| postId required | string <uuid> (PostId) Post ID |
| commentId | string <uuid> (CommentId) Comment ID |
| likeUserId required | string <uuid> (LikeUserId) Like User ID |
| isLiked required | boolean |
| createdAt | string <date-time> (DateTime) Date and time in RFC-3339 |
{- "likeId": "00000000-0000-1000-9000-510d9bb07630",
- "postId": "00000000-0000-1000-9000-510d9bb07630",
- "commentId": "00000000-0000-1000-9000-510d9bb07630",
- "likeUserId": "00000000-0000-1000-9000-510d9bb07630",
- "isLiked": true,
- "createdAt": "2024-11-29T12:09:53+00:00"
}✨ Submit a report for inappropriate or problematic comment content
| commentId required | string <uuid> (CommentId) Example: 00000000-0000-1000-9000-510d9bb07630 Comment ID |
| x-current-user-id required | string <uuid> (UserId) Example: 00000000-0000-1000-9000-55f01dda9dd0 User ID |
| traceparent | string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-... Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01 W3C Trace Context traceparent header for request tracing |
| description | string or null <= 1000 characters Optional text description explaining why this content is being reported |
{- "description": "string"
}{- "errors": [
- {
- "code": "validation",
- "message": "string",
- "endpoint": "string",
- "requestId": "string"
}
]
}