imageloop API function
imagelooop.getLooopImagesEx
Category: looop functionsSubcategory: looop content
Description:
Returns all images in a looop including meta data. The returned XML for response parameter "imageMeta" contains a
Sample response:
list with nested map elements containing with namedvalue elements. Please refer to XML schema (see below) for details about the elements. For a description of the names and values of the returned namedvalue elements see imagelooop.getImageMetaData.Sample response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<imag:Response xmlns:imag="http://www.imagelooop.com/imagelooop-api-xsd/">
<response name="imageMeta">
<list>
<map>
<namedvalue name="tags"/>
<namedvalue name="imageId">b6eb020a-c356-18a1-bdb7-001422b1aff2</namedvalue>
<namedvalue name="createdTimestamp">1156256055000</namedvalue>
<namedvalue name="modifiedTimestamp">1156258943000</namedvalue>
<namedvalue name="permalink">http://looopname.username.imagelooop.de/b6eb020a-c2b6-18a1-bdb7-001422b1aff2/DSCF0655</namedvalue>
<namedvalue name="name">name the image 1</namedvalue>
<namedvalue name="contentDatetime">1105469115000</namedvalue>
<namedvalue name="rating">0.0</namedvalue>
</map>
<map>
<namedvalue name="tags"/>
<namedvalue name="imageId">29f5e289-13a2-1df7-9312-001422b1aff2</namedvalue>
<namedvalue name="createdTimestamp">1156256224000</namedvalue>
<namedvalue name="modifiedTimestamp">1156256224000</namedvalue>
<namedvalue name="permalink">http://looopname.username.imagelooop.de/29f5e289-13a2-1ca7-9312-001422b1aff2/DSCF0664</namedvalue>
<namedvalue name="name">name the image 2</namedvalue>
<namedvalue name="contentDatetime">1105469581000</namedvalue>
<namedvalue name="rating">0.0</namedvalue>
</map>
</list>
</response>
</imag:Response>
Parameters
Only mandatory parameters must be present for an API call on this function. Parameters marked as a list can occur multiple times in both SOAP and HTTP-RPC style requests.| Name | Type | Mandatory | is List | Description |
|---|---|---|---|---|
looopID
|
uuid | required | ID of the looop to get the image list for |
Return Values
The presence of return values depend on the meaning of the API function and status of the requested object. For example, the description value of a looop will not be returned, if it has not been set.| Name | Type | is List | Description |
|---|---|---|---|
imageMeta
|
map | List | metadata of all images in the looop |
Errors / Exceptions
| Error Code | Name |
|---|---|
| 2001 | imagelooop.InvalidApiKeyException |
| 2005 | imagelooop.InternalErrorException |
| 2002 | imagelooop.InvalidParameterNameException |
| 3000 | imagelooop.PrimaryObjectNotFoundException |
See Also
API Call examples
HTTP-RPC
Request:The line breaks and white spaces are for better reading only. All request parameters can be passed in the HTTP POST request body instead of a HTTP GET parameter in a URL. Valid HTTP POST content types are
multipart/form-data for
file uploads and application/x-www-form-urlencoded for usual HTML forms.http://www.imageloop.com/httprpc/?apiKey=YOUR-API-KEY
&f=imagelooop.getLooopImagesEx
&h=yourwebsite.com - or - &accessToken=application-access-token
&looopID=uuiduuid-uuid-uuid-uuid-uuiduuiduuid
Sample response
Sample Response to illustrate what's returned (XML schema) :The line breaks and white spaces are for better reading only.
<imag:Response xmlns:imag="http://www.imageloop.com/imagelooop-api-xsd/">
<response name="imageMeta">
<list>
<map>
<namedvalue name="name">string-value</namedvalue>
<namedvalue name="name">string-value</namedvalue>
see list of return values of imagelooop.getImageMetaData for meaning of the namedvalue elements
please note, that tags are returned as a comma separated string in a namedvalue
... (more or less namedvalue elements) ...
</map>
</list>
</response>
</imag:Response>
If the function call resulted in an error, no response element but an error element is returned in the above XML. See list of possible errors/exception for the function described on this page.
<imag:Response xmlns:imag="http://www.imageloop.com/imagelooop-api-xsd/">
<error>
<errorCode>error-code</errorCode>
<errorType>error-name</errorType>
<message>optional error message</message>
</error>
</imag:Response>
english
deutsch
français
español
italiano
türkçe