You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/01 21:52:04 UTC
[jira] [Commented] (TC-362) TO API - create API endpoint to update
server status
[ https://issues.apache.org/jira/browse/TC-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033767#comment-16033767 ]
ASF GitHub Bot commented on TC-362:
-----------------------------------
GitHub user mitchell852 opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/639
[TC-362] - adds api for updating server status and ties it into new UI
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mitchell852/incubator-trafficcontrol tc-362-update-status
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/639.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #639
----
commit deb1414f39a719ed8f9b0744535bc49b950138da
Author: Jeremy Mitchell <mi...@gmail.com>
Date: 2017-06-01T21:45:08Z
adds api for updating server status and ties it into new UI
----
> TO API - create API endpoint to update server status
> ----------------------------------------------------
>
> Key: TC-362
> URL: https://issues.apache.org/jira/browse/TC-362
> Project: Traffic Control
> Issue Type: New Feature
> Components: Traffic Ops API
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
> Priority: Minor
>
> PUT /api/1.2/servers/:id/status
> { status: id/name, offlineReason: '' }
> if status is OFFLINE or ADMIN_DOWN, then offlineReason is required.
> if server.type is ^EDGE or ^MID, then queue updates on server plus children
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)