Skip to content

Commit

Permalink
browse not set
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Mar 22, 2023
1 parent 9b3d40a commit 4f2be07
Show file tree
Hide file tree
Showing 10 changed files with 127 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/json-responses/browse (album).json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
"basename": "Are we going Crazy"
}
]
}
}
2 changes: 1 addition & 1 deletion docs/json-responses/browse (artist).json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"basename": "Buried in Nausea"
}
]
}
}
2 changes: 1 addition & 1 deletion docs/json-responses/browse (music catalog).json
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,4 @@
"basename": "Tip-C"
}
]
}
}
30 changes: 12 additions & 18 deletions docs/json-responses/browse (podcast catalog).json
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
{
"total_count": 3,
"catalog_id": "3",
"parent_id": "2",
"parent_type": "podcast",
"child_type": "podcast_episode",
"total_count": 2,
"catalog_id": "",
"parent_id": "3",
"parent_type": "catalog",
"child_type": "podcast",
"browse": [
{
"id": "22",
"name": "What Do an Army of Ants and an Online Encyclopedia Have in Common?",
"id": "1",
"name": "60-Second Science",
"prefix": null,
"basename": "What Do an Army of Ants and an Online Encyclopedia Have in Common?"
"basename": "60-Second Science"
},
{
"id": "23",
"name": "I Laughed So Hard I Cried",
"id": "2",
"name": "Plays Well with Others",
"prefix": null,
"basename": "I Laughed So Hard I Cried"
},
{
"id": "24",
"name": "Coming Soon",
"prefix": null,
"basename": "Coming Soon"
"basename": "Plays Well with Others"
}
]
}
}
27 changes: 27 additions & 0 deletions docs/json-responses/browse (podcast).json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"total_count": 3,
"catalog_id": "3",
"parent_id": "2",
"parent_type": "podcast",
"child_type": "podcast_episode",
"browse": [
{
"id": "22",
"name": "What Do an Army of Ants and an Online Encyclopedia Have in Common?",
"prefix": null,
"basename": "What Do an Army of Ants and an Online Encyclopedia Have in Common?"
},
{
"id": "23",
"name": "I Laughed So Hard I Cried",
"prefix": null,
"basename": "I Laughed So Hard I Cried"
},
{
"id": "24",
"name": "Coming Soon",
"prefix": null,
"basename": "Coming Soon"
}
]
}
27 changes: 27 additions & 0 deletions docs/json-responses/browse (root).json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"total_count": 3,
"catalog_id": "",
"parent_id": "",
"parent_type": "root",
"child_type": "catalog",
"browse": [
{
"id": "1",
"name": "music",
"prefix": null,
"basename": "music"
},
{
"id": "3",
"name": "podcast",
"prefix": null,
"basename": "podcast"
},
{
"id": "4",
"name": "upload",
"prefix": null,
"basename": "upload"
}
]
}
2 changes: 1 addition & 1 deletion docs/json-responses/browse (video catalog).json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"basename": "Magic Fly"
}
]
}
}
27 changes: 11 additions & 16 deletions docs/xml-responses/browse (podcast catalog).xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<total_count>3</total_count>
<catalog_id>3</catalog_id>
<parent_id>2</parent_id>
<parent_type>podcast</parent_type>
<child_type>podcast_episode</child_type>
<list id="22">
<name><![CDATA[What Do an Army of Ants and an Online Encyclopedia Have in Common?]]></name>
<total_count>2</total_count>
<catalog_id/>
<parent_id>3</parent_id>
<parent_type>catalog</parent_type>
<child_type>podcast</child_type>
<list id="1">
<name><![CDATA[60-Second Science]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[What Do an Army of Ants and an Online Encyclopedia Have in Common?]]></basename>
<basename><![CDATA[60-Second Science]]></basename>
</list>
<list id="23">
<name><![CDATA[I Laughed So Hard I Cried]]></name>
<list id="2">
<name><![CDATA[Plays Well with Others]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[I Laughed So Hard I Cried]]></basename>
</list>
<list id="24">
<name><![CDATA[Coming Soon]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[Coming Soon]]></basename>
<basename><![CDATA[Plays Well with Others]]></basename>
</list>
</root>
23 changes: 23 additions & 0 deletions docs/xml-responses/browse (podcast).xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<total_count>3</total_count>
<catalog_id>3</catalog_id>
<parent_id>2</parent_id>
<parent_type>podcast</parent_type>
<child_type>podcast_episode</child_type>
<list id="22">
<name><![CDATA[What Do an Army of Ants and an Online Encyclopedia Have in Common?]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[What Do an Army of Ants and an Online Encyclopedia Have in Common?]]></basename>
</list>
<list id="23">
<name><![CDATA[I Laughed So Hard I Cried]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[I Laughed So Hard I Cried]]></basename>
</list>
<list id="24">
<name><![CDATA[Coming Soon]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[Coming Soon]]></basename>
</list>
</root>
23 changes: 23 additions & 0 deletions docs/xml-responses/browse (root).xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<total_count>3</total_count>
<catalog_id/>
<parent_id/>
<parent_type>root</parent_type>
<child_type>catalog</child_type>
<list id="1">
<name><![CDATA[music]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[music]]></basename>
</list>
<list id="3">
<name><![CDATA[podcast]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[podcast]]></basename>
</list>
<list id="4">
<name><![CDATA[upload]]></name>
<prefix><![CDATA[]]></prefix>
<basename><![CDATA[upload]]></basename>
</list>
</root>

0 comments on commit 4f2be07

Please sign in to comment.