cachegroups/{{ID}}/parameters

Deprecated since version ATCv6.

GET

Gets all of a Cache Group’s parameters.

Auth. Required:

Yes

Roles Required:

None

Response Type:

Array

Request Structure

Table 110 Request Query Parameters

Name

Required

Description

parameterId

no

Show only the Parameter with the given ID

orderby

no

Choose the ordering of the results - must be the name of one of the fields of the objects in the response array

sortOrder

no

Changes the order of sorting. Either ascending (default or “asc”) or descending (“desc”)

limit

no

Choose the maximum number of results to return

offset

no

The number of results to skip before beginning to return results. Must use in conjunction with limit

page

no

Return the nth page of results, where “n” is the value of this parameter, pages are limit long and the first page is 1. If offset was defined, this query parameter has no effect. limit must be defined to make use of page.

Table 111 Request Path Parameters

Parameter

Description

ID

The ID of a Cache Group

Response Structure

configFile:

The Parameter’s Config File

id:

The Parameter’s ID

lastUpdated:

The date and time at which this Parameter was last updated, in Traffic Ops’s Custom Date/Time Format

name:

Name of the Parameter

secure:

A boolean value describing whether or not the Parameter is Secure

value:

The Parameter’s Value

#224 Response Example
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
Access-Control-Allow-Methods: POST,GET,OPTIONS,PUT,DELETE
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Type: application/json
Date: Wed, 14 Nov 2018 19:56:23 GMT
X-Server-Name: traffic_ops_golang/
Set-Cookie: mojolicious=...; Path=/; Expires=Mon, 18 Nov 2019 17:40:54 GMT; Max-Age=3600; HttpOnly
Vary: Accept-Encoding
Whole-Content-Sha512: DfqPtySzVMpnBYqVt/45sSRG/1pRTlQdIcYuQZ0CQt79QSHLzU5e4TbDqht6ntvNP041LimKsj5RzPlPX1n6tg==
Content-Length: 135

{ "response": [
    {
        "lastUpdated": "2018-11-14 18:22:43.754786+00",
        "value": "foobar",
        "secure": false,
        "name": "foo",
        "id": 124,
        "configFile": "bar"
    }
]}