Statistic and Management/Model Platform Config APIs
POSTModel Platform Config APIsSince 5.1.20SynchronousAuth Required
SyncAINginxConfiguration
SyncAINginxConfiguration
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramObjectRequiredparam request body object.
groupUuidsList组UUID。
dryRunBoolean是否仅模拟执行而不实际应用变更。
syncAllBoolean同步全部。
systemTagsListSystem tag
userTagsListUser tag
Responses
Endpoint
POST/zstack/v1/ai/nginx/sync
/zstack/v1/ai/nginx/sync
Request Example
curl -X POST 'http://{host}/zstack/v1/ai/nginx/sync' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"param":{"groupUuids":["<groupUuids>"],"dryRun":true,"syncAll":true},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "unSyncedRules": [] }Change History
This API has no change history records yet.
