Labels

Labels

This function returns a list of libraries for the specific account.

Get Labels

GetLibraries returns libraries flagged as “active”.

Request:

GET /getlibraries/{serviceToken}

Returns service details which include:

  • One or more library elements (active libraries only)
  • Location: location of library i.e. New York
  • Website: URL of library i.e. www.videohelper.com
  • Library logo: logo/image associated to library

NOTE: To return inactive Libraries in the response append /includeinactive to your request for example:
/getlibraries/{serviceToken}/includeinactive

Parameter Type Status
ServiceToken String Mandatory

Successful Response:

<responselibraries>

 

<libraries>

<library detail=”" name=”HARVEST MEDIA 1″ id=”19b8f5934403adde” location=”" website=”" librarylogourl=”" lastupdated=”"/>

<library detail=”" name=”HARVEST MEDIA 2″ id=”47ec1487155769b9″ location=”New York” website=www.[myurl].com librarylogourl=”imageurl/id/{width}/{height}” lastupdated=”2011-02-11 12:29:18″/>

</libraries>

</responselibraries>

Error Response:

<responselibraries>

 

<error>

<code>5</code>

<description>Invalid Token</description>

</error>

</responselibraries>

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.