Commit Graph

1075 Commits

Author SHA1 Message Date
Dawid Goslawski 82fad17a7d Add information about namespace encoding to API docs 2017-04-08 12:38:59 +02:00
Achilleas Pipinellis 7d543837f3 Fix markdown table in API Issues docs 2017-04-06 17:18:51 +02:00
Oswaldo Ferreira 7cb907cc77 Add "search" optional param and docs for V4
Notice that this param is being supported since V3, but we have not added the proper docs for it
2017-04-05 13:50:12 -03:00
Adam Niedzielski 9543025e88 Introduce "polling_interval_multiplier" as application setting
Implement module for setting "Poll-Interval" response header.
Return 429 in ETag caching middleware when polling is disabled.
2017-04-03 15:17:04 +02:00
Dongqing Hu 6dd7695444 Labels support color names in backend 2017-03-29 11:45:15 +00:00
Rémy Coutable 520f7cd08a Merge branch 'tc-api-remove-comments-endpoint' into 'master'
API: Make the /notes endpoint work with noteable iid instead of id

Closes #29871

See merge request !10258
2017-03-28 17:41:16 +00:00
Sean McGivern bc36dfe87f Merge branch 'rename_done_to_closed' into 'master'
Change Done column to Closed in issue boards

Closes #29420

See merge request !10198
2017-03-27 16:30:33 +00:00
Toon Claes add5cd996f API: Make the /notes endpoint work with noteable iid instead of id
In API V4 all endpoints were changed so Merge Requests and Issues
should be referred by iid, instead of id. Except the /notes endpoint
was forgotten. So change the endpoints from:

- /projects/:id/issues/:issue_id/notes
- /projects/:id/merge_requests/:merge_request_id/notes

To:

- /projects/:id/issues/:issue_iid/notes
- /projects/:id/merge_requests/:merge_request_iid/notes

For Project Snippets nothing changes.
2017-03-27 15:29:37 +02:00
George Andrinopoulos 7c74a0209b Implement new service for creating user 2017-03-27 09:37:24 +00:00
blackst0ne 1fb9de2bf7 Change Done column to Closed in issue boards 2017-03-24 23:40:35 +11: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