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/08/16 03:28:01 UTC

[jira] [Closed] (TC-81) Add additional filters to collection apis

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

Jeremy Mitchell closed TC-81.
-----------------------------

> Add additional filters to collection apis
> -----------------------------------------
>
>                 Key: TC-81
>                 URL: https://issues.apache.org/jira/browse/TC-81
>             Project: Traffic Control
>          Issue Type: Improvement
>          Components: Traffic Ops API
>            Reporter: Jeremy Mitchell
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> Add the ability to filter the following collections as follows:
> /api/deliveryservices/:id/servers <-- retrieve all edge servers assigned to a ds
> /api/servers/:id/deliveryservices <-- retrieve all ds's assigend to a server
> /api/parameters/:id/profiles <-- retrieve all profiles assigned to a parameter
> /api/users/:id/deliveryservices <-- retrieve all ds's assigned to a user
> /api/deliveryservices?cdn=x <-- to retrieve a cdn's ds's
> /api/regions?division=x <-- to retrieve a division's regions
> /api/servers?physLocation=x <-- to retrieve a phys location's servers
> /api/cachegroups?type=x <-- to retrieve cachegroups by type
> /api/deliveryservices?type=x <-- to retrieve deliveryservices by type
> The api already provides the ability to:
> - retrieve a cachegroup's asns
> - retrieve a cachegroup's parameters
> - retrieve a cachegroup's servers
> - retrieve a cdn's servers
> - retrieve a profile's parameters
> - retrieve a profile's servers
> - retrieve a region's phys locations
> By adding these additional filters, it provides the ability to navigate the relationships in the database (i.e. provides drill-down capabilities)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)