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 |
Creates a new short URL.
See: URL Shortener API Reference for urlshortener.url.insert
.
REST Resource
type URLInsertResource = "urlshortener" :> ("v1" :> ("url" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URL :> Post '[JSON] URL)))) Source #
A resource alias for urlshortener.url.insert
method which the
URLInsert
request conforms to.
Creating a Request
Creates a new short URL.
See: urlInsert
smart constructor.