Extension | Method | Description | Include |
/api/issues | GET | Return array of issues | (optional) Add parameters to the URL string to filter results. |
/api/issues | POST | Add a new issue | Include a body with parameters |
/api/issues/{id} | PUT | Edit an existing issue | A body with updated parameters |
/api/issues/{id} | DELETE | Delete an issue | None |
Please Note: If sending from a HTML doc, usea POST with method override ?_method=DELETE
in the URL where DELETE is prefered method.
Parameter | Type | Description | Required? |
issue_title | String | A title for the issue | Yes |
issue_text | String | A description of the issue | Yes |
created_by | String | Your display name | Yes |
assigned_to | String | A username of the person assigned to the issue | No |
status_text | String | A short description of progress made / current status | No |
open | Boolean | True for open issue, False for closed issue | No |
"issues": [
{
"name": "Placeholder for mongoose",
"open": true,
"_id": "5b5c949e860eaa3d8c3c1878",
"issue_title": "Kikat mug coffee",
"issue_text": "It lacks the coffee, fill it up (other mugs are available)",
"created_by": "Oddert",
"created_on": "Sat Jul 28 2018 17:06:54 GMT+0100 (GMT Summer Time)",
"updated_on": "Sat Jul 28 2018 17:06:54 GMT+0100 (GMT Summer Time)",
"assigned_to": "Elliot",
"status_text": "Stil got squat",
"__v": 0
}
]