Commit Graph

1066 Commits

Author SHA1 Message Date
George Andrinopoulos 7c74a0209b Implement new service for creating user 2017-03-27 09:37:24 +00:00
Sean McGivern 2965a20a1f Merge branch 'docs/update-impersonation-tokens' into 'master'
Update Impersonation tokens docs

See merge request !10055
2017-03-24 10:01:26 +00:00
Achilleas Pipinellis f4e7bc8377 Remove highlighting language from GET codeblocks
[ci skip]
2017-03-23 17:43:33 +01:00
Johan Brandhorst ac6de28461 Correct parameter definition in Pipeline Triggers docs 2017-03-23 09:52:51 +00:00
Johan Brandhorst 7f94bdda59 Correct pipeline trigger GET functionality.
This was ambiguously defined, update parameters to match the example and the definition.
2017-03-22 12:18:06 +00:00
Rémy Coutable a13b8434ae
Make the v3_to_v4.md more consistent
[ci skip]

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-20 16:51:56 +01:00
Rémy Coutable aaaee8ae27 Allow unauthenticated access to some Branch API GET endpoints
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-20 09:37:31 +01:00
Kamil Trzciński 12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Achilleas Pipinellis b5cc98088e Update Impersonation tokens docs 2017-03-17 18:30:34 +01:00
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
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