TYBA






protocol.SearchRequest

SearchRequest

This request allows you to perform a POSIX regex search on the name of items. You can specify as to what content types you wish to restrict this search to. An optional indices parameter can be passed if you wish to subset the returned list if you have a limit on the number of results you can display on your user interface.

ParameterOptionalMax AllowedDataTypeNotes
cidno1textclient id. used to track origin of any particular message
ixsyes1indicesstart (i0) and end (i1) index inclusive
qno1textPOSIX regular expression.
tysno1listlist of media types to apply search to: track/album/artist/playlist/radiostation/composer

Example xml:


  <sireq>
      <cid>Mum</cid>
      <fn>
          <search>
              <ixs>
                  <i0>0</i0>
                  <i1>9</i1>
              </ixs>
              <q>Cold Play</q>
              <tys>
                  <ty>track</ty>
                  <ty>album</ty>
                  <ty>artist</ty>
                  <ty>playlist</ty>
                  <ty>radiostation</ty>
                  <ty>composer</ty>
              </tys>
          </search>
      </fn>
  </sireq>

 

back to index