Before you can use this API, you need to meet some prerequisites:
-
You need to enable Adaptive Acceleration in your Ion property. See Add and manage Adaptive Acceleration in the Ion user documentation and meet all of the prerequisites covered there.
-
With your Ion property live, give it some time to gather data. Data for Adaptive Acceleration's services is gathered and stored in a "property report." This report is used to determine "high usage" assets for your site or app, for use with Adaptive Acceleration.
-
Get your
propertyId
. All of the operations in this API require this value. This is the unique value that Akamai assigns to the Ion property that's delivering your site or app.- Run the list properties operation in the Property Manager API (PAPI). Include the
PAPI-Use-Prefixes
header set tofalse
to remove theprp_
prefix from the response. It's not used in Adaptive Acceleration API operations. - Locate the applicable property and store its
propertyId
.
- Run the list properties operation in the Property Manager API (PAPI). Include the
Code samples and authentication
The code examples shown in this API documentation are for reference but they don't contain the required authentication code syntax you need to make API calls. For code samples that you can copy and paste, check out the Recipes. To learn how to apply authentication in a variety of programming languages when using Akamai APIs, refer to Authenticate with EdgeGrid.
Provide feedback or ask a question in the Akamai Developer Discussion Forum. You can also contact your Akamai account representative for support. We want to hear from you!