You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/07/14 04:21:16 UTC

[GitHub] [trafficcontrol] ocket8888 commented on issue #6963: `POST /api/3.1/servers` does not set `updPending`

ocket8888 commented on issue #6963:
URL: https://github.com/apache/trafficcontrol/issues/6963#issuecomment-1183969829

   > ... this is undocumented behavior, ...
   
   [The "Request Structure" section of the `PUT /servers/{{ID}}` documentation](https://traffic-control-cdn.readthedocs.io/en/latest/api/v3/servers_id.html#request-structure) lists `updPending` as a valid payload property, making no mention of it being immutable (because it isn't supposed to be), and in fact [the documentation for `/servers/{{ID}}/queue_update`](https://traffic-control-cdn.readthedocs.io/en/latest/api/v3/servers_id_queue_update.html#servers-id-queue-update) recommend using that method instead. So I'd say it's far from undocumented behavior.


-- 
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: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org