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 |
Lists all shared albums shown to a user in the 'Sharing' tab of the Google Photos app.
See: Photos Library API Reference for photoslibrary.sharedAlbums.list
.
Synopsis
- type SharedAlbumsListResource = "v1" :> ("sharedAlbums" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSharedAlbumsResponse)))))))))))
- sharedAlbumsList :: SharedAlbumsList
- data SharedAlbumsList
- salXgafv :: Lens' SharedAlbumsList (Maybe Xgafv)
- salUploadProtocol :: Lens' SharedAlbumsList (Maybe Text)
- salPp :: Lens' SharedAlbumsList Bool
- salAccessToken :: Lens' SharedAlbumsList (Maybe Text)
- salUploadType :: Lens' SharedAlbumsList (Maybe Text)
- salBearerToken :: Lens' SharedAlbumsList (Maybe Text)
- salPageToken :: Lens' SharedAlbumsList (Maybe Text)
- salPageSize :: Lens' SharedAlbumsList (Maybe Int32)
- salCallback :: Lens' SharedAlbumsList (Maybe Text)
REST Resource
type SharedAlbumsListResource = "v1" :> ("sharedAlbums" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListSharedAlbumsResponse))))))))))) Source #
A resource alias for photoslibrary.sharedAlbums.list
method which the
SharedAlbumsList
request conforms to.
Creating a Request
sharedAlbumsList :: SharedAlbumsList Source #
Creates a value of SharedAlbumsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SharedAlbumsList Source #
Lists all shared albums shown to a user in the 'Sharing' tab of the Google Photos app.
See: sharedAlbumsList
smart constructor.
Request Lenses
salUploadProtocol :: Lens' SharedAlbumsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
salAccessToken :: Lens' SharedAlbumsList (Maybe Text) Source #
OAuth access token.
salUploadType :: Lens' SharedAlbumsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
salBearerToken :: Lens' SharedAlbumsList (Maybe Text) Source #
OAuth bearer token.
salPageToken :: Lens' SharedAlbumsList (Maybe Text) Source #
A continuation token to get the next page of the results. Adding this to the request will return the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the listSharedAlbums request.
salPageSize :: Lens' SharedAlbumsList (Maybe Int32) Source #
Maximum number of albums to return in the response. The default number of albums to return at a time is 20. The maximum page size is 50.
salCallback :: Lens' SharedAlbumsList (Maybe Text) Source #
JSONP