blob: 0d1c13808e81be212438df9cc1a5022d68d9198e [file] [log] [blame]
Sai Cheemalapatidf613972016-10-21 13:59:49 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Dan O'Mearadd494642020-05-01 07:42:23 -070075<h1><a href="blogger_v2.html">Blogger API v3</a> . <a href="blogger_v2.pages.html">pages</a></h1>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070076<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#get">get(blogId, pageId, x__xgafv=None)</a></code></p>
79<p class="firstline">Gets a page by blog id and page id.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070080<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#list">list(blogId, x__xgafv=None, fetchBodies=None)</a></code></p>
82<p class="firstline">Lists pages.</p>
Sai Cheemalapatidf613972016-10-21 13:59:49 -070083<h3>Method Details</h3>
84<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070085 <code class="details" id="get">get(blogId, pageId, x__xgafv=None)</code>
86 <pre>Gets a page by blog id and page id.
Sai Cheemalapatidf613972016-10-21 13:59:49 -070087
88Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070089 blogId: string, A parameter (required)
90 pageId: string, A parameter (required)
91 x__xgafv: string, V1 error format.
92 Allowed values
93 1 - v1 error format
94 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -070095
96Returns:
97 An object of the form:
98
99 {
Dan O'Mearadd494642020-05-01 07:42:23 -0700100 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700101 "blog": { # Data about the blog containing this Page.
102 "id": "A String", # The identifier of the blog containing this page.
103 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 "updated": "A String", # RFC 3339 date-time when this Page was last updated.
105 "title": "A String", # The title of this entity. This is the name displayed in the Admin user
106 # interface.
107 "url": "A String", # The URL that this Page is displayed at.
108 "author": { # The author of this Page.
109 "url": "A String", # The URL of the creator's Profile page.
110 "image": { # The creator's avatar.
111 "url": "A String", # The creator's avatar URL.
112 },
113 "displayName": "A String", # The display name.
114 "id": "A String", # The identifier of the creator.
115 },
116 "kind": "A String", # The kind of this entity. Always blogger#page.
117 "content": "A String", # The body content of this Page, in HTML.
118 "etag": "A String", # Etag of the resource.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700119 "published": "A String", # RFC 3339 date-time when this Page was published.
120 "id": "A String", # The identifier for this resource.
121 "selfLink": "A String", # The API REST URL to fetch this resource from.
122 }</pre>
123</div>
124
125<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700126 <code class="details" id="list">list(blogId, x__xgafv=None, fetchBodies=None)</code>
127 <pre>Lists pages.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700128
129Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700130 blogId: string, A parameter (required)
131 x__xgafv: string, V1 error format.
132 Allowed values
133 1 - v1 error format
134 2 - v2 error format
135 fetchBodies: boolean, A parameter
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700136
137Returns:
138 An object of the form:
139
140 {
Dan O'Mearadd494642020-05-01 07:42:23 -0700141 "nextPageToken": "A String", # Pagination token to fetch the next page, if one exists.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700142 "items": [ # The list of Pages for a Blog.
143 {
Dan O'Mearadd494642020-05-01 07:42:23 -0700144 "status": "A String", # The status of the page for admin resources (either LIVE or DRAFT).
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700145 "blog": { # Data about the blog containing this Page.
146 "id": "A String", # The identifier of the blog containing this page.
147 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700148 "updated": "A String", # RFC 3339 date-time when this Page was last updated.
149 "title": "A String", # The title of this entity. This is the name displayed in the Admin user
150 # interface.
151 "url": "A String", # The URL that this Page is displayed at.
152 "author": { # The author of this Page.
153 "url": "A String", # The URL of the creator's Profile page.
154 "image": { # The creator's avatar.
155 "url": "A String", # The creator's avatar URL.
156 },
157 "displayName": "A String", # The display name.
158 "id": "A String", # The identifier of the creator.
159 },
160 "kind": "A String", # The kind of this entity. Always blogger#page.
161 "content": "A String", # The body content of this Page, in HTML.
162 "etag": "A String", # Etag of the resource.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700163 "published": "A String", # RFC 3339 date-time when this Page was published.
164 "id": "A String", # The identifier for this resource.
165 "selfLink": "A String", # The API REST URL to fetch this resource from.
166 },
167 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700168 "kind": "A String", # The kind of this entity. Always blogger#pageList.
169 "etag": "A String", # Etag of the response.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700170 }</pre>
171</div>
172
173</body></html>