Skip to main content
PUT
/
api
/
v1
/
bug-reports
/
{bug_report_id}
Update Bug Report
curl --request PUT \
  --url http://localhost:8000/api/v1/bug-reports/{bug_report_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "steps_to_reproduce": "<string>",
  "expected_behavior": "<string>",
  "actual_behavior": "<string>",
  "send_to_team": "frontend",
  "description": "<string>",
  "screenshot": "<string>"
}
'
{
  "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
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

bug_report_id
integer
required

Body

application/json

The schema for updating a bug report.

title
string | null
steps_to_reproduce
string | null
expected_behavior
string | null
actual_behavior
string | null
send_to_team
enum<string> | null

The teams for bug reports.

Available options:
frontend,
backend,
ux_ui,
devops,
suggestion
description
string | null
screenshot
string | null

Response

Successful Response

The schema for a bug report.

id
integer
required
date_added
string<date-time>
required
date_updated
string<date-time>
required
title
string | null
steps_to_reproduce
string | null
expected_behavior
string | null
actual_behavior
string | null
send_to_team
enum<string> | null

The teams for bug reports.

Available options:
frontend,
backend,
ux_ui,
devops,
suggestion
description
string | null
screenshot
string | null
user
UserSchema · object

The schema for a user.