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

   ## This Improvement request (usability, performance, tech debt, etc.) 
affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   The response type of requests to create and update Delivery Services is an 
array of one Delivery Service. I'm not sure if this was always the case.
   
   ## New behavior:
   Per the API guidelines:
   
   > When an object is created, the response body MUST contain a representation 
of the newly created object.
   
   and
   
   > When an object is replaced, the response body MUST contain a 
representation of the object after replacement.
   
   since the object created or updated is not an array but actually the single 
element of what is currently an array, the response should not be an array but 
simply the single object.
   
   


-- 
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