music nerd

AdminList a contributor's pending submissions

Admin

List a contributor's pending submissions

The user's own link suggestions and Lore sources (submitted or uploaded) that are still pending, oldest first, across every artist. Returns up to 200, and hasMore when there are more.

GET/api/admin/users/{id}/submissions
GET/api/admin/users/0b1e4c2a-7f3d-4a58-9c61-2d8e5f7a9b10/submissions

The user's own link suggestions and Lore sources (submitted or uploaded) that are still pending, oldest first, across every artist. Returns up to 200, and hasMore when there are more.

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

cURL
curl --request GET \
  --url 'https://musicnerd-api.vercel.app/api/admin/users/0b1e4c2a-7f3d-4a58-9c61-2d8e5f7a9b10/submissions'

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

Response

application/json

The pending submissions.

statusstring · enumrequired

Values: "ok"

itemsarray<PendingSubmission>required

maxItems: 200

Item properties for items
idstringrequired

format: uuid

typestring · enumrequired

A link suggestion, a Lore source, or an uploaded file.

Values: "link", "lore", "upload"

titlestring | nullrequired

The platform for a link, the source title otherwise.

urlstring | nullrequired
artistNamestring | nullrequired
hasMorebooleanrequired

true when more than 200 are pending; approve these, then list again.