google_api_blogger v0.0.1 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

Link to this function blogger_post_user_infos_get(connection, user_id, blog_id, post_id, opts \\ []) View Source
blogger_post_user_infos_get(Tesla.Env.client, String.t, String.t, String.t, keyword) ::
  {:ok, GoogleApi.Blogger.V3.Model.PostUserInfo.t} |
  {:error, Tesla.Env.t}

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): 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): The ID of the blog.
  • post_id (String): The ID of the post to get.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :key (String): 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): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :max_comments (Integer): Maximum number of comments to pull back on a post.

Returns

{:ok, %GoogleApi.Blogger.V3.Model.PostUserInfo{}} on success {:error, info} on failure

Link to this function blogger_post_user_infos_list(connection, user_id, blog_id, opts \\ []) View Source
blogger_post_user_infos_list(Tesla.Env.client, String.t, String.t, keyword) ::
  {:ok, GoogleApi.Blogger.V3.Model.PostUserInfosList.t} |
  {:error, Tesla.Env.t}

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): 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): ID of the blog to fetch posts from.
  • opts (KeywordList): [optional] Optional parameters

    • :alt (String): Data format for the response.
    • :fields (String): Selector specifying which fields to include in a partial response.
    • :key (String): 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): OAuth 2.0 token for the current user.
    • :pretty_print (Boolean): Returns response with indentations and line breaks.
    • :quota_user (String): Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
    • :user_ip (String): IP address of the site where the request originates. Use this if you want to enforce per-user limits.
    • :end_date (String): Latest post date to fetch, a date-time with RFC 3339 formatting.
    • :fetch_bodies (Boolean): Whether the body content of posts is included. Default is false.
    • :labels (String): Comma-separated list of labels to search for.
    • :max_results (Integer): Maximum number of posts to fetch.
    • :order_by (String): Sort order applied to search results. Default is published.
    • :page_token (String): Continuation token if the request is paged.
    • :start_date (String): Earliest post date to fetch, a date-time with RFC 3339 formatting.
    • :status (List[String]):
    • :view (String): 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