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

Custom HTTP gateway

Your own HTTP gateway from admin templates with HMAC signing.

FieldValue
Addon idgateway-custom-http
Kindgateway
Providescustom_http
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/custom
Permissions (shown at install)payments.process, network.outbound

#Capabilities

CapabilityValue
http*
secrets*

#Events and hooks

WhatValue
Listens to (events)none
Hooksnone
Emitsnone
Mixinsnone
Scheduled jobsnone

#Settings and secrets

SettingTypeRequired
nametextyes
createjsonno
webhookjsonno
refundjsonno

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

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

#addon.json

extensions/addons/custom/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "http": [
      "*"
    ],
    "secrets": [
      "*"
    ]
  },
  "description": "addons.desc.gateway.custom_http",
  "engine": "wasm",
  "id": "gateway-custom-http",
  "kind": "gateway",
  "name": "Custom HTTP gateway",
  "permissions": [
    "payments.process",
    "network.outbound"
  ],
  "provides": "custom_http",
  "settings": [],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}