Toon Claes
670427cdde
Put the use of "No Label" in the description
...
To get the issues that have no label, the special keyword `No Label`
can be used. This `No Label` label can be used like any other label.
2017-03-16 13:54:49 +01:00
Bob Van Landuyt
ea70a0d674
Rename variable
...
merge_request_for_resolving_discussions ->
merge_request_to_resolve_discussions_of
2017-03-13 08:27:52 +01:00
Bob Van Landuyt
f86928953d
Always require MR-iid for resolving discussions
...
And deduplicate the finding of MR's & discussions. Now the searching
is done in the service, istead of the controller & the API.
2017-03-13 08:27:51 +01:00
Bob Van Landuyt
0267b83898
Delegate a single discussion to a new issue
...
Delegate a discussion in a merge request into a new issue.
The discussion wil be marked as resolved and a system note will be
added linking to the newly created issue.
2017-03-13 08:27:51 +01:00
Timothy Andrew
72ef8af758
Add documentation for !9530 .
2017-03-07 13:56:00 +05:30
Adam Niedzielski
c727d4328f
Remove "subscribed" field from API responses returning list of issues or merge requests
2017-03-06 14:17:07 +01:00
Vignesh Ravichandran
305f19ca26
Be able to list issues with no labels using API
2017-03-03 23:28:34 -08:00
Sean McGivern
d77bf0ed71
Merge branch '28257-issues-iids' into 'master'
...
API issues - support filtering by iids
Closes #28257
See merge request !9541
2017-03-02 10:57:17 +00:00
Robert Schilling
1ead6a9793
Use v4 endpoint in API docs
2017-03-01 18:39:40 +01:00
Jarka Kadlecova
c6181f9799
API issues - support filtering by iids
2017-03-01 07:28:10 +01:00
Robert Schilling
f2dd260413
Update documentation
2017-02-28 08:32:39 +01:00
Robert Schilling
abbc592ee1
Use POST in the endpoint description for :ressource/unsubscribe [ci skip]
2017-02-23 13:37:19 +01:00
Robert Schilling
ca68c81733
Update documentation
2017-02-22 09:43:27 +01:00
Oswaldo Ferreira
c2426b4eac
Unify issues search behavior by always filtering when ALL labels matches
2017-02-20 13:21:22 -03:00
Oswaldo Ferreira
c2d64d6702
Remove deprecated MR and Issue endpoints and preserve V3 namespace
2017-02-06 10:12:20 -02:00
Ruben Davila
0f3c9355c1
Add some API endpoints for time tracking.
...
New endpoints are:
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time"
POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time"
GET :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
2017-01-18 10:48:16 -06:00
David Eisner
7ef1c6408e
API: Implement project issues iid param with IssuesFinder and add tests
...
- Use IssuesFinder for the /issues API resouce
- Tests for iid filter in project issues API resource
- Tests for No Milestone filter in issues API resources
The "No Milestone" case was not previously tested, and the `/issues`
resource did not support the the `milestone` parameter.
- Return issues where all labels match from the issues and project issues
API resources, like the group issues resource already does. See
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6825#note_17474533
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-12 17:51:06 -05:00
Bob Van Landuyt
1123057ab7
Feature: delegate all open discussions to Issue
...
When a merge request can only be merged when all discussions are
resolved. This feature allows to easily delegate those discussions to a
new issue, while marking them as resolved in the merge request.
The user is presented with a new issue, prepared with mentions of all
unresolved discussions, including the first unresolved note of the
discussion, time and link to the note.
When the issue is created, the discussions in the merge request will get
a system note directing the user to the newly created issue.
2016-12-05 20:55:45 +01:00
Luis Alonso Chavez Armendariz
ed61d44e1e
Remove unnecessary sentences for status codes in the API documentation
2016-11-24 10:28:52 -07:00
Dmitriy Zaporozhets
cb7872c3a0
Remove /u/ prefix from user pages in documentation
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-10-13 14:24:09 +03:00
Robert Schilling
036cc8c27e
API: Expose issue#confidential
2016-08-31 09:20:04 +02:00
Douwe Maan
90441e85dd
Merge branch 'entity-api-web-url' into 'master'
...
api: expose web_url for project entities
## What does this MR do?
Adds a `web_url` field to project snippet, issues, and merge request API returned objects.
## Are there points in the code the reviewer needs to double check?
Tests. Are they sufficient? (I'm working on getting them to pass.)
## Why was this MR needed?
Creating the URL for an MR or issue from the MR is tedious in API libraries; it's easy for Gitlab to just provide it.
## What are the relevant issue numbers?
N/A
## Screenshots (if relevant)
N/A
## Does this MR meet the acceptance criteria?
- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG ) entry added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md )
- [x] API support added
- Tests
- [x] Added for this feature/bug
- [x] All builds are passing
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides )
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits )
See merge request !5631
2016-08-24 19:26:04 +00:00
Ben Boeckel
e43c4060b6
api: expose web_url for project entities
...
This allows web hooks to have a URL back to entities without having to
generate it themselves.
2016-08-24 10:32:31 -04:00
Ben Boeckel
a5f3bdc5c8
docs: fix table alignment
2016-08-24 10:29:58 -04:00
Ben Boeckel
ae4efc8d5e
docs: update created_at docs for creating issues via API
...
See also #19863 .
Fixes #18458 .
2016-08-24 10:29:41 -04:00
winniehell
e0a858efcc
use long options for curl examples in API documentation ( !5703 )
2016-08-09 01:42:50 +02:00
Robert Schilling
e7d9fcc1c9
API: Expose due_date for issues
2016-07-12 17:59:21 +02:00
Robert Schilling
87ac9c9850
Support creating a todo on issuables via API
2016-07-01 14:52:04 +02:00
Marc Siegfriedt
6587feba65
gitlab-org/gitlab-ce#17818 - add api call for issues by group
...
rely only on IssuesFinder
docs and changelog
2016-06-23 16:31:48 +00:00
Achilleas Pipinellis
870470730c
Merge branch 'doc/issue-move-assigns-labels-and-milestone' into 'master'
...
Add docs for assigning labels/milestone when moving issue
Extends https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3934
See merge request !4069
2016-06-15 09:36:19 +00:00
Grzegorz Bizon
0daa6b4321
Add docs for assigning labels/milestone when moving issue
...
[ci skip]
2016-06-15 11:33:09 +02:00
cnam-dep
5364400741
API: Expose Issue#user_notes_count
2016-05-09 16:07:35 +02:00
Michael Greene
28a7fe25fd
Allow back dating issues on update
2016-04-13 12:04:09 -05:00
Robert Schilling
fa3009095f
Make subscription API more RESTful
2016-04-13 13:52:13 +02:00
Robert Schilling
bd0be13f5b
API: Ability to subscribe and unsubscribe from an issue
2016-04-13 13:45:00 +02:00
Robert Schilling
fdbf368202
Fix doc for moving an issue
2016-04-13 12:03:05 +02:00
Robert Schilling
2b036025d6
Update tests for moving issues via API
2016-04-13 11:31:50 +02:00
Robert Schilling
482f67edb4
API: Ability to move an issue
2016-04-13 11:23:42 +02:00
Robert Schilling
fb2fde9d62
API: Expose subscribed? on issues
2016-04-08 15:53:04 +02:00
Zeger-Jan van de Weg
473b261261
Back dating of issues when creating throught the API
2016-03-28 16:45:36 +02:00
Zeger-Jan van de Weg
d28a587e82
Fix typos and denting
2016-03-21 19:30:45 +01:00
Zeger-Jan van de Weg
3b088fc5b5
Minor improvements on IssuableActions
2016-03-21 16:59:35 +01:00
Zeger-Jan van de Weg
7342a4566c
Dry destroy action on issuables
2016-03-19 21:24:05 +01:00
Zeger-Jan van de Weg
212e83bab3
Soft delete issuables
2016-03-19 21:23:03 +01:00
Achilleas Pipinellis
13f52de0fa
Refactor issues API documentation
...
[ci skip]
2016-01-18 09:11:01 +01:00
jubianchi
2c544d43c8
Query issues, merge requests and milestones with their IID through API
2015-05-02 10:44:52 +02:00
Derek Campbell
874640123b
To close an issue you must set 'state_event' to 'close'. I cannot set 'closed' to '1'.
2015-02-20 09:20:42 -04:00
Dmitriy Zaporozhets
bdfb349ff7
Refactor and improve sorting objects in API for projects, issues and merge requests
2015-02-05 22:00:54 -08:00
Ewan Edwards
ad6c372eee
Fix a number of discovered typos, capitalization of developer and
...
product names, plus a couple of instances of bad Markdown markup.
2015-02-03 15:18:40 -08:00
jubianchi
f258a59ef6
Filters issues by milestone via API
2014-09-26 22:03:37 +02:00
jubianchi
0ac4a933ff
Filters issues by labels via API
2014-09-04 14:41:31 +02:00
jubianchi
4fdd21685c
Filters issues by state via API
2014-09-01 13:51:40 +02:00
Robert Schilling
cbc90565b5
Do label validation for issues/merge requests API
2014-08-14 10:17:52 +02:00
Ciro Santilli
fd348de76d
Update docs to markdown style guide.
2014-06-03 23:16:31 +02:00
Marin Jankovski
f22c709539
Add titles to doc pages.
2014-05-27 14:12:15 +02:00
dosire
5bf12bbb1d
Make clear that notes also serve as comments.
2014-04-30 17:28:05 +02:00
Johannes Schleifenbaum
49addad7b5
Api-Doc JSON lint
...
Fixes : #5505
2014-04-05 08:37:42 +02:00
Dmitriy Zaporozhets
02693b72a4
Explain iid in API
2013-10-14 16:40:16 +03:00
Dmitriy Zaporozhets
073c8a2966
Merge pull request #5230 from cmckni3/patch-1
...
Fix invalid json in API docs
2013-10-06 22:44:03 -07:00
Marin Jankovski
f1253fa710
Update issues, milestones, notes api docs.
2013-10-02 12:08:07 +02:00
Chris McKnight
979dd2603c
Fix invalid json in issues API doc
2013-09-30 17:39:33 -05:00
Johannes Schleifenbaum
cd19f82e51
Fix typos
2013-07-29 12:47:06 +02:00
Dmitriy Zaporozhets
a4e671dc31
Fix wrong documentation for issue close api. Fixes #3548
2013-06-06 11:31:40 +03:00
Sebastian Ziebell
39114d259c
API: documentation contains infos to status codes in README file.
...
All the info to return codes from the API functions are available in the `README.md` file as suggested.
2013-03-07 00:15:57 +01:00
Sebastian Ziebell
3b3add35fb
API: merge request documentation updated, added return codes to functions
...
The API documentation of merge requests contains info to status codes for all functions.
Required arguments are now checked in the merge requests API functions and a `400 Bad Request` error is
returned if they are not given.
2013-02-27 15:07:42 +01:00
Sebastian Ziebell
e96d77d3db
API: issues documentation and API functions updated
...
The issues documentation is updated with infos to status codes and the deprecated `DELETE` function and
how to close an issue. A few more tests added to check status codes of API functions.
2013-02-27 14:36:20 +01:00
Riyad Preukschas
8f01190eb5
Remove all references tp the project code parameter from the API
2012-12-21 18:47:04 +01:00
Dmitriy Zaporozhets
120f50cff4
Merge pull request #2286 from nuecho/fix-doc-api-issues
...
Removed delete section in issues API documentation
2012-12-15 01:29:43 -08:00
Matthieu Vachon
40c11a3663
Removed delete section in issues API documentation
2012-12-14 16:06:02 -05:00
Cyril
d3b8952f8f
Add username to User and UserBasic entities in API and in examples in doc.
2012-12-12 18:51:20 +01:00
Nihad Abbasov
f7dd067490
API: expose issues project id
2012-07-25 04:22:21 -07:00
Nihad Abbasov
949b1df930
API: update docs
2012-07-25 02:35:41 -07:00
Nihad Abbasov
024e034890
update API docs
2012-07-24 05:25:01 -07:00