class WarpEngine::Api::SoftwareVocabularyController
The status and category vocabulary of the catalog.
Public Instance Methods
Source
# File app/controllers/warp_engine/api/software_vocabulary_controller.rb, line 37 def show render json: WarpEngine::SoftwareService.new.vocabulary(subject: current_subject) end
GET /api/software/vocabulary.
Renders WarpEngine::SoftwareService#vocabulary: the statuses (key, label, position, default visibility, badge) and categories (key, label, position, count of visible softwares) in display order.