curl --request GET \
--url http://localhost:8000/api/v1/bug-reports/ \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"title": "<string>",
"steps_to_reproduce": "<string>",
"expected_behavior": "<string>",
"actual_behavior": "<string>",
"send_to_team": "frontend",
"description": "<string>",
"screenshot": "<string>",
"user": {
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
}
]Get the list of all bug reports. Requires superuser privileges.
Args: _admin_user (User): The current superuser.
Returns: list[BugReportSchema]: The list of bug reports.
curl --request GET \
--url http://localhost:8000/api/v1/bug-reports/ \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"title": "<string>",
"steps_to_reproduce": "<string>",
"expected_behavior": "<string>",
"actual_behavior": "<string>",
"send_to_team": "frontend",
"description": "<string>",
"screenshot": "<string>",
"user": {
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"is_google_recaptcha_response_valid": true
}
}
]The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The teams for bug reports.
frontend, backend, ux_ui, devops, suggestion The schema for a user.
Show child attributes