class WarpEngine::Api::SoftwareHighlightedController
The highlighted (featured) software.
Public Instance Methods
Source
# File app/controllers/warp_engine/api/software_highlighted_controller.rb, line 42 def show result = WarpEngine::SoftwareHighlightedService.new.index(subject: current_subject) if result render json: result else render json: { error: "no highlighted software found" }, status: :not_found end end
GET /api/software/highlighted.
Renders the highlighted software visible to the caller, with its releases, latest and web-playable release and total downloads (see WarpEngine::SoftwareDetailSerializer). Responds 404 when there is none.