sharing_comment API (1.0.0)

Download OpenAPI specification:Download

sharing_comment API

GET comments/main

Authorizations:
NoneBearerAuth
query Parameters
belong_to
required
integer <int64>
page
required
integer <int64>
size
integer <int32>
Default: "10"

Responses

GET comments/reply

Authorizations:
NoneBearerAuth
query Parameters
belong_to
required
integer <int64>
reply_to
required
integer <int64>
page
required
integer <int64>
size
integer <int32>
Default: "10"

Responses

POST comments

Authorizations:
BearerAuth
Request Body schema: application/json
required
content
string
reply_to
integer <int64>
belong_to
integer <int64>

Responses

Request samples

Content type
application/json
{
  • "content": "string",
  • "reply_to": 0,
  • "belong_to": 0
}

DELETE comments/{id}

Authorizations:
BearerAuth
path Parameters
id
required
integer <int64>
Request Body schema: application/json
required
content
string
reply_to
integer <int64>
belong_to
integer <int64>

Responses

Request samples

Content type
application/json
{
  • "content": "string",
  • "reply_to": 0,
  • "belong_to": 0
}

POST comments/action/like/{id}

Authorizations:
BearerAuth
path Parameters
id
required
integer <int64>

Responses

DELETE comments/action/like/{id}

Authorizations:
BearerAuth
path Parameters
id
required
integer <int64>

Responses