The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.photos.licenses.getLicenseHistory
Fetches the license history of a photo.
Authentication
This method does not require authentication.
Arguments
api_key
(Required)- Your API application key. See here for more details.
photo_id
(Required)- The photo to get the license history for.
Example Response
<rsp stat="ok"> <license_history date_change="1295918034" old_license="All Rights Reserved" old_license_url="" new_license="Attribution License" new_license_url="https://creativecommons.org/licenses/by/2.0/" /> <license_history date_change="1598990519" old_license="Attribution License" old_license_url="https://creativecommons.org/licenses/by/2.0/" new_license="All Rights Reserved" new_license_url="" /> </rsp>Returns a list of license changes for the photo. If no changes have been made to the license, it returns the original license as old_license (and an empty new_license).
Error Codes
1: Photo not found
- The specified id was not the id of a valid photo.
100: Invalid API Key
- The API key passed was not valid or has expired.
105: Service currently unavailable
- The requested service is temporarily unavailable.
106: Write operation failed
- The requested operation failed due to a temporary issue.
111: Format "xxx" not found
- The requested response format was not found.
112: Method "xxx" not found
- The requested method was not found.
114: Invalid SOAP envelope
- The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
- The XML-RPC request document could not be parsed.
116: Bad URL found
- One or more arguments contained a URL that has been used for abuse on Flickr.