Portal

/portal/info

Returns all information about the portal.

Example Response:

{
    "version": "2018.03.08-01",
    "kernal_build": 434,
    "key": "ABCD-EFGC-HIJK-LMNO-PQRS-TUVX-YZWA-BCDE",
    "php_version": "7.2.0",
    "os": "Linux ip-123-23-123-32 4.9.70-2.243.amzn2.x86_64 #1 SMP Thu Jan 4 03:49:00 UTC 2018 x86_64",
    "user": "apache",
    "server_addr": "123.23.123.32",
    "server_ips": [
        "123.23.123.32",
        "portaldemo.interworks.com"
    ],
    "database": "mysql",
    "display_errors": "Off",
    "post_max_size": "50M",
    "upload_max_filesize": "50M",
    "max_execution_time": "30",
    "cache": "memcached",
    "gd": true,
    "fileinfo": true,
    "zip": true,
    "curl": true,
    "openssl": true,
    "memcached": true,
    "php_location": "\/usr\/bin\/php",
    "webroot": "\/var\/www\/html"
}

/portal/version

Returns version information about the portal.

Example Response:

{
    "version": "2017.08.10-01"
}

/portal/key

Returns version information about the portal.

Example Response:

{
    "key": "1234-5678-9101-1112-1314"
}

/portal/setKey

Sets the portal key.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/upgrade

Upgrades the portal to the latest version.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/cron

Runs the Portal Schedules.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/migrations

Runs database migrations.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/clearCache

Clears portal cache.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/phpinfo

Returns the PHP Information Page

/portal/setPortalName

Sets the portal name.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/octoberUpgrade

Upgrades the underlying OctoberCMS.

Example Response:

{
    "result": "Success",
    "msg": 0
}

/portal/export

Exports portal data.

/portal/cacheInfo

Returns all information about the portal.

/portal/setAnalyticsSettings

Sets the analytics tracking settings.

/portal/setParameter

Sets a system parameter.

/portal/cleanSettings

Cleans up settings data, if there are duplicates.

/portal/fixStoragePerms

Attempts to fix storage file permissions, recursively.

/portal/checkSettings

Check settings items.

/portal/downloadLog

Exports portal data.