File tree 1 file changed +15
-7
lines changed
docs/configuration/service 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 67
67
Set a named api key. Every key has the same, full permissions
68
68
on the system.
69
69
70
- .. cfgcmd :: set service https api debug
70
+ REST
71
+ ====
72
+
73
+ .. cfgcmd :: set service https api rest
74
+
75
+ Enable REST API
76
+
77
+ .. cfgcmd :: set service https api rest debug
71
78
72
79
To enable debug messages. Available via :opcmd: `show log ` or
73
80
:opcmd: `monitor log `
74
81
75
- .. cfgcmd :: set service https api strict
82
+ .. cfgcmd :: set service https api rest strict
76
83
77
84
Enforce strict path checking.
78
85
79
- .. cfgcmd :: set service https api cors allow-origin <origin>
80
-
81
- Allow cross-origin requests from `<origin> `.
82
-
83
86
GraphQL
84
87
=======
85
88
@@ -105,12 +108,17 @@ GraphQL
105
108
106
109
Set the byte length of the JWT secret. Default is 32.
107
110
111
+ .. cfgcmd :: set service https api graphql cors allow-origin <origin>
112
+
113
+ Allow cross-origin requests from `<origin> `.
114
+
108
115
*********************
109
116
Example Configuration
110
117
*********************
111
118
112
- Set an API-KEY is the minimal configuration to get a working API Endpoint.
119
+ Setting REST API and an API-KEY is the minimal configuration to get a working API Endpoint.
113
120
114
121
.. code-block :: none
115
122
116
123
set service https api keys id MY-HTTPS-API-ID key MY-HTTPS-API-PLAINTEXT-KEY
124
+ set service https api rest
You can’t perform that action at this time.
0 commit comments