diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deployments.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/api/deployments.md b/doc/api/deployments.md index 586f3edf51e..a2e56fc8557 100644 --- a/doc/api/deployments.md +++ b/doc/api/deployments.md @@ -9,9 +9,6 @@ type: concepts, howto ## List project deployments -> The `updated_after` and `updated_before` attributes were removed and replaced - by `finished_after` and `finished_before` respectively in GitLab 14.0. - Get a list of deployments in a project. ```plaintext @@ -23,8 +20,8 @@ GET /projects/:id/deployments | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user. | | `order_by` | string | no | Return deployments ordered by either one of `id`, `iid`, `created_at`, `updated_at` or `ref` fields. Default is `id`. | | `sort` | string | no | Return deployments sorted in `asc` or `desc` order. Default is `asc`. | -| `finished_after` | datetime | no | Return deployments updated after the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). | -| `finished_before` | datetime | no | Return deployments updated before the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). | +| `updated_after` | datetime | no | Return deployments updated after the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). | +| `updated_before` | datetime | no | Return deployments updated before the specified date. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). | | `environment` | string | no | The [name of the environment](../ci/environments/index.md) to filter deployments by. | | `status` | string | no | The status to filter deployments by. One of `created`, `running`, `success`, `failed`, `canceled`. |