music nerd

Artist linksSuggest an artist link

Artist links

Suggest an artist link

Suggests a platform link for an artist, for any signed-in user. An admin's or whitelisted user's link is written to the profile at once; anyone else's waits for review, and an Apple Music or Beatport artist page waits for review in Lore. Returns whether the link was approved and the platform it was read as.

POST/api/artist/{id}/links
POST/api/artist/6cb3d81a-3d02-4c57-a711-bb7902a9af1b/links

Suggests a platform link for an artist, for any signed-in user. An admin's or whitelisted user's link is written to the profile at once; anyone else's waits for review, and an Apple Music or Beatport artist page waits for review in Lore. Returns whether the link was approved and the platform it was read as.

Authorization

Authorizationstringrequired

The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Link writes need the artist's approved claimant or a Music Nerd admin; removeArtistData accepts any whitelisted user too; suggesting a link accepts any signed-in user. 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/6cb3d81a-3d02-4c57-a711-bb7902a9af1b/links' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "https://www.instagram.com/p3t3rango/"
}'

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. Link writes need the artist's approved claimant or a Music Nerd admin; removeArtistData accepts any whitelisted user too; suggesting a link accepts any signed-in user.

Path Parameters

idstringrequired

The artist's id (a UUID).

Body

application/jsonrequired
urlstringrequired

The artist's profile URL on the platform.

minLength: 1

Response

application/json

Saved. approved is true when the link is already on the profile.

statusstring · enumrequired

Values: "ok"

approvedbooleanrequired
siteNamestringrequired

The platform column, or applemusic / beatport for a Lore source.

platformNamestring | nullrequired

The platform's display name.

messagestringrequired

A sentence to show the user.