summaryrefslogtreecommitdiff
path: root/lib/api/v3
Commit message (Collapse)AuthorAgeFilesLines
* Refactor changing files in web UIDouwe Maan2017-04-202-4/+4
|
* Remove the User#is_admin? methodblackst0ne2017-04-094-4/+4
|
* Merge branch 'microsoft-teams-integration' into 'master' Douwe Maan2017-04-061-0/+6
|\ | | | | | | | | adds initial microsoft teams integration See merge request !10412
| * adds relevant testsTiago Botelho2017-04-061-0/+6
| |
* | Optimise trace handling code to use streaming instead of full readKamil Trzciński2017-04-061-1/+1
| |
* | ProjectsFinder should handle more optionsJacopo2017-04-063-3/+3
|/ | | | | | | | | | | | | | | | | | | Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
* Merge branch '23655-api-group-issues' into 'master' Rémy Coutable2017-03-291-2/+2
|\ | | | | | | | | | | | | Fix API group/issues default state filter Closes #23655 See merge request !10253
| * Fix API group/issues default state filterAlexander Randa2017-03-281-2/+2
| |
* | Implement new service for creating userGeorge Andrinopoulos2017-03-271-0/+53
|/
* Return 404 in project issues API endpoint when project cannot be foundAdam Niedzielski2017-03-201-1/+1
| | | | Closes #29631
* Allow dot in branch name in trigger/builds endpoint in APIGeorge Andrinopoulos2017-03-201-1/+1
|
* Use "branch_name" instead "branch" on V3 branch creation API29604-v3-fix-branch-creationOswaldo Ferreira2017-03-161-0/+21
|
* Merge branch '27988-fix-transient-failure-in-commits-api' into 'master' Sean McGivern2017-03-1627-32/+36
|\ | | | | | | | | | | | | Ensure dots in project and group ID are allowed in the API endpoints Closes #27988 See merge request !9944
| * Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-1627-32/+36
| | | | | | | | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Ensure dots in project path is allowed in the commits APIRémy Coutable2017-03-141-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add 'Undo mark all as done' to TodosJacopo2017-03-161-2/+2
|/ | | | | | Added the ability to 'Undo mark all as done' todos marked as complete with 'Mark all as done' in the 'Todo' tab of the Todo dashboard. The operation undos only the todo previously marked as done with the 'Mark al as done' button.
* Make API v3 work with the new param nameBob Van Landuyt2017-03-131-0/+1
|
* Make API v3 compatible with the changes in `Issues::CreateService`Bob Van Landuyt2017-03-131-6/+0
|
* Merge branch 'issue_16834'Douwe Maan2017-03-071-0/+54
|\ | | | | | | | | # Conflicts: # doc/api/v3_to_v4.md
| * Remove unecessary endpoint from repository, add compatibility endpoints for ↵issue_16834Felipe Artur2017-03-071-0/+54
| | | | | | | | v3 and several improvements
* | Remove user_can_download_artifactsToon Claes2017-03-071-16/+8
|/ | | | It was actually not used anywhere.
* Implement review comments from @dbalexandre28251-mr-and-issue-iids-for-api-v4Timothy Andrew2017-03-071-1/+1
| | | | | | - Typo in docs - Newline between test/expectation in `api/issues_spec` - Use `find_by` instead of `reference_by` in the structure defining awardables
* Fix time tracking endpoints for API v4Timothy Andrew2017-03-071-0/+116
| | | | | | - Use issue/merge_request IID instead of ID - Duplicate the original `TimeTrackingEndpoints` concern (+ specs) for V3, since this is a breaking change.
* Migrate the AwardEmoji API to use `merge_request_iid` and `issue_iid`Timothy Andrew2017-03-071-4/+75
| | | | | | | | - Instead of `merge_request_id` and `issue_id` - The API also deals with `snippet_id`, which remains unchanged (since snippets don't have `iid`s - Duplicate the original `AwardEmoji` API (and spec) for use with the V3 API, since this is a breaking change.
* API routes referencing a specific merge request should use the MR `iid`Timothy Andrew2017-03-071-0/+10
| | | | | | - As opposed to the `id` that was previously being used. - This brings the API routes closer to the web interface's routes. - This is specific to API v4.
* API routes referencing a specific issue should use the issue `iid`Timothy Andrew2017-03-071-0/+9
| | | | | | - As opposed to the issue `id` that was previously being used. - This brings the API routes closer to the web interface's routes. - This is specific to API v4.
* Move `api/v3/deployments` to the correct namespaceRobert Speicher2017-03-061-28/+30
|
* Merge branch 'zj-builds-to-jobs-api' into 'master' Kamil Trzciński2017-03-066-1/+575
|\ | | | | | | | | | | | | Rename builds to jobs in the API Closes #28515 See merge request !9463
| * Incorporate review, drop old endpointZ.J. van de Weg2017-03-061-4/+4
| | | | | | | | | | The endpoint dropped, get ':id/repository/commits/:sha/jobs', should be replace by a new endpoint.
| * Fix all testsToon Claes2017-03-065-256/+179
| | | | | | | | | | | | This commit was about 6 commits before squashing, with the main goal to make all tests green. Now, after pushing this commit we'll see what the CI has to say about that.
| * Pick API files from 8.16.6Z.J. van de Weg2017-03-064-2/+237
| |
| * Keep entities the same for API v3Z.J. van de Weg2017-03-061-0/+143
| |
| * Rename Builds to Jobs in the APIZ.J. van de Weg2017-03-062-0/+273
| | | | | | | | | | | | Fixes gitlab-org/gitlab-ce#28515 [ci skip]
* | Remove "subscribed" field from API responses returning list of issues or ↵api-drop-subscribedAdam Niedzielski2017-03-062-0/+29
|/ | | | merge requests
* Fix UserBasicintroduce-pipeline-triggersKamil Trzcinski2017-03-061-1/+1
|
* Rename `/take` to `/take_ownership`, expose `owner` in `v3`.Kamil Trzcinski2017-03-061-0/+1
|
* Update triggers APIKamil Trzcinski2017-03-052-2/+83
|
* Merge branch '26847-api-pipelines-use-basic' into 'master' Robert Speicher2017-03-031-0/+36
|\ | | | | | | | | | | | | Expose pipelines as PipelineBasic `api/v4/projects/:id/pipelines` Closes #26847 See merge request !8875
| * Expose pipelines as PipelineBasic `projects/:id/pipelines`26847-api-pipelines-use-basicToon Claes2017-03-031-0/+36
| | | | | | | | | | | | | | | | 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`.
* | Merge branch 'dm-fix-cherry-pick' into 'master' Robert Speicher2017-03-031-3/+1
|\ \ | |/ |/| | | | | | | | | Fix cherry-picking or reverting through an MR Closes #28711 and #28426 See merge request !9640
| * Fix cherry-picking or reverting through an MRDouwe Maan2017-03-021-3/+1
| |
* | Merge branch '27532_api_changes' into 'master' Sean McGivern2017-03-031-0/+43
|\ \ | |/ |/| | | | | | | | | Use iids as filter parameter Closes #27532 See merge request !9096
| * Use iids as filter parameterJarka Kadlecova2017-03-021-0/+43
| |
* | Expose ApplicationSetting visibility settings as StringToon Claes2017-03-022-0/+170
| | | | | | | | | | | | | | | | Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
* | Expose Snippet VisibilityLevel as StringToon Claes2017-03-021-0/+138
| |
* | Ensure v3 environments endpoints remain unchangedToon Claes2017-03-022-2/+64
| | | | | | | | | | Because environments also expose the project, ensure the projects are exposed as they were before in API v3.
* | Expose Group VisibilityLevel as StringToon Claes2017-03-022-2/+169
|/ | | | | Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility`.
* Update occurrences of MWBS to MWPSfix/mwbs-to-mwpsJames Lopez2017-03-013-39/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec
* Merge branch '6073_project_api' into 'master' Sean McGivern2017-02-281-1/+2
|\ | | | | | | | | | | | | API project create: Make name or path required Closes #6073 See merge request !9416
| * API project create: Make name or path requiredJarka Kadlecova2017-02-271-1/+2
| |