class WarpEngine::Api::SoftwareController
The software catalog.
Public Instance Methods
Source
# File app/controllers/warp_engine/api/software_controller.rb, line 87 def index render json: WarpEngine::SoftwareService.new.index( subject: current_subject, page: params[:page], per_page: params[:per_page], sort: params[:sort], **catalog_filters ) end
GET /api/software.
Renders the catalog envelope from WarpEngine::SoftwareService#index: the softwares visible to the caller with their releases, filtered by owner_id, status (comma-separated keys), platform, category and q, ordered by sort. Without page the whole catalog comes back; with page (and optional per_page) one page of it, with paging fields.