Jeremy Mitchell created TC-276:
----------------------------------

             Summary: TO API: Expose CDN current stats thru the API
                 Key: TC-276
                 URL: https://issues.apache.org/jira/browse/TC-276
             Project: Traffic Control
          Issue Type: Improvement
          Components: Traffic Ops API
            Reporter: Jeremy Mitchell
            Assignee: Jeremy Mitchell
            Priority: Minor


Currently, CDN stats (bandwidth, connections and capacity) can be fetched via

internal/api/$version/current_stats without authentication

This data is valuable and should be available through the API once a user is 
"authenticated".

This would simply require creating a route such as:

$r->get("/api/$version/current_stats")->over( authenticated => 1 )->to( 
'CacheStats#current_stats', namespace => $namespace );



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

Reply via email to