blob: 58166b4b5043d8dba58a311df05693ca4f3d07f6 [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
75<h1><a href="blogger_v2.html">Blogger API</a> . <a href="blogger_v2.users.html">users</a> . <a href="blogger_v2.users.blogs.html">blogs</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#list">list(userId)</a></code></p>
79<p class="firstline">Retrieves a list of blogs, possibly filtered.</p>
80<h3>Method Details</h3>
81<div class="method">
82 <code class="details" id="list">list(userId)</code>
83 <pre>Retrieves a list of blogs, possibly filtered.
84
85Args:
86 userId: string, ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier. (required)
87
88Returns:
89 An object of the form:
90
91 {
92 "items": [ # The list of Blogs this user has Authorship or Admin rights over.
93 {
94 "kind": "blogger#blog", # The kind of this entry. Always blogger#blog
95 "description": "A String", # The description of this blog. This is displayed underneath the title.
96 "locale": { # The locale this Blog is set to.
97 "country": "A String", # The country this blog's locale is set to.
98 "variant": "A String", # The language variant this blog is authored in.
99 "language": "A String", # The language this blog is authored in.
100 },
101 "posts": { # The container of posts in this blog.
102 "totalItems": 42, # The count of posts in this blog.
103 "selfLink": "A String", # The URL of the container for posts in this blog.
104 },
105 "updated": "A String", # RFC 3339 date-time when this blog was last updated.
106 "id": "A String", # The identifier for this resource.
107 "url": "A String", # The URL where this blog is published.
108 "published": "A String", # RFC 3339 date-time when this blog was published.
109 "pages": { # The container of pages in this blog.
110 "totalItems": 42, # The count of pages in this blog.
111 "selfLink": "A String", # The URL of the container for pages in this blog.
112 },
113 "selfLink": "A String", # The API REST URL to fetch this resource from.
114 "name": "A String", # The name of this blog. This is displayed as the title.
115 },
116 ],
117 "kind": "blogger#blogList", # The kind of this entity. Always blogger#blogList
118 }</pre>
119</div>
120
121</body></html>