ocket8888 opened a new issue #6716:
URL: https://github.com/apache/trafficcontrol/issues/6716


   ## This Bug Report affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   The response from a PUT request to 
`OC/CI/configuration/request/{{ID}}/{{approved}}` is:
   ```json
   { "response": "Successfully updated configuration." }
   ```
   (or similar for denials)
   
   ## Expected behavior:
   According to [our API guidelines on response 
bodies](https://traffic-control-cdn.readthedocs.io/en/latest/development/api_guidelines.html#response):
   
   > The `response` property of a serialized response object MUST only contain 
object representations as requested by the client. In particular, it MUST NOT 
contain admonitions, success messages, informative messages, or statistic 
summaries beyond the scope requested by the client.
   
   So what is currently the `response` should be a `success`-level Alert
   
   ## Steps to reproduce:
   Read the docs/make the request
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to