|
839 | 839 | } |
840 | 840 | } |
841 | 841 | }, |
| 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 | + }, |
842 | 928 | "/playlist/{playlist_id}": { |
843 | 929 | "get": { |
844 | 930 | "summary": "Get a single playlist", |
|
1291 | 1377 | "/playlist_songs/{playlist_id}": { |
1292 | 1378 | "get": { |
1293 | 1379 | "summary": "Get songs for a playlist", |
1294 | | - "tags": ["Playlists"], |
| 1380 | + "tags": ["Playlists", "Songs"], |
1295 | 1381 | "parameters": [ |
1296 | 1382 | { |
1297 | 1383 | "name": "playlist_id", |
|
1495 | 1581 | "/artist_albums/{artist_id}": { |
1496 | 1582 | "get": { |
1497 | 1583 | "summary": "Get albums for an artist", |
1498 | | - "tags": ["Albums"], |
| 1584 | + "tags": ["Albums", "Artists"], |
1499 | 1585 | "parameters": [ |
1500 | 1586 | { |
1501 | 1587 | "name": "artist_id", |
|
1564 | 1650 | } |
1565 | 1651 | } |
1566 | 1652 | }, |
| 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 | + }, |
1567 | 1725 | "/artist_songs/{artist_id}": { |
1568 | 1726 | "get": { |
1569 | 1727 | "summary": "Get songs for an artist", |
|
3333 | 3491 | "/license_songs/{license_id}": { |
3334 | 3492 | "get": { |
3335 | 3493 | "summary": "Get songs for a license", |
3336 | | - "tags": ["Licenses"], |
| 3494 | + "tags": ["Licenses", "Songs"], |
3337 | 3495 | "parameters": [ |
3338 | 3496 | { |
3339 | 3497 | "name": "license_id", |
|
4787 | 4945 | "type": "integer" |
4788 | 4946 | }, |
4789 | 4947 | "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 |
4790 | 4964 | } |
4791 | 4965 | ], |
4792 | 4966 | "responses": { |
|
5100 | 5274 | "type": "integer" |
5101 | 5275 | }, |
5102 | 5276 | "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 |
5103 | 5293 | } |
5104 | 5294 | ], |
5105 | 5295 | "responses": { |
|
5312 | 5502 | } |
5313 | 5503 | } |
5314 | 5504 | }, |
5315 | | - "/user": { |
| 5505 | + |
| 5506 | + "/users": { |
5316 | 5507 | "get": { |
5317 | | - "summary": "Get current API user's public information", |
| 5508 | + "summary": "List user ID's and Usernames for your site", |
5318 | 5509 | "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 | + ], |
5319 | 5544 | "responses": { |
5320 | 5545 | "200": { |
5321 | | - "description": "User array", |
| 5546 | + "description": "Podcast episode list", |
5322 | 5547 | "content": { |
5323 | 5548 | "application/json": { |
5324 | 5549 | "schema": { |
|
5341 | 5566 | "schema": { |
5342 | 5567 | "type": "string" |
5343 | 5568 | }, |
5344 | | - "required": true |
| 5569 | + "required": false |
5345 | 5570 | } |
5346 | 5571 | ], |
5347 | 5572 | "responses": { |
|
0 commit comments