-
Notifications
You must be signed in to change notification settings - Fork 1
/
flickr.photos.transform.rotate.xml
26 lines (26 loc) · 2.19 KB
/
flickr.photos.transform.rotate.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<method name="flickr.photos.transform.rotate" needslogin="1" needssigning="1" requiredperms="2">
<description>Rotate a photo.</description>
<response><photoid secret="abcdef" originalsecret="abcdef">1234</photoid></response>
</method>
<arguments>
<argument name="api_key" optional="0">Your API application key. <a href="/services/api/misc.api_keys.html">See here</a> for more details.</argument>
<argument name="photo_id" optional="0">The id of the photo to rotate.</argument>
<argument name="degrees" optional="0">The amount of degrees by which to rotate the photo (clockwise) from it's current orientation. Valid values are 90, 180 and 270.</argument>
</arguments>
<errors>
<error code="1" message="Not a valid date.">The date argument passed was incorrect.</error>
<error code="96" message="Invalid signature">The passed signature was invalid.</error>
<error code="97" message="Missing signature">The call required signing but no signature was sent.</error>
<error code="98" message="Login failed / Invalid auth token">The login details or auth token passed were invalid.</error>
<error code="99" message="User not logged in / Insufficient permissions">The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.</error>
<error code="100" message="Invalid API Key">The API key passed was not valid or has expired.</error>
<error code="105" message="Service currently unavailable">The requested service is temporarily unavailable.</error>
<error code="111" message="Format "xxx" not found">The requested response format was not found.</error>
<error code="112" message="Method "xxx" not found">The requested method was not found.</error>
<error code="114" message="Invalid SOAP envelope">The SOAP envelope send in the request could not be parsed.</error>
<error code="115" message="Invalid XML-RPC Method Call">The XML-RPC request document could not be parsed.</error>
<error code="116" message="Bad URL found">One or more arguments contained a URL that has been used for abuse on Flickr.</error>
</errors>
</rsp>