Skip to content

Commit c3f681c

Browse files
authored
Doc-578 Fix incorrect curl commands (#899)
1 parent 649319d commit c3f681c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/manage/partials/recovery-mode.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ Curl::
271271
+
272272
--
273273
```bash
274-
curl -X POST -d '{"disabled": true}' http://localhost:9644/cluster/partitions/<partition-namespace>/<topic-name>/<partition-id>
274+
curl -X POST -d '{"disabled": true}' http://localhost:9644/v1/cluster/partitions/<partition-namespace>/<topic-name>/<partition-id>
275275
```
276276
--
277277
====
@@ -291,7 +291,7 @@ Curl::
291291
+
292292
--
293293
```bash
294-
curl -X POST -d '{"disabled": false}' http://localhost:9644/cluster/partitions/<partition-namespace>/<topic-name>/<partition-id>
294+
curl -X POST -d '{"disabled": false}' http://localhost:9644/v1/cluster/partitions/<partition-namespace>/<topic-name>/<partition-id>
295295
```
296296
--
297297
====
@@ -311,7 +311,7 @@ Curl::
311311
+
312312
--
313313
```bash
314-
curl -X POST -d '{"disabled": true}' http://localhost:9644/cluster/partitions/<partition-namespace>/<topic-name>
314+
curl -X POST -d '{"disabled": true}' http://localhost:9644/v1/cluster/partitions/<partition-namespace>/<topic-name>
315315
```
316316
--
317317
====
@@ -331,7 +331,7 @@ Curl::
331331
+
332332
--
333333
```bash
334-
curl -X POST -d '{"disabled": false}' http://localhost:9644/cluster/partitions/<partition-namespace>/<topic-name>
334+
curl -X POST -d '{"disabled": false}' http://localhost:9644/v1/cluster/partitions/<partition-namespace>/<topic-name>
335335
```
336336
--
337337
====
@@ -351,7 +351,7 @@ Curl::
351351
+
352352
--
353353
```bash
354-
curl http://localhost:9644/cluster/partitions?disabled=true
354+
curl http://localhost:9644/v1/cluster/partitions?disabled=true
355355
```
356356
--
357357
====
@@ -371,7 +371,7 @@ Curl::
371371
+
372372
--
373373
```bash
374-
curl http://localhost:9644/cluster/partitions/<partition-namespace>/<topic-name>?disabled=true
374+
curl http://localhost:9644/v1/cluster/partitions/<partition-namespace>/<topic-name>?disabled=true
375375
```
376376
--
377377
====

0 commit comments

Comments
 (0)