/comments
These methods allow you to create, edit, delete and get info on comments.
Create a comment
POST
https://pm415.com/api/comments/new/:ownertable/:orgid/:owmerid
Creates the new comment.
Path Parameters
:ownertable
string
"Bugs" or "Initiatives" or "Items"
:ownerid
number
The ID of the bug or initiative or item
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Get list of comments
GET
https://pm415.com/api/comments/get/:ownertable/:orgid/:ownerid
Gets the list of comments.
Path Parameters
:ownerid
number
The ID of the bug or initiative or item
:orgid
number
The ID of the org
:ownertable
string
"Bugs" or "Initiatives" or "Items"
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Update current comment
PUT
https://pm415.com/api/comments/edit/:commentid
Updates the current comment.
Path Parameters
:commentid
number
The ID of the comment you want to update
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Delete a comment
DELETE
https://pm415.com/api/comments/delete/:orgid/:commentid
Delets the chosen comment.
Path Parameters
:commentid
number
The ID of the comment you want to delete
:orgid
number
The ID of the org
Headers
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
Last updated
Was this helpful?