Safe Haskell | None |
---|---|
Language | Haskell2010 |
The deployments API, as described at https://developer.github.com/v3/repos/deployments/
Synopsis
- deploymentsWithOptionsForR :: FromJSON a => Name Owner -> Name Repo -> FetchCount -> [DeploymentQueryOption] -> Request 'RA (Vector (Deployment a))
- createDeploymentR :: (ToJSON a, FromJSON a) => Name Owner -> Name Repo -> CreateDeployment a -> Request 'RW (Deployment a)
- deploymentStatusesForR :: Name Owner -> Name Repo -> Id (Deployment a) -> FetchCount -> Request 'RA (Vector DeploymentStatus)
- createDeploymentStatusR :: Name Owner -> Name Repo -> Id (Deployment a) -> CreateDeploymentStatus -> Request 'RW DeploymentStatus
- module GitHub.Data
Documentation
deploymentsWithOptionsForR :: FromJSON a => Name Owner -> Name Repo -> FetchCount -> [DeploymentQueryOption] -> Request 'RA (Vector (Deployment a)) Source #
List deployments. See https://developer.github.com/v3/repos/deployments/#list-deployments
createDeploymentR :: (ToJSON a, FromJSON a) => Name Owner -> Name Repo -> CreateDeployment a -> Request 'RW (Deployment a) Source #
Create a deployment. See https://developer.github.com/v3/repos/deployments/#create-a-deployment
deploymentStatusesForR :: Name Owner -> Name Repo -> Id (Deployment a) -> FetchCount -> Request 'RA (Vector DeploymentStatus) Source #
List deployment statuses. See https://developer.github.com/v3/repos/deployments/#list-deployment-statuses
createDeploymentStatusR :: Name Owner -> Name Repo -> Id (Deployment a) -> CreateDeploymentStatus -> Request 'RW DeploymentStatus Source #
Create a deployment status. See https://developer.github.com/v3/repos/deployments/#list-deployment-statuses
module GitHub.Data