router/api-router.go:437。controller.ExtendDeployment,controller/deployment.go:430。deployment:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/deployments//extend' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"duration_hours": 1,
"property1": "string",
"property2": "string"
}'{
"success": true,
"message": "string",
"data": {
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}