Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the pages for a blog, optionally including non-LIVE statuses.
See: Blogger API Reference for blogger.pages.list
.
Synopsis
- type PagesListResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (QueryParams "status" PagesListStatus :> (QueryParam "fetchBodies" Bool :> (QueryParam "view" PagesListView :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PageList))))))))))
- pagesList :: Text -> PagesList
- data PagesList
- plStatus :: Lens' PagesList [PagesListStatus]
- plBlogId :: Lens' PagesList Text
- plFetchBodies :: Lens' PagesList (Maybe Bool)
- plView :: Lens' PagesList (Maybe PagesListView)
- plPageToken :: Lens' PagesList (Maybe Text)
- plMaxResults :: Lens' PagesList (Maybe Word32)
REST Resource
type PagesListResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (QueryParams "status" PagesListStatus :> (QueryParam "fetchBodies" Bool :> (QueryParam "view" PagesListView :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PageList)))))))))) Source #
A resource alias for blogger.pages.list
method which the
PagesList
request conforms to.
Creating a Request
Creates a value of PagesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves the pages for a blog, optionally including non-LIVE statuses.
See: pagesList
smart constructor.