music nerd

ResearchReview a discovery

Research

Review a discovery

Approves or declines one discovery. Approving adds it to the artist's Lore or profile links with attribution; declining stops it from coming back. A link that conflicts with an existing one returns 409.

POST/api/artist/{id}/research/discoveries/{candidateId}/review
POST/api/artist/{id}/research/discoveries/{candidateId}/review

Approves or declines one discovery. Approving adds it to the artist's Lore or profile links with attribution; declining stops it from coming back. A link that conflicts with an existing one returns 409.

Authorization

Authorizationstringrequired

Current artist claimant or administrator Privy access token. Kept in this tab only.

Path

idstringrequired

candidateIdstringrequired

Body
cURL
curl --request POST \
  --url 'https://musicnerd-api.vercel.app/api/artist/{id}/research/discoveries/{candidateId}/review' \
  --header 'Content-Type: application/json' \
  --data '{
  "revision": "string",
  "decision": "approve"
}'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. Current artist claimant or administrator Privy access token.

Path Parameters

idstringrequired
candidateIdstringrequired

Body

application/jsonrequired
revisionstringrequired

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

decisionstring · enumrequired

Values: "approve", "decline", "wrong_artist", "incorrect"

Response

application/json

Success

statusanyrequired
candidateobjectrequired
Properties for candidate
idstringrequired

format: uuid

urlstringrequired
destinationstring · enumrequired

Values: "lore", "link"

identitystring · enumrequired

Values: "confirmed", "unresolved", "wrong_artist"

curationstring · enumrequired

Values: "pending", "approved", "declined", "wrong_artist", "incorrect"

reasonstringrequired
revisionstringrequired
titlestring | null
evidenceIdstring

format: uuid