Adaptive Acceleration API Resources

This section provides details on the API’s operations.

API Summary

Operation Method Endpoint
Adaptive Acceleration Report   (download RAML)
Report on a Property GET /adaptive-acceleration/v1/properties/{propertyId}
Reset a Property Report POST /adaptive-acceleration/v1/properties/{propertyId}/reset

Report on a Property

Get a specific property.

GET /adaptive-acceleration/v1/properties/{propertyId}

Sample: /adaptive-acceleration/v1/properties/175780

Parameter Type Sample Description
URL Parameters
propertyId Number 175780 A unique identifier for a property.

Status 200 application/json

Response:

{
    "commonPushedResources": [
        "https://www.example.com/66dc044c-c886-4eb5-8ff2-d9721ec27fc3.js",
        "https://www.example.com/3e940cc8-8170-4e02-8ba4-5d967a997518.js",
        "https://www.example.com/1f682d27-2afa-4e3a-ac1a-2616629152e7.js",
        "https://www.example.com/12345678-c886-4eb5-8ff2-d9721ec27fc3.js"
    ],
    "pageSpecificRules": [
        {
            "pageSpecificPreconnectHeader": [
                "https://www.example4.com"
            ],
            "pageSpecificPushedResources": [
                "https://www.example.com/c2be42fc-cc9a-4088-ab1c-1417ac212b6f.css",
                "https://www.example.com/c1ebcb4b-0a1a-4c64-9cc2-59de8ab25995.css",
                "https://www.example.com/34333a06-8e1e-4171-ae19-6560960d24df.css",
                "https://www.example.com/9eea3314-ea4e-4398-8dc7-a049c9706918.css",
                "https://www.example.com/8c8bf80a-dc13-4177-b360-3c7b97aa6d9b.css"
            ],
            "basePageURL": "https://www.example.com/30dbc1a6-c9e4-474b-a525-70577c90c62d.html"
        }
    ],
    "lastModifiedDate": "2016-08-25T16:45:02Z",
    "lastReset": "2016-08-25T16:45:02Z",
    "version": 123,
    "commonPreconnectHeader": [
        "https://www.example0.com"
    ],
    "creationDate": "2016-08-25T16:45:02Z",
    "zoneDeployDate": "2017-01-26T18:07:01Z",
    "isActive": true
}

Reset a Property Report

After you set up Adaptive Acceleration and view a report for the first time, you can use Reset to purge all the existing information about previous resources pushed and preconnected to and then reset the rules for pushing and preconnecting to resources. If the identity associated with the API token does not have read/write permission within Luna, a 403 error results.

POST /adaptive-acceleration/v1/properties/{propertyId}/reset

Sample: /adaptive-acceleration/v1/properties/175780/reset

Parameter Type Sample Description
URL Parameters
propertyId Number 175780 A unique identifier for a property.

Status 204


Last modified: 2/16/2017