-
Notifications
You must be signed in to change notification settings - Fork 1
Comment
Finn Lippok edited this page Jul 1, 2023
·
4 revisions
Authorization Bearer {JWT-Token}
Endpoint: POST /api/v1/comment
{
"content": "String",
"post_id": "UUID"
}{
"id": "UUID",
"content": "String",
"user_id": "UUID",
"user_name": "String",
"date": "Datetime",
}Endpoint: GET /api/v1/comment/ {post_id}/{page}
{
"id": "UUID",
"content": "String",
"user_id": "UUID",
"user_name": "String",
"date": "Datetime",
}Endpoint: DELETE /api/v1/comment/ {comment_id}
{
"id": "UUID",
"content": "String",
"user_id": "UUID",
"user_name": "String",
"date": "Datetime",
}Endpoint: PUT /api/v1/comment/ {comment_id}
{
"content": "String",
"post_id": "UUID"
}{
"id": "UUID",
"content": "String",
"user_id": "UUID",
"user_name": "String",
"date": "Datetime",
}Endpoint: GET /api/v1/comment/ {comment_id}
{
"id": "UUID",
"content": "String",
"user_id": "UUID",
"user_name": "String",
"date": "Datetime",
}