summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorNathan Lowe <techwiz96@gmail.com>2014-08-12 20:54:03 -0400
committerNathan Lowe <techwiz96@gmail.com>2014-08-12 20:54:03 -0400
commit1f9f09516cc48a477d8ecd7e085b993591b5bc2b (patch)
treec28b136df058b45c0605e1f6fbc7ea94c88a7d56 /json
parent14cd9baa6abf615c4b5ac2b25611b838ae2a0d4e (diff)
downloadpandora-apidoc-1f9f09516cc48a477d8ecd7e085b993591b5bc2b.tar.gz
pandora-apidoc-1f9f09516cc48a477d8ecd7e085b993591b5bc2b.tar.bz2
pandora-apidoc-1f9f09516cc48a477d8ecd7e085b993591b5bc2b.zip
Add method signature for station.shareStation and user.startComplimentaryTrial, as well as an error code
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