Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postSourcesSourceVerify
Synopsis
- postSourcesSourceVerify :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> PostSourcesSourceVerifyRequestBody -> m (Either HttpException (Response PostSourcesSourceVerifyResponse))
- postSourcesSourceVerifyRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> PostSourcesSourceVerifyRequestBody -> m (Either HttpException (Response ByteString))
- postSourcesSourceVerifyM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> PostSourcesSourceVerifyRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSourcesSourceVerifyResponse))
- postSourcesSourceVerifyRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> PostSourcesSourceVerifyRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostSourcesSourceVerifyRequestBody = PostSourcesSourceVerifyRequestBody {}
- data PostSourcesSourceVerifyResponse
Documentation
postSourcesSourceVerify Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Text | source | Constraints: Maximum length of 5000 |
-> PostSourcesSourceVerifyRequestBody | The request body to send |
-> m (Either HttpException (Response PostSourcesSourceVerifyResponse)) | Monad containing the result of the operation |
POST /v1/sources/{source}/verify
<p>Verify a given source.</p>
postSourcesSourceVerifyRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Text -> PostSourcesSourceVerifyRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/sources/{source}/verify
The same as postSourcesSourceVerify
but returns the raw ByteString
postSourcesSourceVerifyM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> PostSourcesSourceVerifyRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostSourcesSourceVerifyResponse)) Source #
POST /v1/sources/{source}/verify
Monadic version of postSourcesSourceVerify
(use with runWithConfiguration
)
postSourcesSourceVerifyRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Text -> PostSourcesSourceVerifyRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/sources/{source}/verify
Monadic version of postSourcesSourceVerifyRaw
(use with runWithConfiguration
)
data PostSourcesSourceVerifyRequestBody Source #
Defines the data type for the schema postSourcesSourceVerifyRequestBody
PostSourcesSourceVerifyRequestBody | |
|
data PostSourcesSourceVerifyResponse Source #
Represents a response of the operation postSourcesSourceVerify
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostSourcesSourceVerifyResponseError
is used.
PostSourcesSourceVerifyResponseError String | Means either no matching case available or a parse error |
PostSourcesSourceVerifyResponse200 Source | Successful response. |
PostSourcesSourceVerifyResponseDefault Error | Error response. |