-
Notifications
You must be signed in to change notification settings - Fork 1
/
flickr.commons.getInstitutions.xml
31 lines (31 loc) · 1.86 KB
/
flickr.commons.getInstitutions.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
27
28
29
30
31
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
<method name="flickr.commons.getInstitutions" needslogin="0" needssigning="0" requiredperms="0">
<description>Retrieves a list of the current Commons institutions.</description>
<response><rsp stat="ok">
<institutions>
<institution nsid="123456@N01" date_launch="1232000000">
<name>Institution</name>
<urls>
<url type="site">http://example.com/</url>
<url type="license">http://example.com/commons/license</url>
<url type="flickr">http://flickr.com/photos/institution</url>
</urls>
</institution>
</institutions>
</rsp></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>
</arguments>
<errors>
<error code="1" message="Not a valid date.">The date argument passed was incorrect.</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>