Menjeda tugas agen yang sedang berjalan pada node Mobile.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TaskIds |
array |
Yes |
Daftar ID tugas. |
|
|
string |
Yes |
The task ID. |
t-bp67acfmxazb4p**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
E38B41A8-8E00-5AE4-A957-6636ACB8**** |
| Code |
string |
The status code. |
200 |
| Message |
string |
The response message. |
Success. |
| Tasks |
array<object> |
A list of tasks. |
|
|
object |
A task object. |
||
| TaskId |
string |
The unique ID of the task. |
t-imr0fufqd7cle**** |
| InstanceId |
string |
The ID of the Mobile node. |
acp-anzzuho371azi44xr |
| PreviousStatus |
string |
The status of the task before the pause request. The only valid value is: RUNNING: The task is running. |
RUNNING |
| CurrentStatus |
string |
The current status of the task. The following are possible values: PENDING: The task is being created. RUNNING: The task is running. COMPLETED: The task is completed. FAILED: The task failed. TIMEOUT: The task timed out. PAUSING: The task is being paused. PAUSED: The task is paused. |
PAUSING |
| PausingAt |
string |
The time when the pause request was initiated, in ISO 8601 format. |
2026-04-13T17:42:19Z |
| FailedReason |
string |
The reason the task failed to pause. |
Task status [COMPLETED] does not support pause, only RUNNING tasks can be paused. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "E38B41A8-8E00-5AE4-A957-6636ACB8****",
"Code": "200",
"Message": "Success.",
"Tasks": [
{
"TaskId": "t-imr0fufqd7cle****",
"InstanceId": "acp-anzzuho371azi44xr",
"PreviousStatus": "RUNNING",
"CurrentStatus": "PAUSING",
"PausingAt": "2026-04-13T17:42:19Z",
"FailedReason": "Task status [COMPLETED] does not support pause, only RUNNING tasks can be paused."
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.