2011-07-06 20:57:04 +04:00
|
|
|
api.array :queries, api_meta(:total_count => @query_count, :offset => @offset, :limit => @limit) do
|
|
|
|
@queries.each do |query|
|
|
|
|
api.query do
|
|
|
|
api.id query.id
|
|
|
|
api.name query.name
|
2013-07-11 21:45:10 +04:00
|
|
|
api.is_public query.is_public?
|
2011-07-06 20:57:04 +04:00
|
|
|
api.project_id query.project_id
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|