/bugs

These methods allow you to create, edit, delete and get info on bugs.

Create new bug

POST https://pm415.com/api/bugs/new/:orgid

Creates a new bug.

Path Parameters

Name
Type
Description

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"title": "Api created", "description": "api created Description", "statusId":"14", "createdBy": "1"}

{
"success": true,
"bugs":{
"title": "Api created",
"description": "api created Description",
"statusId": "14",
"createdBy": "1",
"organizationId": 1,
"mailers": "!nosuchip@gmail.com!",
"updated_at": "2019-04-27T09:38:47.554Z",
"created_at": "2019-04-27T09:38:47.554Z",
"id": 37
}
}

Get bug list

GET https://pm415.com/api/bugs/full/:showarchived/:orgid/:fullselect

Gets the list of bugs

Path Parameters

Name
Type
Description

:fullselect

boolean

True or false

:orgid

number

The ID of the org

:showarchived

boolean

True or false

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Get info on current bug

GET https://pm415.com/api/bugs/:orgid/:bugid

Gets the information on the current bug.

Path Parameters

Name
Type
Description

:bugid

number

The ID of the bug you want to work with

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Get list of selected bugs

POST https://pm415.com/api/bugs/:orgid

Gets the list of selected bugs.

Path Parameters

Name
Type
Description

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"bugId": ["5"], "fullSelect": true}

Update current bug

PUT https://pm415.com/api/bugs/edit/:orgid/:bugid

Updates the current bug.

Path Parameters

Name
Type
Description

:bugid

number

The ID of the bug you want to update

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"title": "aasdsadasdasdasdasd3", "statusId": "16"}

Delete bug

DELETE https://pm415.com/api/bugs/:ogrid/:bugid

Deletes the bug.

Path Parameters

Name
Type
Description

:bugid

number

The ID of the bug you want to delete

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Last updated

Was this helpful?