Belirtilen örneklere CVE acil düzeltmelerini zamanuyumsuz olarak yükler.
Operation description
Bu işlem, ajanı zamanuyumsuz olarak yükler. İşlem çağrıldıktan sonra bir görev kimliği döndürülür. Görevin yürütme durumunu sorgulamak için bu kimliği kullanarak GetHotfixTask işlemini çağırabilirsiniz.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/hotfix_manager/hotfix/install HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
İstek gövdesi. |
|
| cveId |
string |
Yes |
CVE kimliği. |
CVE-2026-12345 |
| instances |
array<object> |
Yes |
Hedef örnekler. |
|
|
object |
No |
Örnek bilgileri. |
||
| instanceId |
string |
Yes |
Örnek kimliği. |
i-bp1example |
| regionId |
string |
Yes |
Bölge kimliği. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| code |
string |
Durum kodu.\n- code == Success ise yetkilendirme başarılıdır.\n- Diğer durum kodları yetkilendirmenin başarısız olduğunu gösterir. Yetkilendirme başarısız olursa, ayrıntılı hata mesajı için message alanını kontrol edin. |
Success |
| data |
object |
Döndürülen veriler. |
|
| taskId |
string |
Zamanuyumsuz görev kimliği. |
hotfix-da3dcc0b-5019-4b59-b12f-2e500da9083c |
| message |
string |
Hata mesajı.\n- code == Success ise bu alan boştur.\n- Aksi takdirde, bu alan istek hata mesajını içerir. |
success |
| requestId |
string |
Uçtan uca tanılama için kullanılabilecek istek kimliği. |
2D693121-C925-5154-8DF6-C09A8B369822 |
Examples
Success response
JSON format
{
"code": "Success",
"data": {
"taskId": "hotfix-da3dcc0b-5019-4b59-b12f-2e500da9083c"
},
"message": "success",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SysomOpenAPI.InvalidParameter | Invalid parameters passed when calling the interface. | API çağrısında geçersiz bir parametre belirtildi. |
| 400 | SysomOpenAPI.MissingParameter | Missing parameters. | Gerekli bir parametre eksik. |
| 400 | SysomOpenAPI.HotfixTooManyInstances | The number of instances exceeds the limit of 500. | |
| 400 | SysomOpenAPI.HotfixCveNotFound | The specified CVE hotfix was not found. | |
| 400 | SysomOpenAPI.NotAuthorizedInstance | The instance was not found or is not authorized. | |
| 500 | SysomOpenAPI.ServerError | An internal server error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.