Commit Graph

174 Commits

Author SHA1 Message Date
Robert Schilling 7c607a55ab Grapify the projects API 2016-11-28 21:01:43 +01:00
Rémy Coutable d03ca3d02e Merge branch 'issue-24534' into 'master'
Remove unnecessary sentences for return codes in the API documentation

Closes #24534

See merge request !7511
2016-11-25 15:43:05 +00:00
Luis Alonso Chavez Armendariz ed61d44e1e Remove unnecessary sentences for status codes in the API documentation 2016-11-24 10:28:52 -07:00
Robert Schilling 28f4d7aa28 You can only assign default_branch when editing a project or when creating a project for a specified user [ci skip]
You can only assign default_branch when editing a project [ci skip]
2016-11-24 15:33:23 +01:00
Ruben Davila b437d305ca Add default_branch attr to Project API payload in docs. 2016-11-23 19:27:22 -05:00
Robert Schilling eff1b05ab1 API: Add endpoint to delete a group share 2016-11-23 12:53:37 +01:00
Robert Speicher 8996548e13 Correct curl examples for archive and unarchive project API
[ci skip]
2016-11-18 13:20:59 +02:00
Rodolfo Santos 1db9f826c1 Add setting to only allow merge requests to be merged when all discussions are resolved
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-04 14:58:40 +01:00
Rémy Coutable 2023511753 Merge branch 'gpocentek/gitlab-ce-api-webhook-token' into 'master'
This MR adds support for the `token` attribute in the project hook API.

Feature requested on a dependant project: https://github.com/gpocentek/python-gitlab/issues/170

See merge request !7220
2016-11-02 11:46:45 +00:00
Sean McGivern f77be11cb9 Ensure hook tokens are write-only in the API 2016-11-01 11:40:06 +00:00
Gauvain Pocentek c85c146aa2 Add support for token attr in project hooks API
The UI allows to define a token to validate payload on the target URL,
this patch adds the feature to the API.
2016-11-01 10:41:39 +00:00
Andrea Scarpino a84b124850 Fix project visibility level link 2016-10-31 11:12:11 +01:00
Takuya Noguchi a8bbe53c0c Remove pagination description from individual doc 2016-10-20 08:58:35 +09:00
Takuya Noguchi af8e06ee4c Fix a broken table in Project API doc 2016-10-20 08:57:23 +09: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
Rémy Coutable 8e70cf2564
Addresses Robert's feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-11 17:25:57 +02:00
Sean McGivern 7623ab0cf4 Make projects API docs match parameter style 2016-10-07 09:16:15 +01:00
Sean McGivern 42cb659726 Update API docs and specs for /projects/visible 2016-10-04 17:46:08 +01:00
Ben Boeckel e956a24dfd api: add /projects/visible API endpoint
FIxes #19361, #3119.
2016-10-04 17:23:18 +01:00
Ben Boeckel b6b5033516 docs: clarify /projects endpoint description 2016-10-04 17:23:18 +01:00
Felipe Artur 93d849beae Expose project share expiration_date field on API 2016-09-28 10:12:49 -03:00
Felipe Artur e0067d1850 Allow to set request_access_enabled for groups and projects using API 2016-09-19 12:13:57 -03:00
Olaf Tomalka bad3fb895c Added fork API paremeter for a specific namespace
Browser interface allows forking to an owned grup.
This commit brings API up to speed by providing optional namespace
parameter to fork API. This allows forking to users and groups under
forker's control using their id or unique name.

Fixes #21591
2016-09-06 04:16:14 +02:00
Achilleas Pipinellis 636dbc85e2 The ID of a project can be also a string
[ci skip]
2016-08-31 17:40:54 +02:00
Patricio Cano cf37d623e1 Renamed `enable_lfs` to `lfs_enabled` for the Project field, and related fixes. 2016-08-30 17:17:45 -05:00
Patricio Cano 0227e98d0d Added CHANGELOG, documentation, and API functionality 2016-08-30 16:17:41 -05:00
Achilleas Pipinellis a5c1b42bf1 Merge branch 'patch-5' into 'master'
Update projects.md

## What does this MR do?
Repaired  some examples for a branches in projects.md

