Last updated
Last updated
GET
http://pm415.com/api/subscribers/all/:ownertable/:ownerid
POST
https://pm415.com/api/subscribers/new/:ownertable/:ownerid
Creates the new suscriber.
GET
https://pm415.com/api/subscribers/:ownertable/:ownerid
Gets the list of subscribers.
GET
https://pm415.com/api/subscribers/:ownertable/:ownerid/:subowner/:subownerid
Gets the list of subscribers on the selected comments.
POST
https://pm415.com/api/subscribers/delete/:ownertable/:ownerid
Deletes the current subscriber. example full body: {"usersId": ["1"], "subowner": "comments", "subownerId": "72"} example body without subowner: {"usersId": ["1"]}
:ownerid
number
The ID of the bug or initiative or item
:ownertable
string
"Bugs" or "Initiatives" or "Items"
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
object
{"subowner": "comments", "subownerId": "72", "usersId": ["1","2"]} to clear all subscribers function leave the "userid" empty
object
{"usersId": ["1","2"]}
:ownerid
number
The ID of the bug or initiative or item
:ownertable
string
"Bugs" or "Initiatives" or "Items"
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:subownerid
number
The ID of the comment
:subowner
string
"Comments" or another tablename
:ownerid
number
The ID of the bug or initiative or item
:ownertable
string
"Bugs" or "Initiatives" or "Items"
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
:ownerid
number
The ID of the bug or initiative or item
:ownertable
string
"Bugs" or "Initiatives" or "Items"
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
usersid
array
["1"] (array of users id, that will deleted)
subownerId
string
"72" (id of comment - subowner, example)
subowner
string
"comments" (example of table subowner)
ownerid
string
owner id (id - item or initative or bug)
ownertable
string
Owner subscribers (item, initiative, bug)
Authentication
string
Authorization: Bearer 50ca9ba0f7b1444fa55d5
These methods aloow you to create, delete and get info on subscribers.