You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

68 lines
1.5 KiB

---
post:
description: Update a comment.
parameters:
- name: threadId
in: path
required: true
schema:
type: integer
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
title:
type: string
data:
type: string
responses:
'200':
description: comment update response
content:
application/json:
schema:
type: object
properties:
comment:
$ref: schemas-Comment.yaml
'403':
description: forbidden
content:
application/json:
schema:
$ref: schemas-Error.yaml
delete:
description: Remove a comment.
parameters:
- name: threadId
in: path
required: true
schema:
type: integer
responses:
'200':
description: comment remove response
content:
application/json:
schema:
type: object
properties:
threadId:
type: integer
status:
type: string
objectType:
type: string
objectId:
type: string
parsed:
type: string
'403':
description: forbidden
content:
application/json:
schema:
$ref: schemas-Error.yaml