Songlist API

Version: 2.0.0

Export

Download

Download JSONDownload YAML

Copy URL

get/learn-list

Get the learn list

Authorization

Required scopes

  • streamer.learn-list.readRead the streamer learn list

Parameters

NameInTypeRequiredDescription
streamer_idquerystringNoIf not provided, 'streamer_name' and 'platform' are required
streamer_namequerystringNoRequired if streamer_id is not supplied
platform_idquerystringNoPlatform-specific channel ID. Requires 'platform'
platformquerystring
kicknonetwitchyoutube
NoRequired if streamer_name or platform_id is supplied
statusesquerystring[]No-
include_learnedquerybooleanNo-
limitqueryintegerNo-
pagequeryintegerNo-

Responses

200OK

application/json

Schema

LearnListResponseBody

$schemastring

A URL to the JSON Schema for this object.

itemsLearnListSong[]required

Array items:

LearnListSong

$schemastring

A URL to the JSON Schema for this object.

addedBySourcestringrequired
addedByUserIdintegerrequired
artiststringrequired
createdAtstringrequired
idstringrequired
learnedAtstringrequired
learnedSongIdintegerrequired
notestringrequired
statusstringrequired
streamerIdintegerrequired
titlestringrequired
updatedAtstringrequired
voteTotalintegerrequired
summaryLearnListSummary
approvedintegerrequired
learnedintegerrequired
pendingintegerrequired
rejectedintegerrequired
tokensPerVoteintegerrequired
viewerLearnListViewer
budgetintegerrequired
remainingintegerrequired
usedintegerrequired

Example

{
  "$schema": "https://example.com",
  "items": [
    {
      "$schema": "https://example.com",
      "addedBySource": "string",
      "addedByUserId": 0,
      "artist": "string",
      "createdAt": "2024-01-01T00:00:00Z",
      "id": "string",
      "learnedAt": "2024-01-01T00:00:00Z",
      "learnedSongId": 0,
      "note": "string",
      "status": "string",
      "streamerId": 0,
      "title": "string",
      "updatedAt": "2024-01-01T00:00:00Z",
      "voteTotal": 0
    }
  ],
  "summary": {
    "approved": 0,
    "learned": 0,
    "pending": 0,
    "rejected": 0
  },
  "tokensPerVote": 0,
  "viewer": {
    "budget": 0,
    "remaining": 0,
    "used": 0
  }
}
400Bad Request

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
403Forbidden

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
422Unprocessable Entity

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}
500Internal Server Error

application/problem+json

Schema

ErrorModel

$schemastring

A URL to the JSON Schema for this object.

detailstring

A human-readable explanation specific to this occurrence of the problem.

errorsErrorDetail[]

Optional list of individual error details

Array items:

ErrorDetail

locationstring

Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'

messagestring

Error message text

valueunknown

The value at the given location

instancestring

A URI reference that identifies the specific occurrence of the problem.

statusinteger

HTTP status code

titlestring

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

typestring

A URI reference to human-readable documentation for the error.

Example

{
  "$schema": "https://example.com",
  "detail": "string",
  "errors": [
    {
      "location": "string",
      "message": "string",
      "value": null
    }
  ],
  "instance": "https://example.com",
  "status": 0,
  "title": "string",
  "type": "about:blank"
}