music nerd

Artist claimsApprove a claim

Artist claims

Approve a claim

Approves a claim: the claimant now manages the artist and their page starts building. When some of that follow-up work can't start, the claim is still approved and warning says what to retry.

POST/api/admin/claims/{id}/approve
POST/api/admin/claims/3c0b6f9e-2d4a-4e8b-9f1c-5a7d2e6b8c41/approve

Approves a claim: the claimant now manages the artist and their page starts building. When some of that follow-up work can't start, the claim is still approved and warning says what to retry.

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 claim's ID (a UUID).

cURL
curl --request POST \
  --url 'https://musicnerd-api.vercel.app/api/admin/claims/3c0b6f9e-2d4a-4e8b-9f1c-5a7d2e6b8c41/approve'

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 claim's ID (a UUID).

Response

application/json

The claim is approved.

statusstring · enumrequired

Values: "ok"

warningstring

Present when follow-up work could not start; the approval stands.