|
667 | 667 | <a class=text-success data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS href=#collapse-FIREWALL_2FALIAS-CreateFirewallAliases><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Create Firewall Aliases</strong> | |
668 | 668 | <strong class="request-method border-success">POST</strong> |
669 | 669 | |
670 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-CreateFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Add a new host, network or port firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-aliases-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of new alias. <em>Only alpha-numeric and underscore characters are allowed, other characters will be replaced</em><tr><td>type<td>string<td><p>Alias type. Current supported alias types are<code>host</code>, <code>network</code>, and <code>port</code> aliases.<tr><td>descr<td>string<td><p>Description of new alias (optional)<tr><td>address<td>string or array<td><p>Array of values to add to alias. A single value may be specified as string.<tr><td>detail<td>string or array<td><p>Array of descriptions for alias values. Descriptions must match the order the that they are specified in the <code>address</code> array. Single descriptions may be specified as string</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 670 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-CreateFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Add a new host, network or port firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-alias-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of new alias. <em>Only alpha-numeric and underscore characters are allowed, other characters will be replaced</em><tr><td>type<td>string<td><p>Alias type. Current supported alias types are<code>host</code>, <code>network</code>, and <code>port</code> aliases.<tr><td>descr<td>string<td><p>Description of new alias (optional)<tr><td>address<td>string or array<td><p>Array of values to add to alias. A single value may be specified as string.<tr><td>detail<td>string or array<td><p>Array of descriptions for alias values. Descriptions must match the order the that they are specified in the <code>address</code> array. Single descriptions may be specified as string</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
671 | 671 | "name": "RFC1918", |
672 | 672 | "type": "network", |
673 | 673 | "descr": "Networks reserved in RFC1918", |
|
677 | 677 | <a class=text-danger data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS href=#collapse-FIREWALL_2FALIAS-DeleteFirewallAliases><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Delete Firewall Aliases</strong> | |
678 | 678 | <strong class="request-method border-danger">DELETE</strong> |
679 | 679 | |
680 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-DeleteFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Delete an existing alias and reload filter.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-aliases-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 680 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-DeleteFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Delete an existing alias and reload filter.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-alias-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
681 | 681 | "id": "RFC1918" |
682 | 682 | }</span><div class=clearfix></div></div></div></div><div class="panel panel-info" id=jump-FIREWALL_2FALIAS-ReadFirewallAliases><div class=panel-heading><small class="pull-right text-muted">raw</small> |
683 | 683 | <a class=text-info data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS href=#collapse-FIREWALL_2FALIAS-ReadFirewallAliases><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Read Firewall Aliases</strong> | |
|
687 | 687 | <a class=text-warning data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS href=#collapse-FIREWALL_2FALIAS-UpdateFirewallAliases><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Update Firewall Aliases</strong> | |
688 | 688 | <strong class="request-method border-warning">PUT</strong> |
689 | 689 | |
690 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-UpdateFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Modify an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-aliases-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 690 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias</h4></a></div><div id=collapse-FIREWALL_2FALIAS-UpdateFirewallAliases class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Modify an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-alias-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
691 | 691 | "id": "RFC1918", |
692 | 692 | "name": "UPDATED_RFC1918", |
693 | 693 | "type": "network", |
|
699 | 699 | <a class=text-success data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS_2FENTRY href=#collapse-FIREWALL_2FALIAS_2FENTRY-CreateFirewallAliasEntries><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Create Firewall Alias Entries</strong> | |
700 | 700 | <strong class="request-method border-success">POST</strong> |
701 | 701 | |
702 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias/entry</h4></a></div><div id=collapse-FIREWALL_2FALIAS_2FENTRY-CreateFirewallAliasEntries class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Add new entries to an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-aliases-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of alias to add new address values<tr><td>address<td>string or array<td><p>Array of values to add to alias. A single value may be specified as string.<tr><td>detail<td>string or array<td><p>Array of descriptions for alias values. Descriptions must match the order the that they are specified in the <code>address</code> array. Single descriptions may be specified as string. If you pass In less <code>detail</code> values than <code>address</code> values, a default auto-created detail will be applied to the remaining values. (optional)</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 702 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias/entry</h4></a></div><div id=collapse-FIREWALL_2FALIAS_2FENTRY-CreateFirewallAliasEntries class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Add new entries to an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-alias-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of alias to add new address values<tr><td>address<td>string or array<td><p>Array of values to add to alias. A single value may be specified as string.<tr><td>detail<td>string or array<td><p>Array of descriptions for alias values. Descriptions must match the order the that they are specified in the <code>address</code> array. Single descriptions may be specified as string. If you pass In less <code>detail</code> values than <code>address</code> values, a default auto-created detail will be applied to the remaining values. (optional)</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
703 | 703 | "name": "RFC1918", |
704 | 704 | "address": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"], |
705 | 705 | "detail": "Hypervisor" |
706 | 706 | }</span><div class=clearfix></div></div></div></div><div class="panel panel-danger" id=jump-FIREWALL_2FALIAS_2FENTRY-DeleteFirewallAliasEntries><div class=panel-heading><small class="pull-right text-muted">raw</small> |
707 | 707 | <a class=text-danger data-toggle=collapse data-parent=#accordion-FIREWALL_2FALIAS_2FENTRY href=#collapse-FIREWALL_2FALIAS_2FENTRY-DeleteFirewallAliasEntries><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Delete Firewall Alias Entries</strong> | |
708 | 708 | <strong class="request-method border-danger">DELETE</strong> |
709 | 709 | |
710 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias/entry</h4></a></div><div id=collapse-FIREWALL_2FALIAS_2FENTRY-DeleteFirewallAliasEntries class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Delete existing entries from an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-aliases-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of alias to delete address values from<tr><td>address<td>string<td><p>Array of values to delete from alias. A single value may be specified as string.</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 710 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/alias/entry</h4></a></div><div id=collapse-FIREWALL_2FALIAS_2FENTRY-DeleteFirewallAliasEntries class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Delete existing entries from an existing firewall alias.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-alias-edit</code>]</small><br><br><h5 class="label label-info">Query</h5><table class="table table-hover"><thead><tr><th>Key<th>Value<th>Description<tbody><tr><td>name<td>string<td><p>Name of alias to delete address values from<tr><td>address<td>string<td><p>Array of values to delete from alias. A single value may be specified as string.</table><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
711 | 711 | "name": "RFC1918", |
712 | 712 | "address": ["10.0.0.0/8", "172.16.0.0/12"] |
713 | 713 | }</span><div class=clearfix></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 class=panel-title id=FIREWALL_2FAPPLY>FIREWALL/APPLY |
714 | 714 | <span class=badge>1</span></h3></div><div class=panel-body><p><div class=request-item><div class=panel-group id=accordion-FIREWALL_2FAPPLY><div class="panel panel-success" id=jump-FIREWALL_2FAPPLY-ApplyFirewall><div class=panel-heading><small class="pull-right text-muted">raw</small> |
715 | 715 | <a class=text-success data-toggle=collapse data-parent=#accordion-FIREWALL_2FAPPLY href=#collapse-FIREWALL_2FAPPLY-ApplyFirewall><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Apply Firewall</strong> | |
716 | 716 | <strong class="request-method border-success">POST</strong> |
717 | 717 | |
718 | | -https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/apply</h4></a></div><div id=collapse-FIREWALL_2FAPPLY-ApplyFirewall class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Apply pending firewall changes. This will reload all filter items. This endpoint returns no data.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-rules</code>, <code>page-firewall-rules-edit</code>, <code>page-firewall-aliases</code>, <code>page-firewall-aliases-edit</code>, <code>page-firewall-nat-1-1</code>, <code>page-firewall-nat-1-1-edit</code>, <code>page-firewall-nat-outbound</code>, <code>page-firewall-nat-outbound-edit</code>, <code>page-firewall-nat-portforward</code>, <code>page-firewall-nat-portforward-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
| 718 | +https://<?echo $_SERVER['HTTP_HOST'];?>/api/v1/firewall/apply</h4></a></div><div id=collapse-FIREWALL_2FAPPLY-ApplyFirewall class="panel-collapse collapse"><div class=panel-body><h5 class="label label-default">Description</h5><br><small><p>Apply pending firewall changes. This will reload all filter items. This endpoint returns no data.<br><br><p><em>Requires at least one of the following privileges:</em> [<code>page-all</code>, <code>page-firewall-rules</code>, <code>page-firewall-rules-edit</code>, <code>page-firewall-aliases</code>, <code>page-firewall-alias-edit</code>, <code>page-firewall-nat-1-1</code>, <code>page-firewall-nat-1-1-edit</code>, <code>page-firewall-nat-outbound</code>, <code>page-firewall-nat-outbound-edit</code>, <code>page-firewall-nat-portforward</code>, <code>page-firewall-nat-portforward-edit</code>]</small><br><br><h5 class="label label-primary">Body</h5><span class=resp-prettyprint>{ |
719 | 719 | }</span><div class=clearfix></div></div></div></div></div></div></div></div><div class="panel panel-default"><div class=panel-heading><h3 class=panel-title id=FIREWALL_2FNAT_2FONETOONE>FIREWALL/NAT/ONE_TO_ONE |
720 | 720 | <span class=badge>4</span></h3></div><div class=panel-body><p><div class=request-item><div class=panel-group id=accordion-FIREWALL_2FNAT_2FONETOONE><div class="panel panel-success" id=jump-FIREWALL_2FNAT_2FONETOONE-CreateNAT1to1Mappings><div class=panel-heading><small class="pull-right text-muted">raw</small> |
721 | 721 | <a class=text-success data-toggle=collapse data-parent=#accordion-FIREWALL_2FNAT_2FONETOONE href=#collapse-FIREWALL_2FNAT_2FONETOONE-CreateNAT1to1Mappings><h4 class=panel-title><span class="glyphicon glyphicon-plus"></span><strong>Create NAT 1-to-1 Mappings</strong> | |
|
0 commit comments