Blogger API v3 . pages

Instance Methods

get(blogId=*, pageId=*, x__xgafv=None)

Gets a page by blog id and page id.

list(blogId=*, x__xgafv=None, fetchBodies=None)

Lists pages.

Method Details

get(blogId=*, pageId=*, x__xgafv=None)
Gets a page by blog id and page id.

Args:
  blogId: string, A parameter (required)
  pageId: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
    "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
    "content": "A String", # The body content of this Page, in HTML.
    "kind": "A String", # The kind of this entity. Always blogger#page.
    "author": { # The author of this Page.
      "url": "A String", # The URL of the creator's Profile page.
      "image": { # The creator's avatar.
        "url": "A String", # The creator's avatar URL.
      },
      "displayName": "A String", # The display name.
      "id": "A String", # The identifier of the creator.
    },
    "url": "A String", # The URL that this Page is displayed at.
    "title": "A String", # The title of this entity. This is the name displayed in the Admin user
        # interface.
    "updated": "A String", # RFC 3339 date-time when this Page was last updated.
    "blog": { # Data about the blog containing this Page.
      "id": "A String", # The identifier of the blog containing this page.
    },
    "etag": "A String", # Etag of the resource.
    "published": "A String", # RFC 3339 date-time when this Page was published.
    "id": "A String", # The identifier for this resource.
    "selfLink": "A String", # The API REST URL to fetch this resource from.
  }
list(blogId=*, x__xgafv=None, fetchBodies=None)
Lists pages.

Args:
  blogId: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
  fetchBodies: boolean, A parameter

Returns:
  An object of the form:

    {
    "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists.
    "items": [ # The list of Pages for a Blog.
      {
        "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
        "content": "A String", # The body content of this Page, in HTML.
        "kind": "A String", # The kind of this entity. Always blogger#page.
        "author": { # The author of this Page.
          "url": "A String", # The URL of the creator's Profile page.
          "image": { # The creator's avatar.
            "url": "A String", # The creator's avatar URL.
          },
          "displayName": "A String", # The display name.
          "id": "A String", # The identifier of the creator.
        },
        "url": "A String", # The URL that this Page is displayed at.
        "title": "A String", # The title of this entity. This is the name displayed in the Admin user
            # interface.
        "updated": "A String", # RFC 3339 date-time when this Page was last updated.
        "blog": { # Data about the blog containing this Page.
          "id": "A String", # The identifier of the blog containing this page.
        },
        "etag": "A String", # Etag of the resource.
        "published": "A String", # RFC 3339 date-time when this Page was published.
        "id": "A String", # The identifier for this resource.
        "selfLink": "A String", # The API REST URL to fetch this resource from.
      },
    ],
    "kind": "A String", # The kind of this entity. Always blogger#pageList.
    "etag": "A String", # Etag of the response.
  }