简体中文
cURL
curl --request POST \ --url https://api.ppinfra.com/gpu-instance/openapi/v1/image/prewarm \ --header 'Authorization: <authorization>' \ --header 'Content-Type: <content-type>' \ --data '{ "imageUrl": "<string>", "repositoryAuth": "<string>", "clusterId": "<string>", "productIds": {}, "note": "<string>" }'
{ "id": "<string>" }
curl --location --request POST 'https://api.ppinfra.com/gpu-instance/openapi/v1/image/prewarm' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {{API_KEY}}' \ --data-raw '{ "imageUrl": "nginx:latest", "repositoryAuth": "", "clusterId": "dev-test", "productIds": [], "note": "test" }'
{ "id": "nzd5nyi4keefsv2d" }