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 |
Searches for annotation sets that match the given criteria. Annotation sets are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotation sets in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried datasets.
See: Genomics API Reference for genomics.annotationsets.search
.
- type AnnotationSetsSearchResource = "v1" :> ("annotationsets" :> ("search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchAnnotationSetsRequest :> Post '[JSON] SearchAnnotationSetsResponse)))))))))))
- annotationSetsSearch :: SearchAnnotationSetsRequest -> AnnotationSetsSearch
- data AnnotationSetsSearch
- assXgafv :: Lens' AnnotationSetsSearch (Maybe Xgafv)
- assUploadProtocol :: Lens' AnnotationSetsSearch (Maybe Text)
- assPp :: Lens' AnnotationSetsSearch Bool
- assAccessToken :: Lens' AnnotationSetsSearch (Maybe Text)
- assUploadType :: Lens' AnnotationSetsSearch (Maybe Text)
- assPayload :: Lens' AnnotationSetsSearch SearchAnnotationSetsRequest
- assBearerToken :: Lens' AnnotationSetsSearch (Maybe Text)
- assCallback :: Lens' AnnotationSetsSearch (Maybe Text)
REST Resource
type AnnotationSetsSearchResource = "v1" :> ("annotationsets" :> ("search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchAnnotationSetsRequest :> Post '[JSON] SearchAnnotationSetsResponse))))))))))) Source #
A resource alias for genomics.annotationsets.search
method which the
AnnotationSetsSearch
request conforms to.
Creating a Request
Creates a value of AnnotationSetsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AnnotationSetsSearch Source #
Searches for annotation sets that match the given criteria. Annotation sets are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotation sets in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried datasets.
See: annotationSetsSearch
smart constructor.
Request Lenses
assUploadProtocol :: Lens' AnnotationSetsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
assAccessToken :: Lens' AnnotationSetsSearch (Maybe Text) Source #
OAuth access token.
assUploadType :: Lens' AnnotationSetsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
assPayload :: Lens' AnnotationSetsSearch SearchAnnotationSetsRequest Source #
Multipart request metadata.
assBearerToken :: Lens' AnnotationSetsSearch (Maybe Text) Source #
OAuth bearer token.
assCallback :: Lens' AnnotationSetsSearch (Maybe Text) Source #
JSONP