gitlab-org--gitlab-foss/lib/api/v3
Stan Hu 46a6edc731 Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints
We can simplify the code quite a bit and improve performance by using
grape-entity merge fields:

https://github.com/ruby-grape/grape-entity/tree/v0.6.0#merge-fields

Relates to #42030
2018-01-30 21:46:09 -08:00
..
award_emoji.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
boards.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
branches.rb Improve performance of the /projects/:id/repository/branches API endpoint 2017-11-06 13:31:23 +01:00
broadcast_messages.rb Backport API to V3 2017-02-28 08:32:39 +01:00
builds.rb Use preload instead of includes to avoid joins 2018-01-15 22:04:08 +01:00
commits.rb Add option to disable commit stats to commit API 2018-01-09 11:36:12 +00:00
deploy_keys.rb Merge branch 'sh-migrate-can-push-to-deploy-keys-projects-10-3' into 'security-10-3' 2018-01-16 17:04:51 -08:00
deployments.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
entities.rb Merge branch 'security-10-3-do-not-expose-passwords-or-tokens-in-service-integrations-api' into 'security-10-3' 2018-01-16 17:04:38 -08:00
environments.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00
files.rb Blob#load_all_data! doesn’t need an argument 2017-06-07 14:28:33 -05:00
groups.rb Hide nested group UI/API support for MySQL 2017-05-17 20:53:16 +02:00
helpers.rb Filter archived project in API v3 only if param present 2017-06-21 20:04:25 +03:00
issues.rb [Multiple issue assignee]: reslving some conflicts 2017-05-04 17:22:24 +03:00
labels.rb EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00
members.rb Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints 2018-01-30 21:46:09 -08:00
merge_request_diffs.rb Removes default scope from sortable 2017-09-07 13:01:59 +01:00
merge_requests.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
milestones.rb Removes default scope from sortable 2017-09-07 13:01:59 +01:00
notes.rb Whitelist or fix additional `Gitlab/PublicSend` cop violations 2017-08-14 12:14:11 -04:00
pipelines.rb Fix how to use PipelinesFinder 2017-05-03 02:11:51 +09:00
project_hooks.rb Fixup POST /v3/:id/hooks and PUT /v3/:id/hooks/:hook_id 2017-07-28 16:27:10 +00:00
project_snippets.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
projects.rb Use limit for search count queries 2018-01-23 22:33:42 +01:00
repositories.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
runners.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
services.rb Merge branch 'security-10-3-do-not-expose-passwords-or-tokens-in-service-integrations-api' into 'security-10-3' 2018-01-16 17:04:38 -08:00
settings.rb Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
snippets.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
subscriptions.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00
system_hooks.rb Backport API to V3 2017-02-28 08:32:39 +01:00
tags.rb Remove 'Repo' prefix from API entites 2017-10-05 19:48:05 +11:00
templates.rb Remove 'Repo' prefix from API entites 2017-10-05 19:48:05 +11:00
time_tracking_endpoints.rb Only include the user's ID in the time_spent command's update hash 2017-12-19 15:45:08 -06:00
todos.rb Avoid plucking Todo ids and use sub-queries instead 2017-08-03 16:31:05 +02:00
triggers.rb Use pipeline.trigger_requests.last 2017-09-05 01:22:57 +09:00
users.rb Initial attempt at refactoring API scope declarations. 2017-06-28 07:17:13 +00:00
variables.rb Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes 2017-03-16 18:00:24 +01:00