Content-Type
Content-Type
and data returned based on the Accept
headers.
If you are requesting information from an endpoint that may have text formatting in it, you can choose which kind of formatting you want to be returned by changing that section of the Accept header.
application/vnd.discogs.v2.html+json
-extra field: notes_html
;
{
"notes": "The song titles are the names of six of the Stockholm districts.\n\nTitle on labels: - Stockholm -\n\n[Labels:]\nRecorded at the Globe studio, Stockholm\n\nFax: +46 8 679 64 53",
"notes_html": "The song titles are the names of six of the Stockholm districts.<br><br>Title on labels: - Stockholm -<br><br>[Labels:]<br>Recorded at the Globe studio, Stockholm<br><br>Fax: +46 8 679 64 53"
}
application/vnd.discogs.v2.plaintext+json
- extra field:
notes_plaintext
;
{
"notes": "The song titles are the names of six of the Stockholm districts.\n\nTitle on labels: - Stockholm -\n\n[Labels:]\nRecorded at the Globe studio, Stockholm\n\nFax: +46 8 679 64 53",
"notes_plaintext": "The song titles are the names of six of the Stockholm districts.\n\nTitle on labels: - Stockholm -\n\n[Labels:]\nRecorded at the Globe studio, Stockholm\n\nFax: +46 8 679 64 53"
}
application/vnd.discogs.v2.discogs+json
- default option;
- no extra fields;
{
"notes": "The song titles are the names of six of the Stockholm districts.\n\nTitle on labels: - Stockholm -\n\n[Labels:]\nRecorded at the Globe studio, Stockholm\n\nFax: +46 8 679 64 53"
}