gitlab-ce/config/routes/api.rb

9 lines
299 B
Ruby

# frozen_string_literal: true
match '/api/graphql', via: [:get, :post], to: 'graphql#execute'
match '/api/glql', via: [:get, :post], to: 'glql/base#execute'
get '/-/graphql-explorer', to: API::Graphql::GraphqlExplorerController.action(:show)
::API::API.logger Rails.logger
mount ::API::API => '/'