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
Douwe Maan
04665e938c
Merge branch 'issue_16834'
...
# Conflicts:
# doc/api/v3_to_v4.md
2017-03-07 22:00:23 -06:00
Douwe Maan
ff9267a707
Merge branch '1381-present-commits-pagination-headers-correctly' into 'master'
...
GET "projects/:id/repository/commits" endpoint improvements
Closes #1381 and #20207
See merge request !9679
2017-03-08 03:05:24 +00:00
Douwe Maan
99b9fbb9e6
Merge branch 'tc-api-v4-doc-changes' into 'master'
...
API v4 doc changes
See merge request !9723
2017-03-08 02:00:30 +00:00
Oswaldo Ferreira
d13451cd49
Returns correct header data for commits endpoint
2017-03-07 22:56:31 -03:00
Felipe Artur
a61bb7cda3
Remove unecessary endpoint from repository, add compatibility endpoints for v3 and several improvements
2017-03-07 22:20:38 -03:00
Felipe Artur
9053d78e74
Update API endpoints for raw files
2017-03-07 21:15:47 -03:00
Toon Claes
ed6afb35e1
API V4 is no longer in Beta
...
And V4 is the preferred version to be used, because V3 will be removed
in 9.4 (or later).
2017-03-07 23:53:36 +01:00
Toon Claes
13c3f622cb
Update description about GET /projects endpoint
...
It returns all projects visible for the authenticated user, not just
the project they are member of.
2017-03-07 23:53:36 +01:00
Toon Claes
901fbda67c
Make it possible to query scope as scope[]=
...
Since issues also accepts the query parameter iids[]=, also make it
possible query scope like that.
2017-03-07 23:45:32 +01:00
Toon Claes
f372400673
Add GET /projects/:id/pipelines/:pipeline_id/jobs endpoint
...
Add endpoint to get the jobs scoped to a pipeline.
2017-03-07 23:45:32 +01:00
James Lopez
ba3ce6bd39
Merge branch 'rfr-20170307-change-default-project-number-limit' into 'master'
...
Change project count limit from 10 to 100000
See merge request !9767
2017-03-07 16:50:08 +00:00
Douwe Maan
6a52cda31d
Merge remote-tracking branch 'origin/personal_access_token_api_and_impersonation_token'
2017-03-07 09:29:55 -06:00
Regis Freyd
bc70493b05
Change project count limit from 10 to 100000
2017-03-07 08:58:23 -05:00
Douwe Maan
7a774d1a59
Merge branch '28251-mr-and-issue-iids-for-api-v4' into 'master'
...
API routes referencing a specific issue should use the issue `iid`
Closes #28251
See merge request !9530
2017-03-07 13:52:37 +00:00
Achilleas Pipinellis
e8ab096f58
Bring back api/builds.md and direct to api/jobs.md
...
[ci skip]
2017-03-07 12:10:15 +01:00
Timothy Andrew
6384bf7a88
Implement review comments from @dbalexandre
...
- Typo in docs
- Newline between test/expectation in `api/issues_spec`
- Use `find_by` instead of `reference_by` in the structure defining awardables
2017-03-07 13:56:00 +05:30
Timothy Andrew
72ef8af758
Add documentation for !9530 .
2017-03-07 13:56:00 +05:30
Tiago Botelho
005749a616
apply codestyle and implementation changes to the respective feature code
2017-03-06 19:18:26 +00:00
Oswaldo Ferreira
fa0c0bb006
Narrow environment payload by using basic project details resource
2017-03-06 14:00:38 -03:00
Kamil Trzciński
b63c41e12e
Merge branch 'zj-builds-to-jobs-api' into 'master'
...
Rename builds to jobs in the API
Closes #28515
See merge request !9463
2017-03-06 16:36:16 +00:00
Z.J. van de Weg
699e955324
Remove docs for removed endpoint
2017-03-06 16:04:04 +01:00
Z.J. van de Weg
75123fa9f7
Incorporate review, drop old endpoint
...
The endpoint dropped, get ':id/repository/commits/:sha/jobs', should be
replace by a new endpoint.
2017-03-06 14:34:47 +01:00
Z.J. van de Weg
194223476b
Rename build to job in the docs
2017-03-06 14:34:07 +01:00
Adam Niedzielski
c727d4328f
Remove "subscribed" field from API responses returning list of issues or merge requests
2017-03-06 14:17:07 +01:00
Kamil Trzcinski
d5f7060400
Rename `/take` to `/take_ownership`, expose `owner` in `v3`.
2017-03-06 12:00:15 +01:00
Kamil Trzcinski
01f99bd269
Update after review
2017-03-06 11:49:44 +01:00
Kamil Trzcinski
16897d32d2
Lint doc
2017-03-05 23:03:54 +01:00
Kamil Trzcinski
b565ee4912
Update documentation and expose ID
2017-03-05 21:18:00 +01:00
Vignesh Ravichandran
305f19ca26
Be able to list issues with no labels using API
2017-03-03 23:28:34 -08:00
Robert Speicher
e19bcc7b6d
Merge branch '26847-api-pipelines-use-basic' into 'master'
...
Expose pipelines as PipelineBasic `api/v4/projects/:id/pipelines`
Closes #26847
See merge request !8875
2017-03-03 20:31:25 +00:00
Toon Claes
6357635686
Rename query parameter to `membership`
...
The query parameter `membership` should be more self-explaining.
2017-03-03 13:42:39 +01:00
Oswaldo Ferreira
06e96907ee
Add filter param for authorized projects for current_user for V4
2017-03-03 12:02:41 +01:00
Toon Claes
59e7d04bc7
Expose pipelines as PipelineBasic `projects/:id/pipelines`
...
The `projects/:id/pipelines` exposed a lot of extra details
that are superfluous and it was taking extra resources to fetch them.
To get more details about a pipeline, use
`projects/:id/pipelines/:pipeline_id`.
2017-03-03 09:52:04 +01:00
Sean McGivern
b18646040c
Merge branch '27532_api_changes' into 'master'
...
Use iids as filter parameter
Closes #27532
See merge request !9096
2017-03-03 06:32:58 +00:00
Douwe Maan
8ec8b2da66
Merge branch '27501-api-use-visibility-everywhere' into 'master'
...
API: Use `visibility` as string parameter everywhere
Closes #27501
See merge request !9337
2017-03-02 17:10:25 +00:00
Jarka Kadlecova
17ee1e1a63
Use iids as filter parameter
2017-03-02 13:17:39 +01:00
Rémy Coutable
1818813653
Merge branch 'api-doc-return-code' into 'master'
...
Correct the return code description for 204
See merge request !9648
2017-03-02 11:52:13 +00:00
Toon Claes
bc20fa9b02
Add visibility change to API v3 -> v4 doc
...
And add changelog entry.
2017-03-02 12:15:25 +01:00
Toon Claes
260cc57838
Expose ApplicationSetting visibility settings as String
...
Use strings for the ApplicationSetting properties:
- restricted_visibility_levels
- default_project_visibility
- default_snippet_visibility
- default_group_visibility
2017-03-02 12:15:25 +01:00
Toon Claes
209856166e
Expose Snippet VisibilityLevel as String
2017-03-02 12:15:24 +01:00
Toon Claes
f45cbc8701
Expose Group VisibilityLevel as String
...
Instead of exposing the VisibilityLevel as Integer, expose it as
String `visibility`.
2017-03-02 12:15:24 +01: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
Rémy Coutable
034c649682
Merge branch '28807-search-for-milestone-by-title-in-rest-api' into 'master'
...
Enable filtering milestones by search criteria in the API
Closes #28807
See merge request !9606
2017-03-02 10:18:02 +00:00
Robert Schilling
f31cb11736
Correct the return code description for 204
2017-03-02 09:44:01 +01:00
Toon Claes
b2c2dfe545
Expose Project's & ProjectSnippet's VisibilityLevel as String
...
Instead of exposing the VisibilityLevel as Integer, expose it as
String `visibility` for Project and ProjectSnippet.
Filter queries also accept the `visibility` as String instead of
`visibility_level` as Integer.
Also remove the `public` boolean.
2017-03-02 09:33:24 +01:00
Mark Fletcher
61baf3528d
Enable filtering milestones by search criteria in the API
...
- Also remove a redundant test
2017-03-02 10:07:57 +05:30
Douwe Maan
b6a945b393
Merge branch 'api-v4-doc' into 'master'
...
Use v4 endpoint in API docs
See merge request !9631
2017-03-01 20:31:23 +00:00