See merge request !6018
2016-08-30 19:09:06 +00: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
Miroslav Meca 01a1e3925a Update projects.md
The wrong example for "Branches".
Added option parameters in protect branch section.
Here is reason: 3ab07b8aae

Maybe this section could/should be deleted. Because in file repositories.md it had been deleted:  8f3701eff0
2016-08-25 12:01:52 +00:00
Douwe Maan 952c501fdf Merge branch 'api_only_allow_merge_if_build_succeeds' into 'master'
expose 'only_allow_merge_if_build_succeeds' project setting in the API

## What does this MR do?
Adds the 'only_allow_merge_if_build_succeeds' project setting in the API.

## Are there points in the code the reviewer needs to double check?
No, but maybe this code is not enough for ACLs or the like.

## Why was this MR needed?
Because that's a very useful setting to change via automation (through the API)

## What are the relevant issue numbers?

Closes #21085, closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20088.

## Screenshots (if relevant)

## 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 !5930
2016-08-24 19:27:58 +00:00
Ben Boeckel 99c2f3b3c5 api: expose wiki_page_events project hook field in the API 2016-08-24 10:33:51 -04:00
Ben Boeckel f413d7ed80 docs: document other project webhook fields 2016-08-24 10:33:37 -04:00
Marc Dequènes (Duck) 31b2c1ef88 expose 'only_allow_merge_if_build_succeeds' project setting in the API 2016-08-24 17:11:48 +09:00
Rémy Coutable 29850364ec New AccessRequests API endpoints for Group & Project
Also, mutualize AccessRequests and Members endpoints for Group &
Project.
New API documentation for the AccessRequests endpoints.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-10 19:07:05 +02:00
winniehell e0a858efcc use long options for curl examples in API documentation (!5703) 2016-08-09 01:42:50 +02:00
Rémy Coutable 356b2d2bd7 Get rid of `is_image` in FileUploader
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-19 18:51:09 +02:00
Achilleas Pipinellis 92772f85c1 Merge branch 'api-docs-typos' into 'master'
Fix typos in API documentation

See merge request !4949
2016-07-09 15:15:20 +00:00
Rémy Coutable 09f4a8f8f5
Merge branch 'edgemaster/gitlab-ce-patch-missing-api-docs'
See !4096.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-08 17:52:53 +02:00
Rémy Coutable 8657e327ff Merge branch 'api-shared-projects' into 'master'
Api shared projects

## What does this MR do?

Exposes the shared projects in the group endpoint

## What are the relevant issue numbers?

Builds upon !5148 and closes #18780

## 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 !5150
2016-07-08 14:30:35 +00:00
Robert Schilling 0530ec5e6e Expose shared groups for projects 2016-07-08 10:30:52 +02:00
Sergey Gnuskov 82ba5f2bd3 Fix unarchive mistake 2016-07-07 15:41:15 +03:00
Ben Boeckel 56aa6d2305 projects: add container_registry_enabled to API docs 2016-06-27 16:33:51 -04:00
Ben Boeckel 9e33ca1c0b docs: fix some typos 2016-06-27 16:16:34 -04:00
Kamil Trzcinski 9f679ac207 Update docs/api/projects.md with container registry enabled option 2016-05-09 20:35:25 +03:00
Thomas Wood 461c5585e6 API Docs: Add missing project option shared_runners_enabled
Introduced into the API in e80e3f53

[ci skip]
2016-05-09 14:35:05 +01:00
Robert Schilling 54231aa4e0 Styling changes to code and docs 2016-04-13 16:25:24 +02:00
Robert Schilling 3ab9ea8dae Make staring API more restful 2016-04-13 14:26:41 +02:00
Robert Schilling ea2193aaeb API: Star and unstar a project 2016-04-13 14:26:40 +02:00
Zeger-Jan van de Weg 6dbcb880cc Allow a project member to leave the projected through the API 2016-04-12 14:30:42 +02:00
Zeger-Jan van de Weg 3549d7c1d4 PUT becomes POST on archiving endpoints
Also the specs have a minor improvement. Mainly the access right spec.
Changes are reflected in the docs
2016-03-24 18:58:42 +01:00