+49 (0)30 208 96 208

30.214.314 lizenzfreie Fotos,
Videos und Vektoren.

Wie arbeitet die Fotolia API?

Method: user.moveMediaToTopInUserGallery

Move a media to the top position in an user gallery

Authentication

This method requires authentification

Arguments

Argument Type Valid Values Default Value Detail
api_key string Valid Values required you need a valid api key to use the API
session_id string existing session ID required authentified session ID( use loginUser to create a session ID)
content_id int existing media ID required Media ID
id string user gallery ID ID if empty the default user gallery will be used

Returned Values

This method does not return any value

Example Query


<?xml version="1.0" encoding="utf-8"?>
<methodCall>
	<methodName>user.moveMediaToTopInUserGallery</methodName>
	<params>
		<param>
			<value>
				<string>YOUR_API_KEY</string>
			</value>
		</param>
		<param>
			<value>
				<string>VALID_SESSION_ID</string>
			</value>
		</param>
		<param>
			<value>
				<int>VALID_MEDIA_ID</int>
			</value>
		</param>
		<param>
			<value>
				<string>VALID_GALLERY_ID</string>
			</value>
		</param>
	</params>
</methodCall>

Error Codes

001: Service currently unavailable
The requested service is temporarily unavailable.
002: Failed to parse request
The XML-RPC request document 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.
10000: Unknown Gallery ID
The gallery ID does not exist or the media does not belong to it
2402: Unknown media ID
The media ID does not exist or does not belong to the gallery