Many of this API's response objects feature hypermedia links
, which allow your API client to navigate directly to related operations on a relevant resource. This additional set of data specifies a contextual href
for the resource, along with any non-GET method
you need to call it with.
All links
objects are arranged as a map, where the object keys serve as descriptive link relations. The following lists these link relations, along with the corresponding API operation they enable.
-
activateInProduction
: Activate a network list in thePRODUCTION
environment. -
activateInStaging
: Activate a network list in theSTAGING
environment. -
activationDetails
: Get activation details. -
appendItems
: Append elements to a network list. -
create
: Create a new network list, a link that you can access only when listing network lists. -
retrieve
: Get a network list. -
statusInProduction
: Get activation status for thePRODUCTION
environment. -
statusInStaging
: Get activation status for theSTAGING
environment.
The following example shows a set of links
for an individual network list:
{
"name": "Ec2 Akamai Network List",
"uniqueId": "1024_AMAZONELASTICCOMPUTECLOU",
"syncPoint": 65,
"type": "IP",
"networkListType": "networkListResponse",
"account": "Kona Security Engineering",
"accessControlGroup": "Top-Level Group: 3-12DAF123",
"elementCount": 13,
"readOnly": true,
"list": [
"13.125.0.0/16", "13.126.0.0/15", "13.210.0.0/15",
"13.228.0.0/15", "13.230.0.0/15", "13.232.0.0/14",
"13.236.0.0/14", "13.250.0.0/15", "13.54.0.0/15",
"13.56.0.0/16", "13.57.0.0/16", "13.58.0.0/15",
"174.129.0.0/16"
],
"links": {
"activateInProduction": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU/environments/PRODUCTION/activate",
"method": "POST"
},
"activateInStaging": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU/environments/STAGING/activate",
"method": "POST"
},
"appendItems": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU/append",
"method": "POST"
},
"retrieve": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU"
},
"statusInProduction": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU/environments/PRODUCTION/status"
},
"statusInStaging": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU/environments/STAGING/status"
},
"update": {
"href": "/network-list/v2/network-lists/1024_AMAZONELASTICCOMPUTECLOU",
"method": "PUT"
}
}
}