|
1 | 1 | # Curve Snapshot/Clone Interface |
2 | 2 |
|
| 3 | +- [Create a snapshot](#create-a-snapshot) |
| 4 | +- [Delete a snapshot](#delete-a-snapshot) |
| 5 | +- [Cancel a snapshot](#cancel-a-snapshot) |
| 6 | +- [Query the snapshot information](#query-the-snapshot-information) |
| 7 | +- [Clone](#clone) |
| 8 | +- [Volume recover from a snapshot](#volume-recover-from-a-snapshot) |
| 9 | +- [Flatten](#flatten) |
| 10 | +- [Query the information of the specific clone or recover task](#query-the-information-of-the-specific-clone-or-recover-task) |
| 11 | +- [Clean a clone or recover task](#clean-a-clone-or-recover-task) |
| 12 | +- [Code Comparison](#code-comparison) |
| 13 | + |
| 14 | + |
3 | 15 | ## Create a snapshot |
4 | 16 |
|
5 | 17 | | Method | Url | |
@@ -209,7 +221,7 @@ Content-Length: xxx |
209 | 221 | } |
210 | 222 | ``` |
211 | 223 |
|
212 | | -## Clone |
| 224 | +## Clone |
213 | 225 |
|
214 | 226 | | Method | Url | |
215 | 227 | | --- | --- | |
@@ -303,7 +315,7 @@ Content-Length: xxx |
303 | 315 | } |
304 | 316 | ``` |
305 | 317 |
|
306 | | -## Flatten: recover lazy-cloned volume |
| 318 | +## Flatten |
307 | 319 |
|
308 | 320 | | Method | Url | |
309 | 321 | | --- | --- | |
@@ -346,7 +358,7 @@ Content-Length: xxx |
346 | 358 | } |
347 | 359 | ``` |
348 | 360 |
|
349 | | -## Query the information of the specific clone/recover task |
| 361 | +## Query the information of the specific clone or recover task |
350 | 362 |
|
351 | 363 | Get all tasks of the specific user, you can limit with: |
352 | 364 |
|
@@ -424,7 +436,7 @@ Content-Length: xxx |
424 | 436 | } |
425 | 437 | ``` |
426 | 438 |
|
427 | | -## Clean a clone/recover task |
| 439 | +## Clean a clone or recover task |
428 | 440 |
|
429 | 441 | Clean the clone/recover task. Delete the temporary cloned file in curvefs server if the task has been failed, otherwise delete the task only. |
430 | 442 |
|
@@ -469,7 +481,7 @@ Content-Length: xxx |
469 | 481 | } |
470 | 482 | ``` |
471 | 483 |
|
472 | | -## Code Comparison |
| 484 | +## Code Comparison |
473 | 485 |
|
474 | 486 | |Code |Message | HTTP Status Code| Description | |
475 | 487 | | --- | --- | --- | --- | |
|
0 commit comments