config/batchWrite 请求的 HTTP 映射接口。Authorization: Bearer ********************{
"edits": [
{
"keyPath": "/workspace/project",
"mergeStrategy": "replace",
"value": "example"
}
],
"expectedVersion": "example",
"filePath": "/workspace/project",
"reloadUserConfig": false
}curl --location '/v1/yousure/config/batchWrite' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"edits": [
{
"keyPath": "/workspace/project",
"mergeStrategy": "replace",
"value": "example"
}
],
"expectedVersion": "example",
"filePath": "/workspace/project",
"reloadUserConfig": false
}'{
"result": {
"filePath": "/workspace/project",
"status": "ok",
"version": "example",
"overriddenMetadata": {
"effectiveValue": "example",
"message": "example",
"overridingLayer": {
"name": {
"file": "example",
"type": "packagedDefaults"
},
"version": "example"
}
}
}
}