Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-81

Add additional filters to collection apis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.0
    • Traffic Ops API
    • None

    Description

      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)

      Attachments

        Activity

          People

            mitchell852@apache.org Jeremy Mitchell
            mitchell852@apache.org Jeremy Mitchell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: