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/app/controllers/api/v3/queries_controller.rb

24 lines
442 B

module Api::V3
class QueriesController < ApplicationController
unloadable
include ApiController
include Concerns::ColumnData
include QueriesHelper
include ExtendedHTTP
before_filter :find_optional_project
def available_columns
query = retrieve_query
@available_columns = get_columns_for_json(query.available_columns)
respond_to do |format|
format.api
end
end
end
end