| Copyright | (c) 2015-2025 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | GHC2021 |
Gogol.URLShortener.Url.Get
Contents
Description
Expands a short URL or gets creation time and analytics.
See: URL Shortener API Reference for urlshortener.url.get.
Synopsis
- type URLShortenerUrlGetResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "shortUrl" Text :> (QueryParam "projection" UrlGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Url)))))
- data URLShortenerUrlGet = URLShortenerUrlGet {}
- newURLShortenerUrlGet :: Text -> URLShortenerUrlGet
Resource
type URLShortenerUrlGetResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "shortUrl" Text :> (QueryParam "projection" UrlGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] Url))))) Source #
A resource alias for urlshortener.url.get method which the
URLShortenerUrlGet request conforms to.
Constructing a Request
data URLShortenerUrlGet Source #
Expands a short URL or gets creation time and analytics.
See: newURLShortenerUrlGet smart constructor.
Constructors
| URLShortenerUrlGet | |
Fields
| |
Instances
newURLShortenerUrlGet Source #
Arguments
| :: Text | The short URL, including the protocol. See |
| -> URLShortenerUrlGet |
Creates a value of URLShortenerUrlGet with the minimum fields required to make a request.