router/api-router.go:425。controller.GetLocations,controller/deployment.go:540。deployment:read。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/deployments/locations' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "string",
"data": {
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}