music nerd

Artist bioCorrect a claim in the Lore

Artist bio

Correct a claim in the Lore

Marks one claim in the artist's Lore as wrong, or replaces it with the artist's own wording, then queues the Lore to rebuild. The correction is kept beside the document and applied on every rebuild; correcting the same claim again replaces the earlier correction. Only the artist's approved claimant or an admin may correct it.

POST/api/artist/{id}/knowledge-doc/corrections
POST/api/artist/aab92f80-f9e1-4299-aa33-7dd85c8de5d3/knowledge-doc/corrections

Marks one claim in the artist's Lore as wrong, or replaces it with the artist's own wording, then queues the Lore to rebuild. The correction is kept beside the document and applied on every rebuild; correcting the same claim again replaces the earlier correction. Only the artist's approved claimant or an admin may correct it.

Authorization

Authorizationstringrequired

The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Each operation says who may call it: any signed-in user, or the artist's approved claimant or a Music Nerd admin. Kept in this tab only.

Path

idstringrequired

The artist's ID (a UUID).

Body
cURL
curl --request POST \
  --url 'https://musicnerd-api.vercel.app/api/artist/aab92f80-f9e1-4299-aa33-7dd85c8de5d3/knowledge-doc/corrections' \
  --header 'Content-Type: application/json' \
  --data '{
  "claim": "Bio Ritmo toured Japan in 2004.",
  "kind": "wrong"
}'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Each operation says who may call it: any signed-in user, or the artist's approved claimant or a Music Nerd admin.

Path Parameters

idstringrequired

The artist's ID (a UUID).

Body

application/jsonrequired
claimstringrequired

The claim as the document states it, without citation markers. Trimmed; the first 1,000 characters are kept.

kindstring · enumrequired

wrong: not true or not about this artist. fix: replace it with correction.

Values: "wrong", "fix"

correctionstring | null

The artist's wording. Required for fix, ignored for wrong. Trimmed; the first 2,000 characters are kept.

Response

application/json

Saved. The Lore rebuild is queued.

statusstring · enumrequired

Values: "ok"