Skip to content

Commit 26056d8

Browse files
committed
shout and artist browse
1 parent 8fc28c0 commit 26056d8

4 files changed

Lines changed: 23 additions & 7 deletions

File tree

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
{
2-
"total_count": 0,
3-
"md5": "40cd750bba9870f18aada2478b24840a",
2+
"total_count": 1,
3+
"md5": "0475a100f90a63c34041f8a533f9fefd",
44
"catalog_id": "1",
55
"parent_id": "19",
66
"parent_type": "artist",
77
"child_type": "album",
8-
"browse": []
8+
"browse": [
9+
{
10+
"id": "12",
11+
"name": "Buried in Nausea",
12+
"prefix": null,
13+
"basename": "Buried in Nausea"
14+
}
15+
]
916
}

docs/json-responses/last_shouts.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"id": "1",
55
"date": 1613973947,
66
"text": "Love this album",
7+
"object_type": "album",
8+
"object_id": 2,
79
"user": {
8-
"id": "4",
10+
"id": "2",
911
"username": "user"
1012
}
1113
}
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<root>
3-
<total_count>0</total_count>
4-
<md5>40cd750bba9870f18aada2478b24840a</md5>
3+
<total_count>1</total_count>
4+
<md5>0475a100f90a63c34041f8a533f9fefd</md5>
55
<catalog_id>1</catalog_id>
66
<parent_id>19</parent_id>
77
<parent_type>artist</parent_type>
88
<child_type>album</child_type>
9+
<browse id="12">
10+
<name><![CDATA[Buried in Nausea]]></name>
11+
<prefix><![CDATA[]]></prefix>
12+
<basename><![CDATA[Buried in Nausea]]></basename>
13+
</browse>
914
</root>

docs/xml-responses/last_shouts.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
<shout id="1">
44
<date>1613973947</date>
55
<text><![CDATA[Love this album]]></text>
6-
<user id="4">
6+
<object_type><![CDATA[album]]></object_type>
7+
<object_id><![CDATA[2]]></object_id>
8+
<user id="2">
79
<username><![CDATA[user]]></username>
810
</user>
911
</shout>

0 commit comments

Comments
 (0)