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/04/26 03:15:04 UTC
[jira] [Created] (TC-253) TO API - create API endpoint for changing
server status
Jeremy Mitchell created TC-253:
----------------------------------
Summary: TO API - create API endpoint for changing server status
Key: TC-253
URL: https://issues.apache.org/jira/browse/TC-253
Project: Traffic Control
Issue Type: New Feature
Components: Traffic Ops API
Reporter: Jeremy Mitchell
Assignee: Jeremy Mitchell
Priority: Minor
Fix For: 2.1.0
The API could look like this:
PUT api/$version/servers/:id/status and include a request payload like:
{ "statusId": 1, "offlineReason": "foo bar" }
If status is OFFLINE or ADMIN_DOWN, then offlineReason is required.
This api should be limited to ops or above.
This api should also queue updates on child caches IF status is "offline" (admin_down or offline) and the server type is ^EDGE* or ^MID*
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)