Developer docs / Bundled addons
ResellerClub ResellerClub / LogicBoxes HTTP API.
Field Value Addon id registrar-resellerclubKind registrarProvides resellerclubEngine wasmABI 0.2.0Version 0.1.0 Author MythicalSystems Source extensions/addons/reg-resellerclubPermissions (shown at install) domains.manage, network.outbound
# Capabilities
Capability Value httphttpapi.com, test.httpapi.com, $setting:api_basesecretsnone
# Events and hooks
What Value Listens to (events) none Hooks none Emits none Mixins none Scheduled jobs none
# Settings and secrets
Setting Type Required reseller_idtextyes api_keysecretyes customer_idtextyes contact_idtextyes test_modeboolno api_basetextno
Secrets (stored encrypted, never returned by the API): none.
Outbound HTTP allowed to: httpapi.com, test.httpapi.com, $setting:api_base. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.
# addon.json
extensions/addons/reg-resellerclub/addon.json JSON Wrap Copy
{
" abi" : " 0.2.0" ,
" author" : " MythicalSystems" ,
" capabilities" : {
" http" : [
" httpapi.com" ,
" test.httpapi.com" ,
" $setting:api_base"
] ,
" secrets" : [ ]
} ,
" description" : " addons.desc.registrar.resellerclub" ,
" engine" : " wasm" ,
" id" : " registrar-resellerclub" ,
" kind" : " registrar" ,
" name" : " ResellerClub" ,
" permissions" : [
" domains.manage" ,
" network.outbound"
] ,
" provides" : " resellerclub" ,
" settings" : [
{
" key" : " reseller_id" ,
" kind" : " text" ,
" label" : " addons.registrar.setting.reseller_id" ,
" required" : true
} ,
{
" key" : " api_key" ,
" kind" : " secret" ,
" label" : " addons.registrar.setting.api_key" ,
" required" : true
} ,
{
" key" : " customer_id" ,
" kind" : " text" ,
" label" : " addons.registrar.setting.customer_id" ,
" required" : true
} ,
{
" key" : " contact_id" ,
" kind" : " text" ,
" label" : " addons.registrar.setting.contact_id" ,
" required" : true
} ,
{
" default" : false ,
" key" : " test_mode" ,
" kind" : " bool" ,
" label" : " addons.registrar.setting.test_mode" ,
" required" : false
} ,
{
" key" : " api_base" ,
" kind" : " text" ,
" label" : " addons.registrar.setting.api_base" ,
" required" : false
}
] ,
" version" : " 0.1.0" ,
" wasm" : " addon.wasm"
}