summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove the circuit breaker APIchore/remove-circuit-breaker-apiMarkus Koller2019-05-241-1/+0
| | | | | The circuit breaker itself was removed in 11.5, this removes the corresponding API endpoints which returned empty data since then.
* Run rubocop -a on CE filessh-upgrade-rubocop-0.68.0-ceStan Hu2019-05-051-1/+1
|
* Add new api class for projects eventsMałgorzata Ksionek2019-04-241-0/+1
| | | | | | | | | | | | Refactor api events class to use external helper Move specs from old class Add changelog and magic string Refactor events class to be more explicit Remove blank line
* Add project http fetch statistics APIJacopo2019-02-271-0/+1
| | | | | | The API get projects/:id/traffic/fetches allows user with write access to the repository to get the number of clones for the last 30 days.
* Merge branch 'api-group-labels' into 'master'Sean McGivern2019-02-071-0/+1
|\ | | | | | | | | | | | | API group labels Closes #44901 See merge request gitlab-org/gitlab-ce!21368
| * Inital API implementation for group labelsRobert Schilling2019-01-311-0/+1
| |
* | Merge branch '51913-api-getting-projects-for-users-with-dot-gets-404' into ↵Rémy Coutable2019-02-011-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | 'master' API: Support username with dots Closes #51913 See merge request gitlab-org/gitlab-ce!24395
| * Unify user requirements for API slugsRobert Schilling2019-01-311-0/+1
| |
* | Merge branch 'container-repository-cleanup-api' into 'master'Grzegorz Bizon2019-01-251-0/+1
|\ \ | | | | | | | | | | | | | | | | | | Container repository cleanup API Closes #55978 See merge request gitlab-org/gitlab-ce!24303
| * | Add Container Registry APIKamil Trzciński2019-01-251-0/+1
| |/ | | | | | | | | | | This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
* | API for importing external reposBen2019-01-171-0/+1
|/
* Add API for release asset linksShinya Maeda2019-01-071-0/+1
| | | | Authorize against release not project
* Include CRUD endpoints for Cluster API40473-api-support-for-kubernetes-integrationMayra Cabrera2019-01-041-0/+1
| | | | | | | | | | | | Adds the following initial CRUD endpoints for Clusters API: - GET list of clusters - GET specific cluster - POST add existing cluster (mimic of "Add cluster") - PUT update cluser - DELETE destroy cluster Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40473
* Add releases APIAlessio Caiazza2018-12-311-0/+1
| | | | | | | | | | | This commit introduces Releases API under /api/v4/projects/:id/releases * We are introducing release policies at project level. * We are deprecating releases changes from tags, both api and web interface. * Tags::CreateService no longer create a release This feature is controlled by :releases_page feature flag
* Allow suggesting single line changes in diffsOswaldo Ferreira2018-12-131-0/+1
|
* Log and pass correlation-id between Unicorn, Sidekiq and GitalyKamil Trzciński2018-12-061-2/+2
| | | | | | | | The Correlation ID is taken or generated from received X-Request-ID. Then it is being passed to all executed services (sidekiq workers or gitaly calls). The Correlation ID is logged in all structured logs as `correlation_id`.
* Merge branch 'if-52811-fix_namespaces_api_routing' into 'master'Nick Thomas2018-11-301-2/+2
|\ | | | | | | | | Fix API::Namespaces routing to accept namepaces with dots See merge request gitlab-org/gitlab-ce!22912
| * Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-2/+2
| | | | | | | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* | Lock writes to trace streamKamil Trzciński2018-11-271-0/+4
|/
* Add submodule update API endpointFrancisco Javier López2018-11-071-0/+1
| | | | | | | | | | This new endpoint allow users to update a submodule's reference. The MR involves adding a new operation RPC operation in gitaly-proto (see gitlab-org/gitaly-proto!233) and change Gitaly to use this new version (see gitlab-org/gitaly!936). See gitlab-org/gitlab-ce!20949
* Backport project template API to CENick Thomas2018-10-051-0/+1
|
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Use ResourceLabelEvent for tracking label changesJan Provaznik2018-09-071-0/+1
|
* Add route information to lograge structured loggingAndrew Newdigate2018-09-051-0/+1
|
* Add gitaly_calls to API structured logsAndrew Newdigate2018-09-041-1/+2
|
* API: Protected tagsRobert Schilling2018-08-251-4/+5
|
* Add Avatar APIImre2018-06-061-0/+1
|
* Removed API endpoint and specsfj-36819-remove-v3-apiFrancisco Javier López2018-05-301-39/+5
|
* Log queue duration for Grape API callssh-tag-queue-duration-api-callsStan Hu2018-05-281-1/+2
| | | | | | | This mimics the same thing the RailsQueueDuration does for Rails controller requests and will help diagnose issues with API delays. Closes #46601
* Resolve "Expand API: Render an arbitrary Markdown document"blackst0ne2018-05-181-0/+1
|
* Fix api_json.log not always reporting the right HTTP status codeStan Hu2018-05-171-8/+9
| | | | | | | | | | As described in https://github.com/aserafin/grape_logging/issues/45, if a Grape error is caught by the handlers and a different return code is returned, then the api_json.log would have a 500 error code instead of the right value. Inserting the GrapeLogging middleware after the Grape middleware fixes this problem. Seen in https://gitlab.com/gitlab-com/infrastructure/issues/4249
* Add an API endpoint to download git repository snapshotsNick Thomas2018-04-191-0/+1
|
* Add `direct_upload` setting for artifactsdirect-upload-of-artifactsKamil Trzciński2018-04-051-0/+8
|
* Merge branch 'jprovazn-api' into 'master'Sean McGivern2018-03-071-0/+1
|\ | | | | | | | | Add discussion API See merge request gitlab-org/gitlab-ce!17510
| * Add discussion APIjprovazn-apiJan Provaznik2018-03-071-0/+1
| | | | | | | | | | * adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
* | Merge branch 'master' into 'issue_38337'Felipe Artur2018-03-061-0/+2
|\ \ | | | | | | | | | | | | # Conflicts: # app/models/group.rb # db/schema.rb
| * \ Merge branch '29130-api-project-export' into 'master'Sean McGivern2018-03-061-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "API endpoint for exporting project" Closes #29130 See merge request gitlab-org/gitlab-ce!15860
| | * | Add project export API implementationTravis Miller2018-02-281-0/+1
| | |/
| * | Projects and groups badges APIFrancisco Javier López2018-03-051-0/+1
| |/
* | Bring one group board to CEFelipe Artur2018-03-031-0/+1
|/
* add entity and update specJames Lopez2018-02-131-0/+1
|
* Support search in APIJarka Kadlecová2018-02-061-0/+1
|
* Add application create APINicolas MERELLI2018-01-241-0/+1
|
* Save user ID and username in Grape API log (api_json.log)sh-store-user-in-api-logsStan Hu2018-01-081-1/+2
| | | | | | This will enable admins to identify who actually made the API request. Relates to #36960
* EE-BACKPORT group boardsFelipe Artur2018-01-041-2/+2
|
* Merge branch '36099-api-responses-missing-x-content-type-options-header' ↵Douwe Maan2017-11-081-1/+4
| | | | | | | | | | | into '10-1-stable' Include X-Content-Type-Options (XCTO) header into API responses See merge request gitlab/gitlabhq!2211 (cherry picked from commit 6c818e77f2abeef2dd7b17a269611b018701fa79) e087e075 Include X-Content-Type-Options (XCTO) header into API responses
* Remove Session APIDouwe Maan2017-11-021-1/+0
|
* Add pages domains API implementationTravis Miller2017-10-221-0/+1
|
* Adds requirements that supports anything in sha paramsGuilherme Vieira2017-10-121-3/+4
|
* Exclude logging of API responses to prevent leakage of confidential datash-exclude-api-responsesStan Hu2017-09-131-1/+0
|