# Deployments

## Reference

- v4 API:
  - `gitlab.v4.objects.ProjectDeployment`
  - `gitlab.v4.objects.ProjectDeploymentManager`
  - `gitlab.v4.objects.Project.deployments`
- v3 API:
  - `gitlab.v3.objects.ProjectDeployment`
  - `gitlab.v3.objects.ProjectDeploymentManager`
  - `gitlab.v3.objects.Project.deployments`
  - `gitlab.Gitlab.project_deployments`
- GitLab API: https://docs.gitlab.com/ce/api/deployments.html

## Examples

List deployments for a project:

    deployments = project.deployments.list()

Get a single deployment:

    deployment = project.deployments.get(deployment_id)