Ganjoor

review song (Auth policies: ganjoor:songrevu)

put/api/ganjoor/song

Request body

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)

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

Changed in 1 of the 15 revisions of this API.13

  • 44909f3a9ae113See the full diff
    • ●

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

      response-property-enum-value-added

    • ○

      added the new 4.00 enum value to the request property (media type: application/json)

      request-property-enum-value-added

    • ○

      added the new 4.00 enum value to the request property (media type: text/json)

      request-property-enum-value-added

    • ○

      added the new 4.00 enum value to the request property (media type: application/*+json)

      request-property-enum-value-added