We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8556c83 + a550781 commit 107f451Copy full SHA for 107f451
2 files changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Endpoints/VPNOpenVPNClientExportEndpoint.inc
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+namespace RESTAPI\Endpoints;
4
5
+require_once 'RESTAPI/autoloader.inc';
6
7
+use RESTAPI\Core\Endpoint;
8
9
+/**
10
+ * Defines an Endpoint for interacting with a single OpenVPNExport Model object at
11
+ * /api/v2/vpn/openvpn/clientexport.
12
+ */
13
+class VPNOpenVPNClientExportEndpoint extends Endpoint {
14
+ public function __construct() {
15
+ # Set Endpoint attributes
16
+ $this->url = '/api/v2/vpn/openvpn/clientexport';
17
+ $this->model_name = 'OpenVPNClientExport';
18
+ $this->request_method_options = [ 'POST' ];
19
+ $this->many = false;
20
21
+ # Construct the parent Endpoint object
22
+ parent::__construct();
23
+ }
24
+}
0 commit comments