Flickrex.Flickr.Photos.Suggestions (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Approve a suggestion for a photo.
Return a list of suggestions for a user that are pending approval.
Reject a suggestion for a photo.
Remove a suggestion, made by the calling user, from a photo.
Suggest a geotagged location for a photo.
Link to this section Types
Specs
arg() :: String.Chars.t()
Specs
operation() :: Flickrex.Operation.Rest.t()
Specs
opts() :: Flickrex.Rest.args()
Link to this section Functions
Specs
Approve a suggestion for a photo.
This method requires authentication with "write" permission.
Arguments
suggestion_id- The unique ID for the location suggestion to approve.
Specs
Return a list of suggestions for a user that are pending approval.
This method requires authentication with "read" permission.
Options
photo_id- Only show suggestions for a single photo.status_id- Only show suggestions with a given status. <ul> <li><strong>0</strong>, pending</li> <li><strong>1</strong>, approved</li> <li><strong>2</strong>, rejected</li> </ul> The default is pending (or "0").
Specs
Reject a suggestion for a photo.
This method requires authentication with "write" permission.
Arguments
suggestion_id- The unique ID of the suggestion to reject.
Specs
Remove a suggestion, made by the calling user, from a photo.
This method requires authentication with "write" permission.
Arguments
suggestion_id- The unique ID for the location suggestion to approve.
Specs
Suggest a geotagged location for a photo.
This method requires authentication with "write" permission.
Arguments
photo_id- The photo whose location you are suggesting.lat- The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.lon- The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.
Options
accuracy- Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.woe_id- The WOE ID of the location used to build the location hierarchy for the photo.place_id- The Flickr Places ID of the location used to build the location hierarchy for the photo.note- A short note or history to include with the suggestion.