You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[NGINX One Console](https://docs.nginx.com/nginx-one/)
33
-
-[NGINX Plus R30+](https://docs.nginx.com/nginx/)
33
+
-[NGINX Plus R33+](https://docs.nginx.com/nginx/)
34
34
- NGINX App Protect WAF [4](https://docs.nginx.com/nginx-app-protect-waf/v4/) and [5](https://docs.nginx.com/nginx-app-protect-waf/v5/)
35
35
36
-
**Note**: NGINX Plus R33 and above [require a valid license](https://docs.nginx.com/solutions/about-subscription-licenses/) and the `.output.license` section in the declarative JSON is required. See the [usage notes](/USAGE-v5.3.md) for further details. [Postman collection](/contrib/postman) examples are provided for R33.
36
+
**Note**: NGINX Plus R33 and above [require a valid license](https://docs.nginx.com/solutions/about-subscription-licenses/) and the `.output.license` section in the declarative JSON is required. See the [usage notes](/USAGE-v5.4.md) for further details. [Postman collection](/contrib/postman) examples are provided for NGINX Plus R33+.
37
37
38
38
## Architecture
39
39
@@ -189,7 +189,7 @@ end
189
189
190
190
-[X] Output to NGINX Instance Manager 2.14+ imperative REST API (instance group)
191
191
-[X] Output to NGINX One Console REST API (config sync group)
192
-
192
+
193
193
## Supported features
194
194
195
195
See the [features list](/FEATURES.md)
@@ -198,8 +198,8 @@ See the [features list](/FEATURES.md)
198
198
199
199
Usage details and JSON schema are available here:
200
200
201
+
-[API v5.4](/USAGE-v5.4.md) - latest
201
202
-[API v5.3](/USAGE-v5.3.md) - stable
202
-
-[API v5.2](/USAGE-v5.2.md) - deprecated
203
203
204
204
A sample Postman collection and usage instructions can be found [here](/contrib/postman)
-[NGINX App Protect WAF](https://docs.nginx.com/nginx-app-protect-waf/)4 with precompiled [policy bundles](https://docs.nginx.com/nginx-app-protect-waf/v5/admin-guide/compiler/)
7
+
-[NGINX Plus](https://docs.nginx.com/nginx/) R31+
8
+
-[NGINX App Protect WAF](https://docs.nginx.com/nginx-app-protect-waf/)v4 or v5 with precompiled [policy bundles](https://docs.nginx.com/nginx-app-protect-waf/v5/admin-guide/compiler/)
9
9
10
10
The JSON schema is self explanatory. See also the [sample Postman collection](/contrib/postman) for usage examples
11
11
@@ -21,6 +21,7 @@ The JSON schema is self explanatory. See also the [sample Postman collection](/c
21
21
-`.output.nms.password` the NGINX Instance Manager authentication password
22
22
-`.output.nms.instancegroup` the NGINX Instance Manager instance group to publish the configuration to
23
23
-`.output.nms.synctime`**optional**, used for GitOps autosync. When specified and the declaration includes HTTP(S) references to NGINX App Protect policies, TLS certificates/keys/chains, the HTTP(S) endpoints will be checked every `synctime` seconds and if external contents have changed, the updated configuration will automatically be published to NGINX Instance Manager
24
+
-`.output.nms.synchronous`**optional**, when set to `True` (default) the NGINX Declarative API waits for NGINX Instance Manager successful reply after publishing the NGINX configuration. Setting this to `False` enqueues the request, supporting multiple JSON declarations to be submitted at the same time/from multiple clients. Currently supported for `PATCH` operations only.
24
25
-`.output.nms.modules` an optional array of NGINX module names (ie. 'ngx_http_app_protect_module', 'ngx_http_js_module','ngx_stream_js_module')
25
26
-`.output.nms.certificates` an optional array of TLS certificates/keys/chains to be published
26
27
-`.output.nms.certificates[].type` the item type ('certificate', 'key', 'chain')
@@ -41,6 +42,7 @@ The JSON schema is self explanatory. See also the [sample Postman collection](/c
41
42
-`.output.nginxone.token` the authentication token
42
43
-`.output.nginxone.configsyncgroup` the NGINX One Console config sync group name
43
44
-`.output.nginxone.synctime`**optional**, used for GitOps autosync. When specified and the declaration includes HTTP(S) references to NGINX App Protect policies, TLS certificates/keys/chains, the HTTP(S) endpoints will be checked every `synctime` seconds and if external contents have changed, the updated configuration will automatically be published to NGINX One Cloud Console
45
+
-`.output.nms.synchronous`**optional**, when set to `True` (default) the NGINX Declarative API waits for NGINX One Console successful reply after publishing the NGINX configuration. Setting this to `False` enqueues the request, supporting multiple JSON declarations to be submitted at the same time/from multiple clients. Currently supported for `PATCH` operations only.
44
46
-`.output.nginxone.modules` an optional array of NGINX module names (ie. 'ngx_http_app_protect_module', 'ngx_http_js_module','ngx_stream_js_module')
45
47
-`.output.nginxone.certificates` an optional array of TLS certificates/keys/chains to be published
46
48
-`.output.nginxone.certificates[].type` the item type ('certificate', 'key', 'chain')
@@ -53,12 +55,13 @@ The JSON schema is self explanatory. See also the [sample Postman collection](/c
53
55
54
56
### API endpoints
55
57
56
-
-`POST /v5.2/config/` - Publish a new declaration
57
-
-`PATCH /v5.2/config/{config_uid}` - Update an existing declaration
58
+
-`POST /v5.4/config/` - Publish a new declaration
59
+
-`PATCH /v5.4/config/{config_uid}` - Update an existing declaration
58
60
- Per-HTTP server CRUD
59
61
- Per-HTTP upstream CRUD
60
62
- Per-Stream server CRUD
61
63
- Per-Stream upstream CRUD
62
64
- Per-NGINX App Protect WAF policy CRUD
63
-
-`GET /v5.2/config/{config_uid}` - Retrieve an existing declaration
64
-
-`DELETE /v5.2/config/{config_uid}` - Delete an existing declaration
65
+
-`GET /v5.4/config/{configUid}/submission/{submissionUid}` - Retrieve a submission (asynchronous `PATCH` request) status
66
+
-`GET /v5.4/config/{config_uid}` - Retrieve an existing declaration
67
+
-`DELETE /v5.4/config/{config_uid}` - Delete an existing declaration
0 commit comments