Ganjoor

user suggested songs (Auth)

Changed on
get/api/ganjoor/song/mysuggestions

Request

  • Base URL
    https://api.ganjoor.net (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Query parameters

PageNumberinteger

page number starting from 1

PageSizeinteger

settable page size (-1 == all items, 1000 maxpagesize)

Response

OK

idinteger

id

poemIdinteger

poem id

trackType0 | 1 | 2 | 3 | 4 | -1

poem music track type

artistNamestring nullable

artist name

artistUrlstring nullable

artist url

albumNamestring nullable

album name

albumUrlstring nullable

album url

trackNamestring nullable

track name

trackUrlstring nullable

track url

descriptionstring nullable

description

brokenLinkboolean

broken link

golhaTrackIdinteger

golha id

approvedboolean

approved

rejectedboolean

instead of deleting rejected songs keep track of them

rejectionCausestring nullable

rejection cause

suggestedByIdstring uuid nullable

Suggested by user id (only filled for review)

suggestedByNickNamestring nullable

Suggested by user name (only filled for review)

Changes

    • warning

      added the new 4.00 enum value to the / response property for the response status