From 818dc0e1238f3fac29dea99e4beef23e50a5e634 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 13 Apr 2022 17:25:36 +0200 Subject: [PATCH] Development - update api docs --- source/development/api/core/interfaces.rst | 15 +++++++++++ source/development/api/core/unbound.rst | 31 +++++++++++++++++----- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/source/development/api/core/interfaces.rst b/source/development/api/core/interfaces.rst index 773a163b..bdda3400 100644 --- a/source/development/api/core/interfaces.rst +++ b/source/development/api/core/interfaces.rst @@ -16,6 +16,21 @@ Interfaces "``<>``", "", "", "", "*model* `Loopback.xml `__" +.. csv-table:: Resources (VlanSettingsController.php) + :header: "Method", "Module", "Controller", "Command", "Parameters" + :widths: 4, 15, 15, 30, 40 + + "``POST``","interfaces","vlan_settings","addItem","" + "``POST``","interfaces","vlan_settings","delItem","$uuid" + "``GET``","interfaces","vlan_settings","get","" + "``GET``","interfaces","vlan_settings","getItem","$uuid=null" + "``POST``","interfaces","vlan_settings","reconfigure","" + "``*``","interfaces","vlan_settings","searchItem","" + "``GET``","interfaces","vlan_settings","set","" + "``POST``","interfaces","vlan_settings","setItem","$uuid" + + "``<>``", "", "", "", "*model* `Vlan.xml `__" + .. csv-table:: Resources (VxlanSettingsController.php) :header: "Method", "Module", "Controller", "Command", "Parameters" :widths: 4, 15, 15, 30, 40 diff --git a/source/development/api/core/unbound.rst b/source/development/api/core/unbound.rst index 29904b32..67a7f652 100644 --- a/source/development/api/core/unbound.rst +++ b/source/development/api/core/unbound.rst @@ -29,13 +29,32 @@ Unbound :header: "Method", "Module", "Controller", "Command", "Parameters" :widths: 4, 15, 15, 30, 40 - "``POST``","unbound","settings","addDot","" - "``POST``","unbound","settings","delDot","$uuid" + "``POST``","unbound","settings","addDomainOverride","" + "``POST``","unbound","settings","addForward","" + "``POST``","unbound","settings","addHostAlias","" + "``POST``","unbound","settings","addHostOverride","" + "``POST``","unbound","settings","delDomainOverride","$uuid" + "``POST``","unbound","settings","delForward","$uuid" + "``POST``","unbound","settings","delHostAlias","$uuid" + "``POST``","unbound","settings","delHostOverride","$uuid" "``GET``","unbound","settings","get","" - "``GET``","unbound","settings","getDot","$uuid=null" - "``*``","unbound","settings","searchDot","" + "``GET``","unbound","settings","getDomainOverride","$uuid=null" + "``GET``","unbound","settings","getForward","$uuid=null" + "``GET``","unbound","settings","getHostAlias","$uuid=null" + "``GET``","unbound","settings","getHostOverride","$uuid=null" + "``GET``","unbound","settings","getNameservers","" + "``*``","unbound","settings","searchDomainOverride","" + "``*``","unbound","settings","searchForward","" + "``*``","unbound","settings","searchHostAlias","" + "``*``","unbound","settings","searchHostOverride","" "``GET``","unbound","settings","set","" - "``POST``","unbound","settings","setDot","$uuid" - "``POST``","unbound","settings","toggleDot","$uuid,$enabled=null" + "``POST``","unbound","settings","setDomainOverride","$uuid" + "``POST``","unbound","settings","setForward","$uuid" + "``POST``","unbound","settings","setHostAlias","$uuid" + "``POST``","unbound","settings","setHostOverride","$uuid" + "``POST``","unbound","settings","toggleDomainOverride","$uuid,$enabled=null" + "``POST``","unbound","settings","toggleForward","$uuid,$enabled=null" + "``POST``","unbound","settings","toggleHostAlias","$uuid,$enabled=null" + "``POST``","unbound","settings","toggleHostOverride","$uuid,$enabled=null" "``<>``", "", "", "", "*model* `Unbound.xml `__"