Triggers a file gateway to perform reverse synchronization on a specified path.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hcs-sgw:TriggerGatewayRemoteSync |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayId |
string |
Yes |
The gateway ID. |
gw-0004wacp5e4ll1542**** |
| IndexId |
string |
Yes |
The ID of the share. |
NFSshare_12012112**** |
| Path |
string |
No |
The path for which to trigger reverse synchronization. |
/dirchild24120121**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. A value of 200 indicates a successful request. |
200 |
| Message |
string |
The returned message. |
successful |
| RequestId |
string |
The request ID. |
29BD52E7-CF30-418F-A240-E15A9351**** |
| TaskId |
string |
The task ID. |
t-000avsri6tlyddgf**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "29BD52E7-CF30-418F-A240-E15A9351****",
"TaskId": "t-000avsri6tlyddgf****",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | GatewayInOperation | The gateway is processing requests . Try again later. | The gateway is busy. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.