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

Event listener (test fixture)

addons.desc.integration.listener This is a test fixture used by the integration tests; it is not offered in the marketplace.

FieldValue
Addon idintegration-listener
Kindintegration
Provideslistener
Enginewasm
ABI0.3.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/fixture-listener
Permissions (shown at install)none

#Capabilities

CapabilityValue
hooks[{"event":"before:integration-lifecycle:greet","priority":"low"},{"event":"after:integration-lifecycle:greet"},{"event":"finished:integration-lifecycle:greet","priority":"monitor"}]
kvtrue
routes[{"access":"admin","method":"GET","path":"/log","permission":"reports.read"}]

#Events and hooks

WhatValue
Listens to (events)none
Hooksbefore:integration-lifecycle:greet, after:integration-lifecycle:greet, finished:integration-lifecycle:greet
Emitsnone
Mixinsnone
Scheduled jobsnone

#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: none. $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-listener/.

MethodPathAccessPermission
GET/logadminreports.read

#addon.json

extensions/addons/fixture-listener/addon.jsonJSON
{
  "abi": "0.3.0",
  "author": "MythicalSystems",
  "capabilities": {
    "hooks": [
      {
        "event": "before:integration-lifecycle:greet",
        "priority": "low"
      },
      {
        "event": "after:integration-lifecycle:greet"
      },
      {
        "event": "finished:integration-lifecycle:greet",
        "priority": "monitor"
      }
    ],
    "kv": true,
    "routes": [
      {
        "access": "admin",
        "method": "GET",
        "path": "/log",
        "permission": "reports.read"
      }
    ]
  },
  "description": "addons.desc.integration.listener",
  "engine": "wasm",
  "id": "integration-listener",
  "kind": "integration",
  "name": "Event listener (test fixture)",
  "permissions": [],
  "provides": "listener",
  "settings": [],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}