Skip to content

Commit a271ff4

Browse files
bzp2010kayx23
andauthored
Apply suggestions from @kayx23
Co-authored-by: Traky Deng <trakydeng@gmail.com>
1 parent 8841833 commit a271ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/latest/deployment-modes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Now, we have two standalone running modes, file-driven and API-driven.
159159

160160
The following are API endpoints:
161161

162-
```text
162+
```shell
163163
## Update configuration
164164
## The conf_version is not required, if it is not entered by the client, the current 10-digit epoch time is used by default.
165165
curl -X PUT http://127.0.0.1:9180/apisix/admin/configs?conf_version=1234 \
@@ -181,7 +181,7 @@ Now, we have two standalone running modes, file-driven and API-driven.
181181

182182
The API accepts input in the same format as the file-based mode described above, although it also allows the user to input JSON instead of just YAML. The following example still applies. However, the API does not rely on the `#END` suffix because HTTP will guarantee input integrity.
183183

184-
*Note*: In this case, the Admin API based on etcd is not available, the configuration can only be flushed as a whole, rather than modifying a part of it, and the client needs to build request containing the complete new configuration to be sent to the API.
184+
*Note*: In this case, the Admin API based on etcd is not available. The configuration can only be flushed as a whole, rather than modified partially, and the client must send a request containing the complete new configuration to the API.
185185

186186
### How to configure rules
187187

0 commit comments

Comments
 (0)