google_api_blogger v0.2.0 GoogleApi.Blogger.V3.Api.PostUserInfos View Source
API calls for all endpoints tagged PostUserInfos
.
Link to this section Summary
Functions
Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.
Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.
Link to this section Functions
blogger_post_user_infos_get(connection, user_id, blog_id, post_id, optional_params \\ [], opts \\ []) View Source
Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.
Parameters
- connection (GoogleApi.Blogger.V3.Connection): Connection to server
- user_id (String.t): ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
- blog_id (String.t): The ID of the blog.
- post_id (String.t): The ID of the post to get.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :maxComments (integer()): Maximum number of comments to pull back on a post.
Returns
{:ok, %GoogleApi.Blogger.V3.Model.PostUserInfo{}} on success {:error, info} on failure
blogger_post_user_infos_list(connection, user_id, blog_id, optional_params \\ [], opts \\ []) View Source
Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.
Parameters
- connection (GoogleApi.Blogger.V3.Connection): Connection to server
- user_id (String.t): ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
- blog_id (String.t): ID of the blog to fetch posts from.
optional_params (KeywordList): [optional] Optional parameters
- :alt (String.t): Data format for the response.
- :fields (String.t): Selector specifying which fields to include in a partial response.
- :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
- :oauth_token (String.t): OAuth 2.0 token for the current user.
- :prettyPrint (boolean()): Returns response with indentations and line breaks.
- :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
- :userIp (String.t): Deprecated. Please use quotaUser instead.
- :endDate (DateTime.t): Latest post date to fetch, a date-time with RFC 3339 formatting.
- :fetchBodies (boolean()): Whether the body content of posts is included. Default is false.
- :labels (String.t): Comma-separated list of labels to search for.
- :maxResults (integer()): Maximum number of posts to fetch.
- :orderBy (String.t): Sort order applied to search results. Default is published.
- :pageToken (String.t): Continuation token if the request is paged.
- :startDate (DateTime.t): Earliest post date to fetch, a date-time with RFC 3339 formatting.
- :status ([String.t]):
- :view (String.t): Access level with which to view the returned result. Note that some fields require elevated access.
Returns
{:ok, %GoogleApi.Blogger.V3.Model.PostUserInfosList{}} on success {:error, info} on failure