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 |
Lists the bases in a reference, optionally restricted to a range. Implements GlobalAllianceApi.getReferenceBases.
See: API Reference for genomics.references.bases.list
.
- type ReferencesBasesListResource = "v1" :> ("references" :> (Capture "referenceId" Text :> ("bases" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "start" (Textual Int64) :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "end" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListBasesResponse)))))))))))))))
- referencesBasesList :: Text -> ReferencesBasesList
- data ReferencesBasesList
- rblXgafv :: Lens' ReferencesBasesList (Maybe Text)
- rblUploadProtocol :: Lens' ReferencesBasesList (Maybe Text)
- rblPp :: Lens' ReferencesBasesList Bool
- rblAccessToken :: Lens' ReferencesBasesList (Maybe Text)
- rblStart :: Lens' ReferencesBasesList (Maybe Int64)
- rblUploadType :: Lens' ReferencesBasesList (Maybe Text)
- rblReferenceId :: Lens' ReferencesBasesList Text
- rblBearerToken :: Lens' ReferencesBasesList (Maybe Text)
- rblEnd :: Lens' ReferencesBasesList (Maybe Int64)
- rblPageToken :: Lens' ReferencesBasesList (Maybe Text)
- rblPageSize :: Lens' ReferencesBasesList (Maybe Int32)
- rblCallback :: Lens' ReferencesBasesList (Maybe Text)
REST Resource
type ReferencesBasesListResource = "v1" :> ("references" :> (Capture "referenceId" Text :> ("bases" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "start" (Textual Int64) :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "end" (Textual Int64) :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListBasesResponse))))))))))))))) Source
A resource alias for genomics.references.bases.list
method which the
ReferencesBasesList
request conforms to.
Creating a Request
Creates a value of ReferencesBasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReferencesBasesList Source
Lists the bases in a reference, optionally restricted to a range. Implements GlobalAllianceApi.getReferenceBases.
See: referencesBasesList
smart constructor.
Request Lenses
rblUploadProtocol :: Lens' ReferencesBasesList (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
rblPp :: Lens' ReferencesBasesList Bool Source
Pretty-print response.
rblAccessToken :: Lens' ReferencesBasesList (Maybe Text) Source
OAuth access token.
rblStart :: Lens' ReferencesBasesList (Maybe Int64) Source
The start position (0-based) of this query. Defaults to 0.
rblUploadType :: Lens' ReferencesBasesList (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
rblReferenceId :: Lens' ReferencesBasesList Text Source
The ID of the reference.
rblBearerToken :: Lens' ReferencesBasesList (Maybe Text) Source
OAuth bearer token.
rblEnd :: Lens' ReferencesBasesList (Maybe Int64) Source
The end position (0-based, exclusive) of this query. Defaults to the length of this reference.
rblPageToken :: Lens' ReferencesBasesList (Maybe Text) Source
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
rblPageSize :: Lens' ReferencesBasesList (Maybe Int32) Source
Specifies the maximum number of bases to return in a single page.
rblCallback :: Lens' ReferencesBasesList (Maybe Text) Source
JSONP