List reports - leerbedrijflisa/breakpoint-api GitHub Wiki
GET /reports/
Request
Query parameters
Field |
Description |
sort |
The name of the data field you want to sort by, default is ascending. |
order |
The order you want the items to display in, either 'asc' or 'desc'. Paired with sort. |
project |
The name of the project you want to filter by. |
status |
The status of projects you want to filter by. |
assignee |
The name of the user whose assigned projects you want to filter by. |
Example
GET /reports/?sort=project&order=asc
Response
Data fields
Field |
Description |
id |
A unique identifier for the bug report. |
title |
A title that succinctly describes the bug that was reported. |
project |
The name of the project that the bug report is part of. |
description |
A detailed explanation of the problem. |
assignee |
The name of the person the bug report is assigned to. |
priority |
The importance of the bug report. |
solvedCommit |
The name of the commit the bug report was solved in. |
reported |
The date and time (in UTC) the bug report was submitted. |
Example
HTTP/1.1 200 OK
Content-Type: application/json
[{
"title": "The app crashes when you don't do anything.",
"project": "Idle App",
"description": "When i am doing nothing, the app just crashes...",
"assignee": "Simon",
"priority": "fixWhenever"
}, {
"title": "The app doesn't do anything when it crashes.",
"project": "Crash App",
"description": "When the app crashes, the app doesn't do anything...",
"assignee": "Marvin",
"priority": "fixImmediately"
}]