flickrex v0.6.0 Flickrex.Flickr.Testimonials View Source

Link to this section Summary

Functions

Write a new testimonial

Approve a testimonial that has been written about the currently loggedin user

Permanently delete a testimonial. The loggedin user must be either the author or recipient of the testimonial

Change the text of a testimonial. The loggedin user must be the author of the existing testimonial. Editing a testimonial will mark it as pending and will require it to be re-approved by the recipient before appearing on their profile

Get all testimonials (pending and approved) written about the given user

Get the testimonial by the currently logged-in user about the given user, regardless of approval status. Note that at most 1 testimonial will be returned

Get all testimonials (pending and approved) written by the given user

Get all pending testimonials written about the given user

Get the pending testimonial by the currently logged-in user about the given user. Note that at most 1 testimonial will be returned

Get all pending testimonials written by the given user

Get approved testimonials about the given user

Get the approved testimonial by the currently logged-in user about the given user. Note that at most 1 testimonial will be returned

Get approved testimonials written by the given user

Link to this section Types

Link to this section Functions

Link to this function add_testimonial(args \\ []) View Source
add_testimonial(args()) :: operation()

Write a new testimonial

This method requires authentication with “write” permission.

Arguments

  • user_id - (required) ID of the user the testimonial is about

  • testimonial_text - (required) The text of the testimonial. HTML/BBCode is not accepted

Link to this function approve_testimonial(args \\ []) View Source
approve_testimonial(args()) :: operation()

Approve a testimonial that has been written about the currently loggedin user

This method requires authentication with “write” permission.

Arguments

  • testimonial_id - (required) ID of the testimonial to approve
Link to this function delete_testimonial(args \\ []) View Source
delete_testimonial(args()) :: operation()

Permanently delete a testimonial. The loggedin user must be either the author or recipient of the testimonial

This method requires authentication with “write” permission.

Arguments

  • testimonial_id - (required)
Link to this function edit_testimonial(args \\ []) View Source
edit_testimonial(args()) :: operation()

Change the text of a testimonial. The loggedin user must be the author of the existing testimonial. Editing a testimonial will mark it as pending and will require it to be re-approved by the recipient before appearing on their profile

This method requires authentication with “write” permission.

Arguments

  • user_id - (required) The NSID of the user the testimonial is about

  • testimonial_id - (required) The ID of the testimonial to edit

  • testimonial_text - (required) The text of the testimonial. HTML/BBCode is not accepted

Link to this function get_all_testimonials_about(args \\ []) View Source
get_all_testimonials_about(args()) :: operation()

Get all testimonials (pending and approved) written about the given user

This method requires authentication with “read” permission.

Arguments

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50

Link to this function get_all_testimonials_about_by(args \\ []) View Source
get_all_testimonials_about_by(args()) :: operation()

Get the testimonial by the currently logged-in user about the given user, regardless of approval status. Note that at most 1 testimonial will be returned

This method requires authentication with “read” permission.

Arguments

  • user_id - (required) ID of the user to get testimonials about
Link to this function get_all_testimonials_by(args \\ []) View Source
get_all_testimonials_by(args()) :: operation()

Get all testimonials (pending and approved) written by the given user

This method requires authentication with “read” permission.

Arguments

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50

Link to this function get_pending_testimonials_about(args \\ []) View Source
get_pending_testimonials_about(args()) :: operation()

Get all pending testimonials written about the given user

This method requires authentication with “read” permission.

Arguments

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50

Link to this function get_pending_testimonials_about_by(args \\ []) View Source
get_pending_testimonials_about_by(args()) :: operation()

Get the pending testimonial by the currently logged-in user about the given user. Note that at most 1 testimonial will be returned

This method requires authentication with “read” permission.

Arguments

  • user_id - (required) ID of the user to get testimonials about
Link to this function get_pending_testimonials_by(args \\ []) View Source
get_pending_testimonials_by(args()) :: operation()

Get all pending testimonials written by the given user

This method requires authentication with “read” permission.

Arguments

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50

Link to this function get_testimonials_about(args \\ []) View Source
get_testimonials_about(args()) :: operation()

Get approved testimonials about the given user

This method does not require authentication.

Arguments

  • user_id - (required) ID of the user to get testimonials about

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50

Link to this function get_testimonials_about_by(args \\ []) View Source
get_testimonials_about_by(args()) :: operation()

Get the approved testimonial by the currently logged-in user about the given user. Note that at most 1 testimonial will be returned

This method requires authentication with “read” permission.

Arguments

  • user_id - (required) ID of the user to get testimonials about
Link to this function get_testimonials_by(args \\ []) View Source
get_testimonials_by(args()) :: operation()

Get approved testimonials written by the given user

This method does not require authentication.

Arguments

  • user_id - (required) ID of the user to get testimonials written by

  • page - Page number. Default is 0

  • per_page - Number of testimonials to return per page. Default is 10, maximum is 50