summaryrefslogtreecommitdiff
path: root/rest/stations.rst
blob: 8d2324bbc60549c12f4c05d907145146a9248956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
.. _rest-stations:

========
Stations
========

.. _rest-v1-station-getStations:

Get Stations
============

:Endpoint: /v1/station/getStations

Request
-------
.. code:: json

	{
		"pageSize": 250
	}

Response
--------
.. code:: json

    {
        "totalStations": 2,
        "sortedBy": "lastPlayedTime",
        "index": 0,
        "stations": [
            {
                "stationId": "12345",
                "stationFactoryPandoraId": "SF:12345:123",
                "pandoraId": "ST:12345",
                "name": "Chill Out Radio",
                "art": [
                    {
                        "url": "https://mediaserver-cont-sv5-2-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_90W_90H.jpg",
                        "size": 90
                    },
                    {
                        "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_130W_130H.jpg",
                        "size": 130
                    },
                    {
                        "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_500W_500H.jpg",
                        "size": 500
                    },
                    {
                        "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_640W_640H.jpg",
                        "size": 640
                    },
                    {
                        "url": "https://cont-2.p-cdn.com/images/public/int/9/2/0/5/634904045029_1080W_1080H.jpg",
                        "size": 1080
                    }
                ],
                "dateCreated": "2017-10-27T20:10:33.202-07:00",
                "lastPlayed": "2017-10-27T21:36:04.426-07:00",
                "totalPlayTime": 987,
                "isNew": false,
                "allowDelete": true,
                "allowRename": false,
                "allowEditDescription": false,
                "allowAddSeed": false,
                "isShared": false,
                "isTransformAllowed": false,
                "isOnDemandEditorialStation": false,
                "isAdvertiserStation": false,
                "canShuffleStation": true,
                "canAutoshare": true,
                "advertisingKey": "",
                "isArtistMessagesEnabled": true,
                "isThumbprint": false,
                "isShuffle": false,
                "genre": [
                    "Rock",
                    "Dance / Electronica"
                ],
                "genreSponsorship": "G464",
                "adGenre": "electronica",
                "antiTarget": false,
                "initialSeed": {
                    "musicId": "G464",
                    "pandoraId": "GE:464",
                    "genre": {
                        "stationName": "Chill Out",
                        "isRedirect": false,
                        "isComedy": false
                    },
                    "listenerCount": 4165328,
                    "art": [
                        {
                            "url": "https://mediaserver-cont-dc6-1-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_90W_90H.jpg",
                            "size": 90
                        },
                        {
                            "url": "https://mediaserver-cont-dc6-1-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_130W_130H.jpg",
                            "size": 130
                        },
                        {
                            "url": "https://mediaserver-cont-dc6-2-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_500W_500H.jpg",
                            "size": 500
                        },
                        {
                            "url": "https://mediaserver-cont-ch1-2-v4v6.pandora.com/images/public/int/9/2/0/5/634904045029_640W_640H.jpg",
                            "size": 640
                        },
                        {
                            "url": "https://cont-1.p-cdn.com/images/public/int/9/2/0/5/634904045029_1080W_1080H.jpg",
                            "size": 1080
                        }
                    ]
                },
                "adkv": {
                    "artist": "G464",
                    "genre": "electronica",
                    "clean": "0",
                    "gcat": "G464"
                },
                "creatorWebname": "example",
                "artId": "images/public/int/9/2/0/5/634904045029"
            },
            {
                "stationId": "12345",
                "stationFactoryPandoraId": "SF:12345:0",
                "pandoraId": "TT:0",
                "name": "Thumbprint Radio",
                "description": "Music inspired by your 999 thumbs from across all your stations.",
                "art": [
                    {
                        "url": "https://mediaserver-cont-sv5-3-v4v6.pandora.com/images/public/devicead/t/r/a/m/daartpralbumart_90W_90H.jpg",
                        "size": 90
                    },
                    {
                        "url": "https://cont-2.p-cdn.com/images/public/devicead/t/r/a/m/daartpralbumart_130W_130H.jpg",
                        "size": 130
                    },
                    {
                        "url": "https://mediaserver-cont-dc6-1-v4v6.pandora.com/images/public/devicead/t/r/a/m/daartpralbumart_500W_500H.jpg",
                        "size": 500
                    }
                ],
                "dateCreated": "2017-10-27T20:10:33.202-07:00",
                "lastPlayed": "2017-10-27T21:36:04.426-07:00",
                "totalPlayTime": 99999,
                "isNew": false,
                "allowDelete": true,
                "allowRename": false,
                "allowEditDescription": false,
                "allowAddSeed": false,
                "isShared": false,
                "isTransformAllowed": false,
                "isOnDemandEditorialStation": false,
                "isAdvertiserStation": false,
                "canShuffleStation": false,
                "canAutoshare": true,
                "advertisingKey": "",
                "isArtistMessagesEnabled": false,
                "isThumbprint": true,
                "thumbprintThumbCount": 999,
                "thumbprintProcessSkips": true,
                "thumbprintShareArt": "https://mediaserver-cont-sv5-1-v4v6.pandora.com/images/public/devicead/t/r/a/m/daartprfbalbumart_1200W_630H.jpg",
                "shareName": "example's Thumbprint Radio",
                "isShuffle": false,
                "genre": [],
                "adkv": {
                    "artist": "",
                    "genre": "thumbprintradio",
                    "clean": "0",
                    "gcat": "thumbprintradio"
                },
                "creatorWebname": "example",
                "artId": "images/public/devicead/t/r/a/m/daartpralbumart",
                "dominantColor": "0c81c6"
            }
        ]
    }