class FlickRaw::Flickr::Photos::Suggestions

Public Instance Methods

approveSuggestion(:suggestion_id => 'suggestion_id') click to toggle source

flickr.photos.suggestions.approveSuggestion request.

Approve a suggestion for a photo.

Arguments

suggestion_id (required)

The unique ID for the location suggestion to approve.

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: 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.

  • 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.

# Generated automatically from flickr api
  def approveSuggestion(*args)
    @flickr.call 'flickr.photos.suggestions.approveSuggestion', *args
  end
getList(:photo_id => 'photo_id',:status_id => 'status_id') click to toggle source

flickr.photos.suggestions.getList request.

Return a list of suggestions for a user that are pending approval.

Arguments

photo_id

Only show suggestions for a single photo.

status_id

Only show suggestions with a given status.

0, pending 1, approved 2, rejected

The default is pending (or “0”).

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: 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.

  • 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.

# Generated automatically from flickr api
  def getList(*args)
    @flickr.call 'flickr.photos.suggestions.getList', *args
  end
rejectSuggestion(:suggestion_id => 'suggestion_id') click to toggle source

flickr.photos.suggestions.rejectSuggestion request.

Reject a suggestion for a photo.

Arguments

suggestion_id (required)

The unique ID of the suggestion to reject.

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: 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.

  • 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.

# Generated automatically from flickr api
  def rejectSuggestion(*args)
    @flickr.call 'flickr.photos.suggestions.rejectSuggestion', *args
  end
removeSuggestion(:suggestion_id => 'suggestion_id') click to toggle source

flickr.photos.suggestions.removeSuggestion request.

Remove a suggestion, made by the calling user, from a photo.

Arguments

suggestion_id (required)

The unique ID for the location suggestion to approve.

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: 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.

  • 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.

# Generated automatically from flickr api
  def removeSuggestion(*args)
    @flickr.call 'flickr.photos.suggestions.removeSuggestion', *args
  end
suggestLocation(:photo_id => 'photo_id',:lat => 'lat',:lon => 'lon',:accuracy => 'accuracy',:woe_id => 'woe_id',:place_id => 'place_id',:note => 'note') click to toggle source

flickr.photos.suggestions.suggestLocation request.

Suggest a geotagged location for a photo.

Arguments

photo_id (required)

The photo whose location you are suggesting.

lat (required)

The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

lon (required)

The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

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.

Error codes

  • 96: Invalid signature

    The passed signature was invalid.

  • 97: Missing signature

    The call required signing but no signature was sent.

  • 98: Login failed / Invalid auth token

    The login details or auth token passed were invalid.

  • 99: 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.

  • 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.

# Generated automatically from flickr api
  def suggestLocation(*args)
    @flickr.call 'flickr.photos.suggestions.suggestLocation', *args
  end