Logo
Akamai APIs API Documentation

Get a schema for a request

GET https://{{host}}/papi/v1/schemas/request/:filename

Fetch the JSON schema for a particular request. Error messages about schema mismatches typically link the schema filename.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "$schema": "http://json-schema.org/draft-04-schema#", "description": "Specifies a set of available hostnames to which a property version may be applied. To POST a new edge hostname, specify a single object with `productId`, `domainPrefix`, and `domainSuffix` members, and optional `ipVersionBehavior` and `secure` members. Relevant response objects appear within the outer [Envelope](#envelope) object's `edgehostnames.items` array.", "id": "resource:/descriptors/papi/v0/schemas/CreateNewEdgeHostnameRequestV0.json#", "javaType": "com.akamai.luna.papi.model.EdgeHostnameCreateRequest", "properties": { "certEnrollmentId": { "description": "When creating an Enhanced TLS edge hostname, this sets the certificate enrollment ID. Specify this on POST, with `secureNetwork` set to `ENHANCED_TLS`. To obtain a value programmatically, run the Certificate Provisioning System API's [List enrollments](https://developer.akamai.com/api/core_features/certificate_provisioning_system/v2.html#getenrollments) operation. Choose the appropriate enrollment, strip the leading path expression from its `location` member, and use that value as the `certEnrollmentId`.", "type": "integer" }, "domainPrefix": { "type": "string" }, "domainSuffix": { "type": "string" }, "ipVersionBehavior": { "enum": [ "IPV4", "IPV6_COMPLIANCE" ], "type": "string" }, "productId": { "type": "string" }, "secure": { "type": "boolean" }, "secureNetwork": { "description": "On POST, specifies the type of security for the new edge hostname. With `STANDARD_TLS` specified, specify a `domainSuffix` of `edgesuite.net`. With `SHARED_CERT` specified, specify a `domainSuffix` of `akamaized.net`. With `ENHANCED_TLS` specified, you need to specify a `certEnrollmentId` value along with a `domainSuffix` of `edgekey.net`.", "enum": [ "ENHANCED_TLS", "STANDARD_TLS", "SHARED_CERT" ], "type": "string" }, "slotNumber": { "description": "On POST, sets the slot number for secure ESSL properties.", "type": "integer" }, "useCases": { "items": { "description": "Optionally when configuring a new edge hostname, this assigns a preset _use case_ that characterizes the type of traffic served, to help optimize deployment over the Akamai edge network. To gather values to add to this object, run the [List use cases](#getusecases) operation.", "properties": { &q
Curl
curl -X GET 'https://host/papi/v1/schemas/request/:filename?accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS