From 1f9f09516cc48a477d8ecd7e085b993591b5bc2b Mon Sep 17 00:00:00 2001 From: Nathan Lowe Date: Tue, 12 Aug 2014 20:54:03 -0400 Subject: Add method signature for station.shareStation and user.startComplimentaryTrial, as well as an error code --- json/account.rst | 17 +++++++++++++++++ json/errorcodes.rst | 2 +- json/stations.rst | 23 +++++++++++++++++++++-- 3 files changed, 39 insertions(+), 3 deletions(-) (limited to 'json') 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 @@ -567,6 +567,26 @@ See :ref:`user-getStationListChecksum`. checksum,string, +.. 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 @@ -609,5 +629,4 @@ Modify QuickMix "syncTime": 1338211186 } -The response contains no data. - +The response contains no data. \ No newline at end of file -- cgit v1.2.3