Let the platform do the work

/css GET

Overview

Runs LessPHP for a platform and a theme and outputs an array of css files. If not found the css files will be compiled.

Request Arguments

Name Type Description Required
platform String The theme platform - /themes/clients/***PLATFORM***/themeName/. Accepted values are 'base' and 'portal'. No. (defaults to base)
themeName String The theme name - /themes/clients/platform/***THEMENAME***/. No. (defaults to default)

Request

{
    platform: 'portal',
    themeName: 'default'
}

Response

{
    url: [
        'cache/themes/clients/base/default/bootstrap_97c9cf53841dbe471c20d169e3533763.css',
        'cache/themes/clients/base/default/sugar_14c42516aad866b7f80cc896ce5c5406.css',
    ]
}

Change Log

Version Change
v10 Added /<css> GET endpoint.