summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add API support for pipeline scheduleShinya Maeda2017-05-301-0/+1
|
* Bugfix: Always use the default language when generating emails.32748-emails-are-being-sent-with-the-wrong-languageRuben Davila2017-05-251-2/+2
| | | | | | There was a race condition issue when the application was generating an email and was using a language that was previously being used in other request.
* Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into mia_backort[ci ↵Valery Sizov2017-05-051-0/+3
|\ | | | | | | skip]
| * More updates for translations plus some refactoring.Ruben Davila2017-05-031-0/+3
| |
* | Backport of multiple_assignees_feature [ci skip]Valery Sizov2017-05-041-0/+2
|/
* API routes referencing a specific issue should use the issue `iid`Timothy Andrew2017-03-071-0/+2
| | | | | | - 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.
* Merge branch 'zj-builds-to-jobs-api' into 'master' Kamil Trzciński2017-03-061-1/+2
|\ | | | | | | | | | | | | Rename builds to jobs in the API Closes #28515 See merge request !9463
| * Rename Builds to Jobs in the APIZ.J. van de Weg2017-03-061-1/+2
| | | | | | | | | | | | Fixes gitlab-org/gitlab-ce#28515 [ci skip]
* | Cleanup common code in Unique Ips testsPawel Chojnacki2017-03-061-1/+1
| |
* | Test various login scenarios if the limit gets enforcedPawel Chojnacki2017-03-061-0/+4
|/
* Expose pipelines as PipelineBasic `projects/:id/pipelines`26847-api-pipelines-use-basicToon Claes2017-03-031-0/+1
| | | | | | | | 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 '27532_api_changes' into 'master' Sean McGivern2017-03-031-0/+1
|\ | | | | | | | | | | | | Use iids as filter parameter Closes #27532 See merge request !9096
| * Use iids as filter parameterJarka Kadlecova2017-03-021-0/+1
| |
* | Expose ApplicationSetting visibility settings as StringToon Claes2017-03-021-0/+1
| | | | | | | | | | | | | | | | 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/+1
|/
* Backport API to V3Robert Schilling2017-02-281-1/+8
|
* Merge branch 'feature/runners-v4-api' into 'master' Kamil Trzciński2017-02-271-0/+1
|\ | | | | | | | | Add Runner registration/deletion API See merge request !9246
| * Rename API::Ci to API::Runnerfeature/runners-v4-apiTomasz Maczukin2017-02-161-1/+1
| |
| * Add Runner registration/deletion APITomasz Maczukin2017-02-161-0/+1
| |
* | Backport groups API to V3Robert Schilling2017-02-241-0/+1
| |
* | Remove deprecated `upvotes` and `downvotes` from the notes APIRobert Schilling2017-02-221-0/+1
| |
* | Merge branch '22132-rename-branch-name-params-to-branch' into 'master' Rémy Coutable2017-02-221-0/+2
|\ \ | | | | | | | | | | | | | | | | | | Standardize branch name params as `branch` on V4 API Closes #22132 See merge request !8936
| * | Change branch_name param to branch throughout V4 API22132-rename-branch-name-params-to-branchOswaldo Ferreira2017-02-211-0/+2
| | |
* | | API: Make subscription API more RESTfuLRobert Schilling2017-02-211-0/+1
|/ /
* | Backport Todos API to V3api-todos-restfulRobert Schilling2017-02-211-0/+1
| |
* | Backport API to v3paginate-all-the-thingsRobert Schilling2017-02-171-0/+9
|/
* Remove deprecated templates endpoints in V422818-licence-gitignore-and-yml-endpoints-removalOswaldo Ferreira2017-02-131-0/+1
|
* Add member: Always return 409 when a member existsJarka Kadlecova2017-02-101-0/+1
|
* Remove /projects/:id/keys/.. endpointsRobert Schilling2017-02-071-0/+1
|
* Remove deprecated 'expires_at' from project snippets APIRobert Schilling2017-02-071-0/+1
|
* Remove deprecated MR and Issue endpoints and preserve V3 namespace9-0-api-changesOswaldo Ferreira2017-02-061-0/+2
|
* Remain V3 endpoint unchangedOswaldo Ferreira2017-01-301-1/+6
|
* Don't instrument 405 Grape calls26051-fix-missing-endpoint-route-methodRémy Coutable2017-01-091-1/+5
| | | | | | Fixes #26051. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Calls to the API are checked for scope.Timothy Andrew2016-12-161-0/+2
| | | | | | | | | | | | | | - Move the `Oauth2::AccessTokenValidationService` class to `AccessTokenValidationService`, since it is now being used for personal access token validation as well. - Each API endpoint declares the scopes it accepts (if any). Currently, the top level API module declares the `api` scope, and the `Users` API module declares the `read_user` scope (for GET requests). - Move the `find_user_by_private_token` from the API `Helpers` module to the `APIGuard` module, to avoid littering `Helpers` with more auth-related methods to support `find_user_by_private_token`
* API: Endpoint to expose personal snippets as /snippetsGuyzmo2016-12-011-0/+1
| | | | | | | | | | Adding the necessary API for the new /snippets Restful resource added with this commit. Added a new Grape class `Snippets`, as well as a `PersonalSnippet` entity. Issue: #20042 Merge-Request: !6373 Signed-off-by: Guyzmo <guyzmo+gitlab+pub@m0g.net>
* Merge branch 'api-order-mounts' into 'master' Rémy Coutable2016-10-131-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | Sort API mounts ## What does this MR do? Sort the API mounts. ## Why was this MR needed? The API mounts are unsorted. See merge request !6831
| * Sort API mountsapi-order-mountsRobert Schilling2016-10-131-4/+4
| |
* | Merge branch 'api-version' into 'master' Robert Speicher2016-10-121-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Version information ## What does this MR do? Adds a new endpoint to retrieve the version information. ## Why was this MR needed? Clients can now use this information to enable/disable certain API features depending on the version. ## What are the relevant issue numbers? Closes #22608, https://gitlab.com/gitlab-org/gitlab-ce/issues/23148 See merge request !6822
| * | API: Version informationapi-versionRobert Schilling2016-10-121-0/+1
| |/
* | Create a new /templates API namespaceThomas Balthazar2016-10-121-1/+0
|/ | | | | | The /licenses, /gitignores and /gitlab_ci_ymls endpoints are now also available under a new /templates namespace. Old endpoints will be deprecated when GitLab 9.0.0 is released.
* Replace undefined Grape routing code from 400 to 404Dmitriy Zaporozhets2016-10-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Catch any undefined API routing and return 400 Bad RequestDmitriy Zaporozhets2016-10-101-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Added Issue Board API supportAndre Guedes2016-10-051-0/+1
| | | | - Includes documentation and tests
* Keep API mounts in alphabetical orderAchilleas Pipinellis2016-09-251-1/+2
|
* Add notification_settings API callsMarc Siegfriedt2016-09-091-0/+1
| | | | Use NotificationSetting::EMAIL_EVENTS for params
* Move lint to api from ci/apiKatarzyna Kobierska2016-09-071-0/+1
|
* Add BroadcastMessage API implementationRobert Speicher2016-08-311-0/+1
|
* Merge branch 'dz-merge-request-version'Douwe Maan2016-08-251-0/+1
|\
| * Merge branch 'master' into dz-merge-request-versionDmitriy Zaporozhets2016-08-191-0/+2
| |\ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * \ Merge branch 'master' into dz-merge-request-versionDmitriy Zaporozhets2016-08-151-4/+10
| |\ \ | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>