Skip to content

Commit 2a20d02

Browse files
committed
missing items
1 parent cef3b06 commit 2a20d02

1 file changed

Lines changed: 232 additions & 7 deletions

File tree

openapi.json

Lines changed: 232 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,92 @@
839839
}
840840
}
841841
},
842+
"/smartlists": {
843+
"get": {
844+
"summary": "List smartplaylists",
845+
"tags": ["Playlists"],
846+
"parameters": [
847+
{
848+
"name": "filter",
849+
"in": "query",
850+
"schema": {
851+
"type": "string"
852+
},
853+
"required": false
854+
},
855+
{
856+
"name": "exact",
857+
"in": "query",
858+
"schema": {
859+
"type": "boolean"
860+
},
861+
"required": false
862+
},
863+
{
864+
"name": "add",
865+
"in": "query",
866+
"schema": {
867+
"type": "string",
868+
"format": "date"
869+
},
870+
"required": false
871+
},
872+
{
873+
"name": "update",
874+
"in": "query",
875+
"schema": {
876+
"type": "string",
877+
"format": "date"
878+
},
879+
"required": false
880+
},
881+
{
882+
"name": "offset",
883+
"in": "query",
884+
"schema": {
885+
"type": "integer"
886+
},
887+
"required": false
888+
},
889+
{
890+
"name": "limit",
891+
"in": "query",
892+
"schema": {
893+
"type": "integer"
894+
},
895+
"required": false
896+
},
897+
{
898+
"name": "cond",
899+
"in": "query",
900+
"schema": {
901+
"type": "string"
902+
},
903+
"required": false
904+
},
905+
{
906+
"name": "sort",
907+
"in": "query",
908+
"schema": {
909+
"type": "string"
910+
},
911+
"required": false
912+
}
913+
],
914+
"responses": {
915+
"200": {
916+
"description": "Playlists list",
917+
"content": {
918+
"application/json": {
919+
"schema": {
920+
"type": "object"
921+
}
922+
}
923+
}
924+
}
925+
}
926+
}
927+
},
842928
"/playlist/{playlist_id}": {
843929
"get": {
844930
"summary": "Get a single playlist",
@@ -1291,7 +1377,7 @@
12911377
"/playlist_songs/{playlist_id}": {
12921378
"get": {
12931379
"summary": "Get songs for a playlist",
1294-
"tags": ["Playlists"],
1380+
"tags": ["Playlists", "Songs"],
12951381
"parameters": [
12961382
{
12971383
"name": "playlist_id",
@@ -1495,7 +1581,7 @@
14951581
"/artist_albums/{artist_id}": {
14961582
"get": {
14971583
"summary": "Get albums for an artist",
1498-
"tags": ["Albums"],
1584+
"tags": ["Albums", "Artists"],
14991585
"parameters": [
15001586
{
15011587
"name": "artist_id",
@@ -1564,6 +1650,78 @@
15641650
}
15651651
}
15661652
},
1653+
"/album_songs/{album_id}": {
1654+
"get": {
1655+
"summary": "Get songs for an album",
1656+
"tags": ["Albums", "Songs"],
1657+
"parameters": [
1658+
{
1659+
"name": "album_id",
1660+
"in": "path",
1661+
"schema": {
1662+
"type": "string"
1663+
},
1664+
"required": true
1665+
},
1666+
{
1667+
"name": "top50",
1668+
"in": "query",
1669+
"schema": {
1670+
"type": "integer",
1671+
"enum": [
1672+
0,
1673+
1
1674+
]
1675+
},
1676+
"required": false
1677+
},
1678+
{
1679+
"name": "offset",
1680+
"in": "query",
1681+
"schema": {
1682+
"type": "integer"
1683+
},
1684+
"required": false
1685+
},
1686+
{
1687+
"name": "limit",
1688+
"in": "query",
1689+
"schema": {
1690+
"type": "integer"
1691+
},
1692+
"required": false
1693+
},
1694+
{
1695+
"name": "cond",
1696+
"in": "query",
1697+
"schema": {
1698+
"type": "string"
1699+
},
1700+
"required": false
1701+
},
1702+
{
1703+
"name": "sort",
1704+
"in": "query",
1705+
"schema": {
1706+
"type": "string"
1707+
},
1708+
"required": false
1709+
}
1710+
],
1711+
"responses": {
1712+
"200": {
1713+
"description": "Song list",
1714+
"content": {
1715+
"application/json": {
1716+
"schema": {
1717+
"type": "object"
1718+
}
1719+
}
1720+
}
1721+
}
1722+
}
1723+
}
1724+
},
15671725
"/artist_songs/{artist_id}": {
15681726
"get": {
15691727
"summary": "Get songs for an artist",
@@ -3333,7 +3491,7 @@
33333491
"/license_songs/{license_id}": {
33343492
"get": {
33353493
"summary": "Get songs for a license",
3336-
"tags": ["Licenses"],
3494+
"tags": ["Licenses", "Songs"],
33373495
"parameters": [
33383496
{
33393497
"name": "license_id",
@@ -4787,6 +4945,22 @@
47874945
"type": "integer"
47884946
},
47894947
"required": false
4948+
},
4949+
{
4950+
"name": "cond",
4951+
"in": "query",
4952+
"schema": {
4953+
"type": "string"
4954+
},
4955+
"required": false
4956+
},
4957+
{
4958+
"name": "sort",
4959+
"in": "query",
4960+
"schema": {
4961+
"type": "string"
4962+
},
4963+
"required": false
47904964
}
47914965
],
47924966
"responses": {
@@ -5100,6 +5274,22 @@
51005274
"type": "integer"
51015275
},
51025276
"required": false
5277+
},
5278+
{
5279+
"name": "cond",
5280+
"in": "query",
5281+
"schema": {
5282+
"type": "string"
5283+
},
5284+
"required": false
5285+
},
5286+
{
5287+
"name": "sort",
5288+
"in": "query",
5289+
"schema": {
5290+
"type": "string"
5291+
},
5292+
"required": false
51035293
}
51045294
],
51055295
"responses": {
@@ -5312,13 +5502,48 @@
53125502
}
53135503
}
53145504
},
5315-
"/user": {
5505+
5506+
"/users": {
53165507
"get": {
5317-
"summary": "Get current API user's public information",
5508+
"summary": "List user ID's and Usernames for your site",
53185509
"tags": ["Users"],
5510+
"parameters": [
5511+
{
5512+
"name": "offset",
5513+
"in": "query",
5514+
"schema": {
5515+
"type": "integer"
5516+
},
5517+
"required": false
5518+
},
5519+
{
5520+
"name": "limit",
5521+
"in": "query",
5522+
"schema": {
5523+
"type": "integer"
5524+
},
5525+
"required": false
5526+
},
5527+
{
5528+
"name": "cond",
5529+
"in": "query",
5530+
"schema": {
5531+
"type": "string"
5532+
},
5533+
"required": false
5534+
},
5535+
{
5536+
"name": "sort",
5537+
"in": "query",
5538+
"schema": {
5539+
"type": "string"
5540+
},
5541+
"required": false
5542+
}
5543+
],
53195544
"responses": {
53205545
"200": {
5321-
"description": "User array",
5546+
"description": "Podcast episode list",
53225547
"content": {
53235548
"application/json": {
53245549
"schema": {
@@ -5341,7 +5566,7 @@
53415566
"schema": {
53425567
"type": "string"
53435568
},
5344-
"required": true
5569+
"required": false
53455570
}
53465571
],
53475572
"responses": {

0 commit comments

Comments
 (0)