music nerd

Artist bioPin a bio version

Artist bio

Pin a bio version

Pins one saved bio: it becomes the artist's About and stays locked until unpinned. The About it replaces is kept in the history. Only the artist's approved claimant or an admin may pin it.

PUT/api/artistBio/{id}/pin
PUT/api/artistBio/aab92f80-f9e1-4299-aa33-7dd85c8de5d3/pin

Pins one saved bio: it becomes the artist's About and stays locked until unpinned. The About it replaces is kept in the history. Only the artist's approved claimant or an admin may pin 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 PUT \
  --url 'https://musicnerd-api.vercel.app/api/artistBio/aab92f80-f9e1-4299-aa33-7dd85c8de5d3/pin' \
  --header 'Content-Type: application/json' \
  --data '{
  "versionId": "5b7f3c1e-2d4a-4e8b-9c6f-1a2b3c4d5e6f"
}'

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
versionIdstringrequired

The saved bio to pin.

format: uuid

Response

application/json

Pinned.

statusstring · enumrequired

Values: "ok"