flickrex v0.3.0 Flickr.Groups.Discuss.Topics

Summary

Functions

Post a new discussion topic to a group

Get information about a group discussion topic

Get a list of discussion topics in a group

Types

args()
args() :: Keyword.t
client()
client() :: Flickrex.Client.t
response()
response() :: Flickrex.Parser.response

Functions

add(client, args \\ [])
add(client, args) :: response

Post a new discussion topic to a group.

This method requires authentication with “write” permission.

Arguments

  • group_id - (required) The NSID or path alias of the group to add a topic to.

  • subject - (required) The topic subject.

  • message - (required) The topic message.

get_info(client, args \\ [])
get_info(client, args) :: response

Get information about a group discussion topic.

This method does not require authentication.

Arguments

  • group_id - (required) NSID or group alias of the group to which the topic belongs. Making this parameter optional for legacy reasons, but it is highly recommended to pass this in to get better performance.

  • topic_id - (required) The ID for the topic to edit.

get_list(client, args \\ [])
get_list(client, args) :: response

Get a list of discussion topics in a group.

This method does not require authentication.

Arguments

  • group_id - (required) The NSID or path alias of the group to fetch information for.

  • per_page - Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.

  • page - The page of results to return. If this argument is omitted, it defaults to 1.