Home | History | Annotate | Download | only in dyn
      1 <html><body>
      2 <style>
      3 
      4 body, 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 
     15 body {
     16   font-size: 13px;
     17   padding: 1em;
     18 }
     19 
     20 h1 {
     21   font-size: 26px;
     22   margin-bottom: 1em;
     23 }
     24 
     25 h2 {
     26   font-size: 24px;
     27   margin-bottom: 1em;
     28 }
     29 
     30 h3 {
     31   font-size: 20px;
     32   margin-bottom: 1em;
     33   margin-top: 1em;
     34 }
     35 
     36 pre, code {
     37   line-height: 1.5;
     38   font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
     39 }
     40 
     41 pre {
     42   margin-top: 0.5em;
     43 }
     44 
     45 h1, h2, h3, p {
     46   font-family: Arial, sans serif;
     47 }
     48 
     49 h1, 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.pages.html">pages</a></h1>
     76 <h2>Instance Methods</h2>
     77 <p class="toc_element">
     78   <code><a href="#get">get(blogId, pageId)</a></code></p>
     79 <p class="firstline">Gets one blog page by id.</p>
     80 <p class="toc_element">
     81   <code><a href="#list">list(blogId, fetchBodies=None)</a></code></p>
     82 <p class="firstline">Retrieves pages for a blog, possibly filtered.</p>
     83 <h3>Method Details</h3>
     84 <div class="method">
     85     <code class="details" id="get">get(blogId, pageId)</code>
     86   <pre>Gets one blog page by id.
     87 
     88 Args:
     89   blogId: string, ID of the blog containing the page. (required)
     90   pageId: string, The ID of the page to get. (required)
     91 
     92 Returns:
     93   An object of the form:
     94 
     95     {
     96     "content": "A String", # The body content of this Page, in HTML.
     97     "kind": "blogger#page", # The kind of this entity. Always blogger#page
     98     "author": { # The author of this Page.
     99       "url": "A String", # The URL of the Page creator's Profile page.
    100       "image": { # The page author's avatar.
    101         "url": "A String", # The page author's avatar URL.
    102       },
    103       "displayName": "A String", # The display name.
    104       "id": "A String", # The identifier of the Page creator.
    105     },
    106     "url": "A String", # The URL that this Page is displayed at.
    107     "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
    108     "updated": "A String", # RFC 3339 date-time when this Page was last updated.
    109     "blog": { # Data about the blog containing this Page.
    110       "id": "A String", # The identifier of the blog containing this page.
    111     },
    112     "published": "A String", # RFC 3339 date-time when this Page was published.
    113     "id": "A String", # The identifier for this resource.
    114     "selfLink": "A String", # The API REST URL to fetch this resource from.
    115   }</pre>
    116 </div>
    117 
    118 <div class="method">
    119     <code class="details" id="list">list(blogId, fetchBodies=None)</code>
    120   <pre>Retrieves pages for a blog, possibly filtered.
    121 
    122 Args:
    123   blogId: string, ID of the blog to fetch pages from. (required)
    124   fetchBodies: boolean, Whether to retrieve the Page bodies.
    125 
    126 Returns:
    127   An object of the form:
    128 
    129     {
    130     "items": [ # The list of Pages for a Blog.
    131       {
    132         "content": "A String", # The body content of this Page, in HTML.
    133         "kind": "blogger#page", # The kind of this entity. Always blogger#page
    134         "author": { # The author of this Page.
    135           "url": "A String", # The URL of the Page creator's Profile page.
    136           "image": { # The page author's avatar.
    137             "url": "A String", # The page author's avatar URL.
    138           },
    139           "displayName": "A String", # The display name.
    140           "id": "A String", # The identifier of the Page creator.
    141         },
    142         "url": "A String", # The URL that this Page is displayed at.
    143         "title": "A String", # The title of this entity. This is the name displayed in the Admin user interface.
    144         "updated": "A String", # RFC 3339 date-time when this Page was last updated.
    145         "blog": { # Data about the blog containing this Page.
    146           "id": "A String", # The identifier of the blog containing this page.
    147         },
    148         "published": "A String", # RFC 3339 date-time when this Page was published.
    149         "id": "A String", # The identifier for this resource.
    150         "selfLink": "A String", # The API REST URL to fetch this resource from.
    151       },
    152     ],
    153     "kind": "blogger#pageList", # The kind of this entity. Always blogger#pageList
    154   }</pre>
    155 </div>
    156 
    157 </body></html>