Copyright | (c) 2015 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 a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.
See: Blogger API Reference for blogger.postUserInfos.list
.
- type PostUserInfosListResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (QueryParams "status" PostUserInfosListStatus :> (QueryParam "orderBy" PostUserInfosListOrderBy :> (QueryParam "endDate" DateTime' :> (QueryParam "startDate" DateTime' :> (QueryParam "fetchBodies" Bool :> (QueryParam "view" PostUserInfosListView :> (QueryParam "labels" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` PostUserInfosList))))))))))))))))
- postUserInfosList' :: Text -> Text -> PostUserInfosList'
- data PostUserInfosList'
- puilStatus :: Lens' PostUserInfosList' [PostUserInfosListStatus]
- puilOrderBy :: Lens' PostUserInfosList' PostUserInfosListOrderBy
- puilEndDate :: Lens' PostUserInfosList' (Maybe UTCTime)
- puilBlogId :: Lens' PostUserInfosList' Text
- puilUserId :: Lens' PostUserInfosList' Text
- puilStartDate :: Lens' PostUserInfosList' (Maybe UTCTime)
- puilFetchBodies :: Lens' PostUserInfosList' Bool
- puilView :: Lens' PostUserInfosList' (Maybe PostUserInfosListView)
- puilLabels :: Lens' PostUserInfosList' (Maybe Text)
- puilPageToken :: Lens' PostUserInfosList' (Maybe Text)
- puilMaxResults :: Lens' PostUserInfosList' (Maybe Word32)
REST Resource
type PostUserInfosListResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (QueryParams "status" PostUserInfosListStatus :> (QueryParam "orderBy" PostUserInfosListOrderBy :> (QueryParam "endDate" DateTime' :> (QueryParam "startDate" DateTime' :> (QueryParam "fetchBodies" Bool :> (QueryParam "view" PostUserInfosListView :> (QueryParam "labels" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` PostUserInfosList)))))))))))))))) Source
A resource alias for blogger.postUserInfos.list
method which the
PostUserInfosList'
request conforms to.
Creating a Request
Creates a value of PostUserInfosList'
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PostUserInfosList' Source
Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.
See: postUserInfosList'
smart constructor.
Request Lenses
puilOrderBy :: Lens' PostUserInfosList' PostUserInfosListOrderBy Source
Sort order applied to search results. Default is published.
puilEndDate :: Lens' PostUserInfosList' (Maybe UTCTime) Source
Latest post date to fetch, a date-time with RFC 3339 formatting.
puilBlogId :: Lens' PostUserInfosList' Text Source
ID of the blog to fetch posts from.
puilUserId :: Lens' PostUserInfosList' Text Source
ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.
puilStartDate :: Lens' PostUserInfosList' (Maybe UTCTime) Source
Earliest post date to fetch, a date-time with RFC 3339 formatting.
puilFetchBodies :: Lens' PostUserInfosList' Bool Source
Whether the body content of posts is included. Default is false.
puilView :: Lens' PostUserInfosList' (Maybe PostUserInfosListView) Source
Access level with which to view the returned result. Note that some fields require elevated access.
puilLabels :: Lens' PostUserInfosList' (Maybe Text) Source
Comma-separated list of labels to search for.
puilPageToken :: Lens' PostUserInfosList' (Maybe Text) Source
Continuation token if the request is paged.
puilMaxResults :: Lens' PostUserInfosList' (Maybe Word32) Source
Maximum number of posts to fetch.