Here are the endpoints I think we'll need for item comments with the available query and parameter options. All instances of :comment can be assumed to mean comment ID, an autogenerated integer assigned when the comment is created.
@batpad @kepta @samanpwbb
Get all comments for an item
GET /project/:project/items/:item/comments
Create a comment
POST /project/:project/items/:item/comments
Payload parameters
Name
Type
Description
body
string
Required. The comment text.
coordinates
array
Optional. Longitude and latitude associated with the comment.
Get a comment
GET /project/:project/items/:item/comments/:comment
Update a comment
PUT /project/:project/items/:item/comments/:comment
Payload parameters
Name
Type
Description
body
string
Optional. The new comment text.
coordinates
array
Optional. The new longitude and latitude associated with the comment.
Here are the endpoints I think we'll need for item comments with the available query and parameter options. All instances of
:comment
can be assumed to mean comment ID, an autogenerated integer assigned when the comment is created.@batpad @kepta @samanpwbb
Get all comments for an item
Create a comment
Payload parameters
body
coordinates
Get a comment
Update a comment
Payload parameters
body
coordinates
Delete a comment