music nerd

Interview response reviewRevise a saved response

Interview response review

Revise a saved response

The authenticated current claimant/admin edits an answered question. expectedRevision rejects stale overwrites. Exact question, sitting and offeredAt are immutable. Earlier wording is retained, current knowledge history reads the new answer, and the edit is audited. A byte-identical answer is a no-op. note describes the edit and is not artist evidence. Edits do not automatically publish a new bio. No blank/delete/skip conversion. The edit, version archive, activity attribution and Lore refresh queue entry commit atomically; a queue failure rolls the edit back. Older generated Lore may remain visible until the queued refresh completes. Request bodies are bounded to 20,000 bytes.

PATCH/api/artist/{id}/interview/responses/{answerId}
PATCH/api/artist/{id}/interview/responses/{answerId}

The authenticated current claimant/admin edits an answered question. expectedRevision rejects stale overwrites. Exact question, sitting and offeredAt are immutable. Earlier wording is retained, current knowledge history reads the new answer, and the edit is audited. A byte-identical answer is a no-op. note describes the edit and is not artist evidence. Edits do not automatically publish a new bio. No blank/delete/skip conversion. The edit, version archive, activity attribution and Lore refresh queue entry commit atomically; a queue failure rolls the edit back. Older generated Lore may remain visible until the queued refresh completes. Request bodies are bounded to 20,000 bytes.

Authorization

Authorizationstringrequired

Kept in this tab only.

Path

idstringrequired

Artist ID in the selected environment.

answerIdstringrequired

Body
cURL
curl --request PATCH \
  --url 'https://musicnerd-api.vercel.app/api/artist/{id}/interview/responses/{answerId}' \
  --header 'Content-Type: application/json' \
  --data '{
  "expectedRevision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "answer": "string"
}'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>.

Path Parameters

idstringrequired

Artist ID in the selected environment.

answerIdstringrequired

Body

application/jsonrequired
expectedRevisionstringrequired

pattern: ^[a-f0-9]{64}$

answerstringrequired

minLength: 1 · maxLength: 2000

notestring

maxLength: 400

Response

application/json

Authorized result; Cache-Control: private, no-store.

statusstring · enumrequired

Values: "ok"

responseobjectrequired
Properties for response
idstringrequired

format: uuid

questionKeystringrequired
questionstringrequired
answerstringrequired
sourcestringrequired
sittinginteger | nullrequired
offeredAtstring | nullrequired
answerUpdatedAtstring | nullrequired
revisionstringrequired

pattern: ^[a-f0-9]{64}$

isCurrentbooleanrequired