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 |
Retrieve the list of APIs supported at this endpoint.
See: APIs Discovery Service Reference for discovery.apis.list
.
- type APIsListResource = "discovery" :> ("v1" :> ("apis" :> (QueryParam "preferred" Bool :> (QueryParam "name" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` DirectoryList)))))
- apisList :: APIsList
- data APIsList
- alPreferred :: Lens' APIsList Bool
- alName :: Lens' APIsList (Maybe Text)
REST Resource
type APIsListResource = "discovery" :> ("v1" :> ("apis" :> (QueryParam "preferred" Bool :> (QueryParam "name" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` DirectoryList))))) Source
A resource alias for discovery.apis.list
method which the
APIsList
request conforms to.
Creating a Request
Creates a value of APIsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieve the list of APIs supported at this endpoint.
See: apisList
smart constructor.
Request Lenses
alPreferred :: Lens' APIsList Bool Source
Return only the preferred version of an API.