Skip to content

Commit

Permalink
docs: task manager add open api (#184)
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao authored Nov 19, 2024
1 parent d62dfed commit 12ad5c6
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 13 deletions.
9 changes: 4 additions & 5 deletions docs/advanced-guides/preheat.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ curl --location --request POST 'http://dragonfly-manager:8080/oapi/v1/jobs' \
"args": {
"type": "image",
"url": "https://index.docker.io/v2/library/alpine/manifests/3.19",
"filteredQueryParams": "Expires&Signature",
"username": "your_registry_username",
"password": "your_registry_password",
"scope": "single_peer" or "all_peers"
Expand All @@ -66,7 +65,7 @@ The command-line log returns the preheat job id.
"type": "preheat",
"state": "PENDING",
"args": {
"filteredQueryParams": "Expires&Signature",
"filteredQueryParams": "",
"headers": null,
"password": "",
"pieceLength": 4194304,
Expand Down Expand Up @@ -106,7 +105,7 @@ If the status is `SUCCESS`, the preheating is successful.
"type": "preheat",
"state": "SUCCESS",
"args": {
"filteredQueryParams": "Expires&Signature",
"filteredQueryParams": "",
"headers": null,
"password": "",
"pieceLength": 4194304,
Expand Down Expand Up @@ -159,7 +158,7 @@ The command-line log returns the preheat job id.
"type": "preheat",
"state": "PENDING",
"args": {
"filteredQueryParams": "Expires&Signature",
"filteredQueryParams": "",
"headers": null,
"password": "",
"pieceLength": 4194304,
Expand Down Expand Up @@ -199,7 +198,7 @@ If the status is `SUCCESS`, the preheating is successful.
"type": "preheat",
"state": "SUCCESS",
"args": {
"filteredQueryParams": "Expires&Signature",
"filteredQueryParams": "",
"headers": null,
"password": "",
"pieceLength": 4194304,
Expand Down
Loading

0 comments on commit 12ad5c6

Please sign in to comment.