Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

Power capabilities demo (test fixture)

Test fixture for opt-in capabilities. This is a test fixture used by the integration tests; it is not offered in the marketplace.

FieldValue
Addon idintegration-powerdemo
Kindintegration
Providespowerdemo
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/fixture-power
Permissions (shown at install)none

#Capabilities

CapabilityValue
auth_providertrue
db{"read":["clients","invoices"],"sql":true,"write":["client.note"]}
exec/bin/echo
fstrue
hooks[{"event":"before:*","priority":10}]
http*
http_privatefalse
jobs[{"every_secs":0,"op":"tick"}]
kvtrue
money{"modify":true}
routes[{"access":"admin","method":"POST","path":"/try","permission":"plugins.manage"}]

#Events and hooks

WhatValue
Listens to (events)none
Hooksbefore:*
Emitsnone
Mixinsnone
Scheduled jobstick every 0 s

#Settings and secrets

No admin settings are declared in addon.json or in the source.

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: *. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#HTTP routes

Mounted under /api/v1/addons/integration-powerdemo/.

MethodPathAccessPermission
POST/tryadminplugins.manage

#addon.json

extensions/addons/fixture-power/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "auth_provider": true,
    "db": {
      "read": [
        "clients",
        "invoices"
      ],
      "sql": true,
      "write": [
        "client.note"
      ]
    },
    "exec": [
      "/bin/echo"
    ],
    "fs": true,
    "hooks": [
      {
        "event": "before:*",
        "priority": 10
      }
    ],
    "http": [
      "*"
    ],
    "http_private": false,
    "jobs": [
      {
        "every_secs": 0,
        "op": "tick"
      }
    ],
    "kv": true,
    "money": {
      "modify": true
    },
    "routes": [
      {
        "access": "admin",
        "method": "POST",
        "path": "/try",
        "permission": "plugins.manage"
      }
    ]
  },
  "description": "Test fixture for opt-in capabilities.",
  "engine": "wasm",
  "id": "integration-powerdemo",
  "kind": "integration",
  "limits": {
    "memory_mib": 128,
    "timeout_secs": 10
  },
  "name": "Power capabilities demo (test fixture)",
  "permissions": [],
  "provides": "powerdemo",
  "version": "0.1.0",
  "wasm": "addon.wasm"
}