Commit Graph

50 Commits

Author SHA1 Message Date
Mark Fletcher d7edda27da Mention when "/commits/:sha/merge_requests/" endpoint was introduced 2018-04-05 17:52:35 +01:00
James Ramsay db43d792ff Add pagination docs to commit status API 2018-04-01 16:32:37 -04:00
Mark Fletcher 847671e06c Allow merge requests related to a commit to be found via API
- Original work for the web interface here:
 - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13713
2018-03-26 19:34:36 +01:00
Tiago Botelho cd9daf644e Add specs 2018-03-01 14:38:35 +00:00
Robert Schilling a724f7e35f Refactor commits/refs API to use hash and add pagination headers 2018-02-14 10:16:34 +01:00
Robert Schilling 922d156a5e Separate branch and tag names 2018-02-09 17:46:41 +01:00
Robert Schilling 2a970e0291 Add docs 2018-02-09 14:59:50 +01:00
Francisco Javier López f6c1d38259 Add option to disable commit stats to commit API 2018-01-09 11:36:12 +00:00
Rubén Dávila c927e57466 Updates from last code review:
- Apply some refactoring for code reuse
- Add file status validation for Files::DeleteService
- Write additional specs
2017-12-20 10:57:27 -05:00
Rubén Dávila c210ddab92 Check if file has been modified for each action provided.
When commiting multiple files we're now checking if any of those files
has been modified by another commit and we're rejecting the new commit
in this case.
2017-12-20 01:24:53 -05:00
Mehdi Lahmam f696b04cc8 Expose last pipeline details in API response when getting a single commit
Closes #35692.
2017-09-26 13:08:46 +02:00
Douwe Maan d41479266d Add start_branch to files and commits APIs 2017-08-04 19:18:07 +02:00
blackst0ne a4aa448c2d Documentation bugfix of invalid JSON payload example of Create a commit with multiple files and actions 2017-06-13 18:31:13 +11:00
Achilleas Pipinellis b472f9995a Fix wrong copy edits for URL-encoded substitutions in API docs 2017-04-10 11:17:04 +02:00
Achilleas Pipinellis 5422554b86 Mention URL path encoding to all API docs 2017-04-08 12:38:59 +02:00
Dawid Goslawski 82fad17a7d Add information about namespace encoding to API docs 2017-04-08 12:38:59 +02:00
Robert Schilling 1ead6a9793 Use v4 endpoint in API docs 2017-03-01 18:39:40 +01:00
Oswaldo Ferreira c79bbe26ab Change branch_name param to branch throughout V4 API 2017-02-21 16:33:14 -03:00
Robert Schilling 7d31cf8601 Fix some grammar in the API docs 2017-02-20 15:54:37 +01:00
Rémy Coutable f3de1c579e Merge branch 'add-missing-api-entities' into 'master'
Add missing api entities

Closes #23895

See merge request !7138
2017-02-15 16:24:37 +00:00
Ben Boeckel 309aee45b6 entities: use the RepoCommit entity for branch commits
Fixes #23895.
2017-02-14 13:22:14 -05:00
wendy0402 79ce7579bb Make it possible to pass coverage value to commit status API 2017-02-14 09:32:25 +07:00
Mike Greiling 7e51cd32d3 update scripts and docs to reference the newly namespaced rake task 2017-01-27 15:23:09 -06:00
Robert Schilling 1a81fcfbd8 API: Ability to cherry-pick a commit 2016-12-13 16:12:40 +01:00
Robert Schilling 79d99d470f API: Expose committer details for a commit 2016-12-01 11:10:46 +01:00
Rémy Coutable 257789e9b7 Merge branch 'patch-1' into 'master'
[Doc] Fix `ref` parameter name for `commits/statuses`

The attribute to filter by branch or tag needs to be named `ref`, not `ref_name`. And indeed the attribute in the JSON response is `ref` (and not `ref_name`).

Tested on Gitlab CE 8.9.

See merge request !4876
2016-10-21 11:12:33 +00: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
Marc Siegfriedt a1ee8cf5ad multi-file commit
add docs and tests - add additional validation
allow move without content
updated response
2016-10-05 17:42:52 +00:00
Achilleas Pipinellis 636dbc85e2 The ID of a project can be also a string
[ci skip]
2016-08-31 17:40:54 +02:00
Achilleas Pipinellis 8c101f9f86 Mention that the `:id` of a project can also be `NAMESPACE/PROJECT_NAME`
[ci skip]
2016-08-30 13:43:09 +02:00
winniehell e0a858efcc use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
dixpac a4bb9993c4 Add commit stats to commit api response 2016-07-28 11:30:56 +02:00
Pierre de La Morinerie dab95689a3 Fix `ref` parameter name for `commits/statuses`
The attribute to filter by branch or tag needs to be named `ref`,
not `ref_name`. And indeed the attribute in the JSON response is `ref`
(and not `ref_name`).

Tested on Gitlab CE 8.9.
2016-06-23 13:07:51 +00:00
Paco Guzman c4b9bd0413 API support for the 'since' and 'until' operators on commit requests
- Parameter validation as ISO8601 format
2016-04-29 09:26:52 +02:00
Grzegorz Bizon ec7c6a084c Remove deprecated CI API docs for commits and projects
[ci skip]
2016-02-29 13:22:34 +01:00
Achilleas Pipinellis 373b277f03 Add note about commit status API deprecation
[ci skip]
2016-01-22 10:08:57 +01:00
Achilleas Pipinellis 1ede975cde Styleguide the commit status API
[ci skip]
2016-01-19 11:18:17 +01:00
Achilleas Pipinellis c870bb796b Refactor commits API documentation
[ci skip]
2016-01-18 08:25:38 +01:00
Den Girnyk 4de50a866e Fix md syntax in doc/api/commits.md 2015-11-17 13:08:11 +02:00
Stan Hu 91cbf9db0c Add allow_failure field to commit status API
Closes #3196
2015-11-03 20:41:19 -08:00
Kamil Trzcinski 69c04498ef Small bug fixes 2015-10-12 15:55:12 +02:00
Kamil Trzcinski 0aefeeb882 Add Commit Status documentation 2015-10-12 12:42:27 +02:00
Kamil Trzcinski 914cfbd2f1 Implement Commit Status API 2015-10-12 11:53:49 +02:00
Jeroen Jacobs 430758653c Adds comments to commits in the API 2014-09-26 10:58:11 +02:00
Christian Taedcke e59674f954 Add full commit message to commit api as field message. 2014-07-25 08:25:16 +02:00
Ciro Santilli fd348de76d Update docs to markdown style guide. 2014-06-03 23:16:31 +02:00
Johannes Schleifenbaum 49addad7b5 Api-Doc JSON lint
Fixes: #5505
2014-04-05 08:37:42 +02:00
Dmitriy Zaporozhets 6cf39fe10d
Extract commits API to separate file
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 12:41:21 +02:00
Nihad Abbasov 4a072be2d7 API: commits belong to project repository 2012-09-21 04:34:07 -07:00
Dmitriy Zaporozhets 10d3a30b25 APi for commits. Better api docs 2012-09-21 13:22:30 +03:00