music nerd

Activity and contributionsSubmitted links

Activity and contributions

Submitted links

The signed-in user's submitted links with the artist each one belongs to, ten per page, newest first, filterable by platform, approval status and artist name. all=true returns every entry in one page. Without a valid token the list is empty with total 0.

GET/api/userEntries
GET/api/userEntries

The signed-in user's submitted links with the artist each one belongs to, ten per page, newest first, filterable by platform, approval status and artist name. all=true returns every entry in one page. Without a valid token the list is empty with total 0.

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

pageinteger

The page, from 1. Anything that isn't a positive number means page 1. Ignored with all=true.

siteNamestring

Only links on this platform (a platforms value). all or omitted: every platform.

statusstring

approved or pending. Anything else: both.

querystring

Only links whose artist's name contains this text, case-insensitively. Trimmed and cut to 100 characters.

orderstring

oldest for oldest first. Anything else: newest first.

allstring

true returns every matching entry as a single page (pageCount 1).

cURL
curl --request GET \
  --url 'https://musicnerd-api.vercel.app/api/userEntries?page=1&siteName=all&status=approved&query=ritmo&order=newest'

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.

Query Parameters

pageinteger

The page, from 1. Anything that isn't a positive number means page 1. Ignored with all=true.

Default: 1

siteNamestring

Only links on this platform (a platforms value). all or omitted: every platform.

statusstring · enum

approved or pending. Anything else: both.

Values: "approved", "pending"

querystring

Only links whose artist's name contains this text, case-insensitively. Trimmed and cut to 100 characters.

orderstring · enum

oldest for oldest first. Anything else: newest first.

Values: "oldest", "newest"

allstring · enum

true returns every matching entry as a single page (pageCount 1).

Values: "true"

Response

application/json

One page of the user's links; when signed in, sent with Cache-Control: private, no-store.

statusstring · enumrequired

Values: "ok"

entriesarray<UserEntry>required
Item properties for entries
idstringrequired

format: uuid

createdAtstring | nullrequired
siteNamestring | nullrequired
ugcUrlstring | nullrequired
acceptedboolean | nullrequired

True once an admin approved it.

artistNamestring | nullrequired
artistIdstring | nullrequired

format: uuid

totalintegerrequired

How many entries match the filters.

pageCountintegerrequired

0 when signed out; 1 with all=true.

platformsarray<string>

Every platform the user has submitted to, for the filter menu. Absent when signed out.

Item properties for platforms

string