diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-19 12:13:27 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-19 12:13:27 +0000 |
commit | 9fe6c2b2c2dd92831c93297021b41d6721e4b201 (patch) | |
tree | 004c64b2d777770e606a10500e1a5735c162331a /doc/api | |
parent | ff97afdd589b0c3dd93db9eca83b13a09a704a2e (diff) | |
parent | ef633d24786707672377312eea850ce2eb63f573 (diff) | |
download | gitlab-ce-9fe6c2b2c2dd92831c93297021b41d6721e4b201.tar.gz |
Merge branch 'add-since-and-until-params-to-issuables' into 'master'
add created_after and created_before params to issuables
Closes #32901
See merge request !12151
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/issues.md | 3 | ||||
-rw-r--r-- | doc/api/merge_requests.md | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index 3f949ca5667..df5666bb7b6 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -221,7 +221,8 @@ GET /projects/:id/issues?search=issue+title+or+description | `order_by` | string | no | Return requests ordered by `created_at` or `updated_at` fields. Default is `created_at` | | `sort` | string | no | Return requests sorted in `asc` or `desc` order. Default is `desc` | | `search` | string | no | Search project issues against their `title` and `description` | - +| `created_after` | datetime | no | Return issues created after the given time (inclusive) | +| `created_before` | datetime | no | Return issues created before the given time (inclusive) | ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/4/issues diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index cb22b67f556..3dc808c196d 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -26,6 +26,8 @@ Parameters: | `sort` | string | no | Return requests sorted in `asc` or `desc` order. Default is `desc` | | `milestone` | string | no | Return merge requests for a specific milestone | | `labels` | string | no | Return merge requests matching a comma separated list of labels | +| `created_after` | datetime | no | Return merge requests created after the given time (inclusive) | +| `created_before` | datetime | no | Return merge requests created before the given time (inclusive) | ```json [ |