{ "operationId": "get-hostnames", "method": "GET", "path": "/hostnames", "summary": "Akamai List Hostnames for an Account", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "accountId": "act_A-CCT3456", "currentSort": "hostname:a", "defaultSort": "hostname:a", "availableSort": [ "hostname:a", "hostname:d" ], "hostnames": { "currentItemCount": 3, "nextLink": "/papi/v1/hostnames?offset=3&limit=3", "previousLink": "/papi/v1/hostnames?offset=0&limit=3", "totalItems": 17, "items": [ { "cnameFrom": "www.example.com", "contractId": "ctr_C-0N7RAC7", "groupId": "grp_15225", "propertyId": "prp_123345", "propertyName": "example.com", "propertyType": "TRADITIONAL", "stagingCertType": "CPS_MANAGED", "stagingCnameTo": "www.example.com.edgekey.net", "stagingCnameType": "EDGE_HOSTNAME", "stagingEdgeHostnameId": "ehn_895822" }, { "cnameFrom": "www.example2.com", "contractId": "ctr_C-0N7RAC71", "groupId": "grp_15225", "productionCertType": "DEFAULT", "productionCnameTo": "www.example2.com.edgekey.net", "productionCnameType": "EDGE_HOSTNAME", "productionEdgeHostnameId": "ehn_895825", "propertyId": "prp_123424", "propertyName": "example2.com", "propertyType": "TRADITIONAL" }, { "cnameFrom": "www.example3.com", "contractId": "ctr_C-0N7RAC7", "groupId": "grp_15225", "productionCertType": "DEFAULT", "productionCnameTo": "www.example3.com.edgekey.net", "productionCnameType": "EDGE_HOSTNAME", "productionEdgeHostnameId": "ehn_895833", "propertyId": "prp_123424", "propertyName": "example3.com", "propertyType": "HOSTNAME_BUCKET" } ] } } }, { "status": "400", "contentType": "application/problem+json", "example": { "detail": "The system cannot understand your request. Please check the syntax and correct any problems.", "instance": "/papi/v1/properties?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "status": 400, "title": "Bad Request", "type": "https://problems.luna.akamaiapis.net/papi/v0/http/bad-request" } }, { "status": "401", "contentType": "application/problem+json", "example": { "detail": "The request requires authentication.", "instance": "/papi/v1/properties?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "status": 401, "title": "Unauthorized", "type": "https://problems.luna.akamaiapis.net/papi/v0/http/unauthorized" } }, { "status": "403", "contentType": "application/problem+json", "example": { "detail": "The authorization token you provided does not allow access to this resource.", "instance": "/papi/v1/properties?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "status": 403, "title": "Forbidden", "type": "https://problems.luna.akamaiapis.net/papi/v1/http/forbidden" } }, { "status": "404", "contentType": "application/problem+json", "example": { "detail": "The system was unable to locate the requested resource.", "instance": "/papi/v1/properties?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "status": 404, "title": "Not Found", "type": "https://problems.luna.akamaiapis.net/papi/v1/http/not-found" } }, { "status": "405", "contentType": "application/problem+json", "example": { "detail": "The system does not support the method you provided for this resource.", "instance": "/papi/v1/properties?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "status": 405, "title": "Method not allowed", "type": "https://problems.luna.akamaiapis.net/papi/v1/http/method-not-allowed" } }, { "status": "406", "contentType": "application/problem+json", "example": { "detail": "The system does not support the content-type restrictions provided by your 'Accept' header.", "instance": "papi/v1/build#abc12345abcc02a7", "status": 406, "title": "Not Acceptable", "type": "https://problems.luna.akamaiapis.net/papi/v1/http/not-acceptable" } }, { "status": "429", "contentType": "application/problem+json", "example": { "detail": "Too many includes exist on contract ctr_1-12345. You must delete an include before continuing.", "instance": "/papi/v1/includes?contractId=ctr_C-0N7RAC7&groupId=grp_12345#abc12345abcc02a7", "instanceKey": "1-12345", "limit": 500, "limitKey": "INCLUDES_PER_CONTRACT", "remaining": 0, "status": 429, "title": "Too many includes", "type": "https://problems.luna.akamaiapis.net/papi/v1/limit-exceeded" } }, { "status": "500", "contentType": "application/problem+json", "example": { "detail": "Our system is experiencing errors. We''ll get this fixed as soon as possible.", "instance": "/papi/v1/properties/12345/activations#abc12345abcc02a7", "status": 500, "title": "Internal Server Error", "type": "https://problems.luna.akamaiapis.net/papi/proxy/internal-server-error" } } ] }