ocket8888 opened a new issue #3103: /api/1.x/profileparameters route in Go has 
dropped support for array format
URL: https://github.com/apache/trafficcontrol/issues/3103
 
 
   The old Perl API would allow either single-object profileId/parameterId 
pairs like so:
   ```json
   {
        "profileId": 18,
        "parameterId": 1
   }
   ```
   or an array of these objects such as this:
   ```json
   [
        {
                "profileId": 18,
                "parameterId": 2
        },
        {
                "profileId": 18,
                "parameterId": 3
        }
   ]
   ```
   the Go rewrite captured the first format, but does not support the second 
format. This is a regression, and should be fixed to keep the "versioning 
promise".

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to