rosa-build/app/views/api/v1/build_lists/index.json.jbuilder

8 lines
245 B
Ruby

json.build_lists @build_lists do |build_list|
json.(build_list, :id, :status, :project_id)
json.url api_v1_build_list_path(build_list, format: :json)
end
json.url api_v1_build_lists_path(format: :json, params: {filter: params[:filter] } )