latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Comments

Create comment

Create a new comment for a specific target object. The plain text extracted from content_structured must not exceed 1000 characters.

post/comments/{target_app}/{target_model}

Path parameters

target_app'taskflow' required

The app label of the target object

target_model'task' required

The model name of the target object

Headers

X-Company-IDstring required

Associates request with company

Request body

idinteger required
{"stackTrail":"components:schemas:Comment:properties:content_structured","oasType":"schema","type":"unknown"}
created_by_idinteger required
created_atstring date-time required
deleted_atstring date-time nullable required
deleted_by_idinteger nullable required
modified_atstring date-time nullable required
target_idstring required

Response

Comment created successfully

idinteger required
{"stackTrail":"components:schemas:Comment:properties:content_structured","oasType":"schema","type":"unknown"}
created_by_idinteger required
created_atstring date-time required
deleted_atstring date-time nullable required
deleted_by_idinteger nullable required
modified_atstring date-time nullable required
target_idstring required