zooomr.photos.licenses.setLicense
Sets the license for a photo.
Authentication
This method requires authentication with 'write' permission.
Note: This method requires an HTTP POST request.
Arguments
api_key (Required)
Your API application key.
photo_id (Required)
The photo to update the license for.
license_id (Required)
The license to apply
- 0 (zero) to remove the current license - aka "All Rights Reserved"
- 1 Attribution License
- 2 Attribution No-Derivs License
- 3 Attribution Non-Commercial No-Derivs License
- 4 Attribution Non-Commercial License
- 5 Attribution Non-Commercial ShareAlike? License
- 6 Attribution-ShareAlike? License
Example Response
{"stat": "ok"}
