Flickrex.Flickr.Photos.Notes (flickrex v0.8.1) View Source
Link to this section Summary
Functions
Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
Delete a note from a photo.
Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
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
add(photo_id, note_x, note_y, note_w, note_h, note_text, opts \\ [])
View SourceSpecs
Add a note to a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
This method requires authentication with "write" permission.
Arguments
photo_id- The id of the photo to add a note tonote_x- The left coordinate of the notenote_y- The top coordinate of the notenote_w- The width of the notenote_h- The height of the notenote_text- The description of the note
Example response
%{"note" => %{"id" => "1234"}, "stat" => "ok"} Specs
Delete a note from a photo.
This method requires authentication with "write" permission.
Arguments
note_id- The id of the note to delete
edit(note_id, note_x, note_y, note_w, note_h, note_text, opts \\ [])
View SourceSpecs
Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
This method requires authentication with "write" permission.
Arguments
note_id- The id of the note to editnote_x- The left coordinate of the notenote_y- The top coordinate of the notenote_w- The width of the notenote_h- The height of the notenote_text- The description of the note