music nerd

Activity and contributionsRecently edited artists

Activity and contributions

Recently edited artists

The last three distinct artists a user's approved submissions touched, each with an image. Pass userId for any user; without it the signed-in user's own are returned. With neither, or when the read fails, the list is empty.

GET/api/recentEdited
GET/api/recentEdited

The last three distinct artists a user's approved submissions touched, each with an image. Pass userId for any user; without it the signed-in user's own are returned. With neither, or when the read fails, the list is empty.

Authorization

Authorizationstringrequired

The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Kept in this tab only.

Query

userIdstring

The user whose edits to list. Omit for the signed-in user.

cURL
curl --request GET \
  --url 'https://musicnerd-api.vercel.app/api/recentEdited?userId=0f3c5e1a-9b7d-4c2e-8a6f-1d2e3f4a5b6c'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderoptional

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.

Query Parameters

userIdstring

The user whose edits to list. Omit for the signed-in user.

Response

application/json

Up to three artists, most recently edited first.

statusstring · enumrequired

Values: "ok"

entriesarray<RecentEditedArtist>required

Most recently edited first.

maxItems: 3

Item properties for entries
ugcIdstringrequired

The most recent approved submission for this artist.

format: uuid

artistIdstringrequired

format: uuid

updatedAtstring | nullrequired

When that submission was last updated.

artistNamestring | nullrequired
spotifyIdstring | nullrequired
deezerIdstring | nullrequired
customImagestring | nullrequired

The artist's own uploaded image URL, as stored.

imageUrlstring | nullrequired

The image to show: the upload, else Spotify's, else Deezer's 250 px picture, else null.