summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
Diffstat (limited to 'json')
-rw-r--r--json/account.rst17
-rw-r--r--json/errorcodes.rst2
-rw-r--r--json/stations.rst23
3 files changed, 39 insertions, 3 deletions
diff --git a/json/account.rst b/json/account.rst
index 7fdedc7..6cbbbce 100644
--- a/json/account.rst
+++ b/json/account.rst
@@ -224,3 +224,20 @@ The request has no parameters.
}
}
+
+.. index::
+ pair: method; user.startComplimentaryTrial
+
+.. _user-startComplimentaryTrial:
+
+Start a Complimentary Trial
+---------------------------
+
+:Method: user.startComplimentaryTrial
+
+Starts a complimentary pandora one trial. It is unknown what constitutes a valid sponsor at this time, and as such this method will always fail.
+
+.. csv-table::
+ :header: Name,Type,Description
+
+ complimentarySponsor,string,The ID of the sponsor providing the complimentary trial. \ No newline at end of file
diff --git a/json/errorcodes.rst b/json/errorcodes.rst
index 0603ec1..7972ea4 100644
--- a/json/errorcodes.rst
+++ b/json/errorcodes.rst
@@ -54,5 +54,5 @@ Code Description
1035 DAILY_TRIAL_LIMIT_REACHED
1036 INVALID_SPONSOR
1037 USER_ALREADY_USED_TRIAL
+1039 PLAYLIST_EXCEEDED Too many requests for a new playlist
==== ============
-
diff --git a/json/stations.rst b/json/stations.rst
index bb83826..9acb4fc 100644
--- a/json/stations.rst
+++ b/json/stations.rst
@@ -568,6 +568,26 @@ See :ref:`user-getStationListChecksum`.
.. index::
+ pair: method; station.shareStation
+
+.. _station-shareStation:
+
+Share Station
+-------------
+
+:Method: station.shareStation
+
+Shares a station with the specified email addresses. that emails is a string array
+
+.. csv-table::
+ :header: Name ,Type ,Description
+
+ stationId,string,See :ref:`user-getStationList`
+ stationToken,string,See :ref:`user-getStationList`
+ emails,string[],A list of emails to share the station with
+
+
+.. index::
pair: method; station.transformSharedStation
.. _station-transformSharedStation:
@@ -609,5 +629,4 @@ Modify QuickMix
"syncTime": 1338211186
}
-The response contains no data.
-
+The response contains no data. \ No newline at end of file