Skip to content

Commit

Permalink
shout and artist browse
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Jul 22, 2024
1 parent 8fc28c0 commit 26056d8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
13 changes: 10 additions & 3 deletions docs/json-responses/browse (artist).json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"total_count": 0,
"md5": "40cd750bba9870f18aada2478b24840a",
"total_count": 1,
"md5": "0475a100f90a63c34041f8a533f9fefd",
"catalog_id": "1",
"parent_id": "19",
"parent_type": "artist",
"child_type": "album",
"browse": []
"browse": [
{
"id": "12",
"name": "Buried in Nausea",
"prefix": null,
"basename": "Buried in Nausea"
}
]
}
4 changes: 3 additions & 1 deletion docs/json-responses/last_shouts.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"id": "1",
"date": 1613973947,
"text": "Love this album",
"object_type": "album",
"object_id": 2,
"user": {
"id": "4",
"id": "2",
"username": "user"
}
}
Expand Down
9 changes: 7 additions & 2 deletions docs/xml-responses/browse (artist).xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<total_count>0</total_count>
<md5>40cd750bba9870f18aada2478b24840a</md5>
<total_count>1</total_count>
<md5>0475a100f90a63c34041f8a533f9fefd</md5>
<catalog_id>1</catalog_id>
<parent_id>19</parent_id>
<parent_type>artist</parent_type>
<child_type>album</child_type>
<browse id="12">
<name><![CDATA[Buried in Nausea]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[Buried in Nausea]]></basename>
</browse>
</root>
4 changes: 3 additions & 1 deletion docs/xml-responses/last_shouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<shout id="1">
<date>1613973947</date>
<text><![CDATA[Love this album]]></text>
<user id="4">
<object_type><![CDATA[album]]></object_type>
<object_id><![CDATA[2]]></object_id>
<user id="2">
<username><![CDATA[user]]></username>
</user>
</shout>
Expand Down

0 comments on commit 26056d8

Please sign in to comment.