| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.URLShortener.URL.List
Description
Retrieves a list of URLs shortened by a user.
See: URL Shortener API Reference for urlshortener.url.list.
- type URLListResource = "urlshortener" :> ("v1" :> ("url" :> ("history" :> (QueryParam "start-token" Text :> (QueryParam "projection" URLListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] URLHistory))))))
- urlList :: URLList
- data URLList
- ulStartToken :: Lens' URLList (Maybe Text)
- ulProjection :: Lens' URLList (Maybe URLListProjection)
REST Resource
type URLListResource = "urlshortener" :> ("v1" :> ("url" :> ("history" :> (QueryParam "start-token" Text :> (QueryParam "projection" URLListProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] URLHistory)))))) Source #
A resource alias for urlshortener.url.list method which the
URLList request conforms to.
Creating a Request
Creates a value of URLList with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a list of URLs shortened by a user.
See: urlList smart constructor.
Request Lenses
ulStartToken :: Lens' URLList (Maybe Text) Source #
Token for requesting successive pages of results.
ulProjection :: Lens' URLList (Maybe URLListProjection) Source #
Additional information to return.