OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/lib/api/v3/queries/queries_api.rb

25 lines
350 B

module API
module V3
module Queries
class QueriesAPI < Grape::API
resources :queries do
params do
requires :id, desc: 'Query id'
end
namespace ':id' do
get do
{ query: 'query' }.to_json
end
end
end
end
end
end
end