+1 (888) 674-2299

30,052,191 Royalty Free Stock Photos

How to use the Fotolia API

Method: user/getUploadFolderFileIds

This method return all file IDs inside a particular user upload folder

Authentication

This method requires authentication.

HTTP method

This method is called with HTTP method GET.

Arguments

Argument Type Element (array) Valid Values Default Value Detail
id string a user upload folder ID required
offset Int 0 any integer value
limit Int any integer between 1 and 100 50

Returned Values

Element (path) Name Type Description
/[n]/ int media ID

Example Query

GET http://API_KEY@api.fotolia.com/Rest/1/user/getUploadFolderFileIds?id=nC81B2kEy5jQk9mZIylUja0AsrEZC0Cq&offset=200&limit=75

Example Response

[
        42,
        123343,
        34353,
      ]

Error Codes

001: Service currently unavailable
The requested service is temporarily unavailable.
002: Failed to parse request
The request could not be parsed.
010: Missing API Key
The API key passed is missing.
011: Invalid API Key
The API key passed is not valid or has expired.
031: Invalid Method
This method does not exist in the method list.
032: Method not Available
This method is not available for this API Key.
2101: Invalid Thumbnail Size
The thumbnail size passed is not valid or doesn't exist in the fotolia available thumbnail size list.
10000: Invalid Gallery ID
Requested upload folder does not exist