Skip to content

Commit 1bbe5de

Browse files
authored
Merge pull request #1557 from jestabro/update-http-api-rest
http-api: T6736: update config commands for dedicated REST API node
2 parents fa37004 + f365fda commit 1bbe5de

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/configuration/service/https.rst

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,22 @@ API
6767
Set a named api key. Every key has the same, full permissions
6868
on the system.
6969

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
7178

7279
To enable debug messages. Available via :opcmd:`show log` or
7380
:opcmd:`monitor log`
7481

75-
.. cfgcmd:: set service https api strict
82+
.. cfgcmd:: set service https api rest strict
7683

7784
Enforce strict path checking.
7885

79-
.. cfgcmd:: set service https api cors allow-origin <origin>
80-
81-
Allow cross-origin requests from `<origin>`.
82-
8386
GraphQL
8487
=======
8588

@@ -105,12 +108,17 @@ GraphQL
105108

106109
Set the byte length of the JWT secret. Default is 32.
107110

111+
.. cfgcmd:: set service https api graphql cors allow-origin <origin>
112+
113+
Allow cross-origin requests from `<origin>`.
114+
108115
*********************
109116
Example Configuration
110117
*********************
111118

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.
113120

114121
.. code-block:: none
115122
116123
set service https api keys id MY-HTTPS-API-ID key MY-HTTPS-API-PLAINTEXT-KEY
124+
set service https api rest

0 commit comments

Comments
 (0)