blob: 0845ac89a8b8ca881f66e304beae9a1c7e152753 [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">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#list">list(blogId, fetchBodies=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<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 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700100 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
101 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
102 &quot;author&quot;: { # The author of this Page.
103 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
104 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
105 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
106 &quot;image&quot;: { # The creator&#x27;s avatar.
107 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700108 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700109 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700110 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
111 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
112 &quot;blog&quot;: { # Data about the blog containing this Page.
113 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
114 },
115 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
116 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
117 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
118 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
119 # interface.
120 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
121 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700122 }</pre>
123</div>
124
125<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 <code class="details" id="list">list(blogId, fetchBodies=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 <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)
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 fetchBodies: boolean, A parameter
Dan O'Mearadd494642020-05-01 07:42:23 -0700132 x__xgafv: string, V1 error format.
133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700136
137Returns:
138 An object of the form:
139
140 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;etag&quot;: &quot;A String&quot;, # Etag of the response.
142 &quot;items&quot;: [ # The list of Pages for a Blog.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700143 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700144 &quot;status&quot;: &quot;A String&quot;, # The status of the page for admin resources (either LIVE or DRAFT).
145 &quot;content&quot;: &quot;A String&quot;, # The body content of this Page, in HTML.
146 &quot;author&quot;: { # The author of this Page.
147 &quot;url&quot;: &quot;A String&quot;, # The URL of the creator&#x27;s Profile page.
148 &quot;id&quot;: &quot;A String&quot;, # The identifier of the creator.
149 &quot;displayName&quot;: &quot;A String&quot;, # The display name.
150 &quot;image&quot;: { # The creator&#x27;s avatar.
151 &quot;url&quot;: &quot;A String&quot;, # The creator&#x27;s avatar URL.
Dan O'Mearadd494642020-05-01 07:42:23 -0700152 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700153 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 &quot;updated&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was last updated.
155 &quot;id&quot;: &quot;A String&quot;, # The identifier for this resource.
156 &quot;blog&quot;: { # Data about the blog containing this Page.
157 &quot;id&quot;: &quot;A String&quot;, # The identifier of the blog containing this page.
158 },
159 &quot;published&quot;: &quot;A String&quot;, # RFC 3339 date-time when this Page was published.
160 &quot;url&quot;: &quot;A String&quot;, # The URL that this Page is displayed at.
161 &quot;etag&quot;: &quot;A String&quot;, # Etag of the resource.
162 &quot;title&quot;: &quot;A String&quot;, # The title of this entity. This is the name displayed in the Admin user
163 # interface.
164 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#page.
165 &quot;selfLink&quot;: &quot;A String&quot;, # The API REST URL to fetch this resource from.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700166 },
167 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700168 &quot;kind&quot;: &quot;A String&quot;, # The kind of this entity. Always blogger#pageList.
169 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to fetch the next page, if one exists.
Sai Cheemalapatidf613972016-10-21 13:59:49 -0700170 }</pre>
171</div>
172
173</body></html>