TYBA






protocol.GetPlaylistsResponse2

GetPlaylistsResponse2

This response acts as an acknowledgment to its corresponding request as well as containing a collection of playlists matching your request parameters. There is meta data included prior to the list to indicate the number of results returned as well as the total matching results in the database. This is useful if you have subset the results. There is also meta data relating to slice if slice is used which indicates upper and lower index of the slice in relation to all the data in this context. There is an optional meta data if interested in playlists for certain users.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
ixsyes1indicesstart (i0) and end (i1) index inclusive
sliyes1slicepivot returned results around matching string (ss) with number of items before (w0) and after (w1) matching string. Contains (li) lower index and (ui) upper index position of slice in relation to all data. Contains (ix) index of matching result thats pivoted around
uidsyes1list of useridsan empty user id signifies any playlist without an id, i.e shared/global ones
fltyes1list of types tp filtercan filter readonly, smartplaylists
tnno1integertotal number matching request
nno1integernumber of results returned
colno1listlist of playlists.

Example xml:


  <siresp>
      <cid>Mum</cid>
      <fn>
          <getPlaylists2>
              <ixs>
                  <i0>0</i0>
                  <i1>9</i1>
              </ixs>
              <sli>
                  <ss>a</ss>
                  <w0>50</w0>
                  <w1>50</w1>
                  <li>29</li>
                  <ui>55</ui>
                  <ix>35</ix>
              </sli>
              <uids>
                  <uid></uid>
                  <uid>1</uid>
                  <uid>2</uid>
              </uids>
              <flt>
                  <ro>1</ro>
                  <sm>0</sm>
              </flt>
              <tn>30</tn>
              <n>3</n>
              <col>
                  <pl>
                      <plid>432546325432</plid>
                      <plnm>Podcasts</plnm>
                      <trco></trco>
                      <cv></cv>
                      <ro>1</ro>
                      <uid>mum</uid>
                  </pl>
                  <pl>
                      <plid>432546325432</plid>
                      <plnm>Podcasts</plnm>
                      <trco></trco>
                      <cv></cv>
                      <ro>1</ro>
                      <uid>mum</uid>
                  </pl>
                  <pl>
                      <plid>432546325432</plid>
                      <plnm>My Top Rated</plnm>
                      <trco></trco>
                      <cv></cv>
                      <ro>0</ro>
                      <uid>mum</uid>
                  </pl>
                  <pl>
                      <plid>432546325432</plid>
                      <plnm>Recently Added</plnm>
                      <trco></trco>
                      <cv></cv>
                      <ro>1</ro>
                      <uid>mum</uid>
                  </pl>
              </col>
          </getPlaylists2>
      </fn>
  </siresp>

 

back to index