music nerd

AdminReview an About correction report

Admin

Review an About correction report

Marks a pending About correction report resolved or dismissed, recording who reviewed it and when. A report that was already reviewed is not changed. To fix the About itself, use Save the About for a report, which resolves the report as part of the save.

PATCH/api/admin/bio-corrections/{id}
PATCH/api/admin/bio-corrections/e7a5f235-4e66-40ba-9ff6-7276339fe34f

Marks a pending About correction report resolved or dismissed, recording who reviewed it and when. A report that was already reviewed is not changed. To fix the About itself, use Save the About for a report, which resolves the report as part of the save.

Authorization

Authorizationstringrequired

A Music Nerd admin's access token. Copy it at https://musicnerd.net/access after signing in. A signed-in user who is not an admin gets 403. Kept in this tab only.

Path

idstringrequired

The correction report's ID (a UUID).

Body
cURL
curl --request PATCH \
  --url 'https://musicnerd-api.vercel.app/api/admin/bio-corrections/e7a5f235-4e66-40ba-9ff6-7276339fe34f' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "dismissed"
}'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. A Music Nerd admin's access token. Copy it at https://musicnerd.net/access after signing in. A signed-in user who is not an admin gets 403.

Path Parameters

idstringrequired

The correction report's ID (a UUID).

Body

application/jsonrequired
statusstring · enumrequired

The review outcome.

Values: "resolved", "dismissed"

Response

application/json

The report is reviewed.

statusstring · enumrequired

Values: "ok"

successboolean · enumrequired

Values: true