You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Jeremy Mitchell (JIRA)" <ji...@apache.org> on 2017/05/24 15:27:04 UTC

[jira] [Updated] (TC-241) TO API - add api endpoint to remove a server from a delivery service

     [ https://issues.apache.org/jira/browse/TC-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Mitchell updated TC-241:
-------------------------------
    Description: 
Currently, thru the API, you can assign servers in bulk to a delivery service using:

POST /api/$version/deliveryservices/:xml_id/servers

However, you can't remove individual servers from a ds. 

Create an api to remove individual servers from a ds. i.e.

DELETE /api/1.2/deliveryservice_server/:dsId/:serverId which will remove entries from the deliveryservice_server table.

  was:
Currently, thru the API, you can assign servers in bulk to a delivery service using:

POST /api/$version/deliveryservices/:xml_id/servers

However, you can't remove individual servers from a ds. 

Create an api to remove individual servers from a ds. i.e.

DELETE /api/$version/deliveryservices/:id/servers/:id which will remove entries from the deliveryservice_server table.


> TO API - add api endpoint to remove a server from a delivery service
> --------------------------------------------------------------------
>
>                 Key: TC-241
>                 URL: https://issues.apache.org/jira/browse/TC-241
>             Project: Traffic Control
>          Issue Type: New Feature
>          Components: Traffic Ops API
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> Currently, thru the API, you can assign servers in bulk to a delivery service using:
> POST /api/$version/deliveryservices/:xml_id/servers
> However, you can't remove individual servers from a ds. 
> Create an api to remove individual servers from a ds. i.e.
> DELETE /api/1.2/deliveryservice_server/:dsId/:serverId which will remove entries from the deliveryservice_server table.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)