summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | | Add API to list merge request diff versionsDmitriy Zaporozhets2016-08-031-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Add Sentry logging to API callsadd-sentry-logging-to-apiStan Hu2016-08-241-10/+2
| |_|/ |/| | | | | | | | Closes #21043
* | | Add deployment endpointsZ.J. van de Weg2016-08-181-0/+1
| | |
* | | Add endpoints for pipelinesZ.J. van de Weg2016-08-181-0/+1
| |/ |/|
* | New AccessRequests API endpoints for Group & ProjectRémy Coutable2016-08-101-2/+6
| | | | | | | | | | | | | | | | 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>
* | Retain old behaviorConnor Shea2016-08-091-2/+4
|/
* Use Grape DSL for environment endpointsZ.J. van de Weg2016-07-291-0/+4
| | | | Also a couple of minor edits for this branch are included
* Add API support for environmentsZ.J. van de Weg2016-07-291-0/+1
|
* Add Todos APIDouglas Barbosa Alexandre2016-07-011-0/+1
|
* Rename Licenses API to License Templates APIDrew Blessing2016-06-271-1/+1
|
* Refactor Gitlab::GitignoresZJ van de Weg2016-06-201-1/+1
|
* Add endpoints for award emoji on notesZ.J. van de Weg2016-06-171-1/+0
| | | | Docs also added.
* Sort API endpoints and implement feedbackZ.J. van de Weg2016-06-171-25/+26
|
* Add endpoints for Award EmojiZ.J. van de Weg2016-06-171-0/+1
| | | | | This only supports Issues and MergeRequests right now because of the consistency of the routes those models provide.
* Added missing mount point for Sidekiq Metrics API, after it got lost on rebase.Patricio Cano2016-06-171-0/+1
|
* Backend for a gitignores dropdownZeger-Jan van de Weg2016-05-201-0/+1
|
* Add API endpoints for un/subscribing from/to a labelAhmad Sherif2016-05-121-0/+1
| | | | Closes #15638
* Fix a few places where autoloading would failRémy Coutable2016-05-101-35/+34
| | | | | | | | | | | - Fix naming of API::CommitStatuses - Ensure we use require_dependency instead of require - Ensure the namespace is right in lib/api/api.rb, otherwise, we might require Grape::API::Helpers which defines the `#params` method. This is to avoid requiring a file multiple times and getting an "Already initialized constant" error. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Initial implementation if license template selector and /licenses/:key API ↵Anton Davydov2016-04-181-0/+1
| | | | endpoint