{ "opencollection": "1.0.0", "info": { "name": "Akamai: API Endpoint Definition Access tokens Resources API", "version": "2" }, "items": [ { "info": { "name": "Resources", "type": "folder" }, "items": [ { "info": { "name": "List resources", "type": "http" }, "http": { "method": "GET", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources", "params": [ { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Lists all resources assigned to an endpoint version. You can use the `apiResourceId` of each returned resource to modify resources individually through the [Edit a resource](https://techdocs.akamai.com/api-definitions/reference/put-version-resource) operation, or run the [Edit a version](https://techdocs.akamai.com/api-definitions/reference/put-endpoint-version) operation to batch-modify a group of resources." }, { "info": { "name": "Create a resource", "type": "http" }, "http": { "method": "POST", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources", "params": [ { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a resource in an endpoint version. The resource's full URL (concatenated hostname, `basePath`, and `resourcepath`) needs to be unique within the account. You can only create resources for versions that have never been activated on the staging or production network." }, { "info": { "name": "Get a version", "type": "http" }, "http": { "method": "GET", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources-detail", "params": [ { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Returns an endpoint version. Use this operation's response object when modifying an endpoint version through [Edit a version](https://techdocs.akamai.com/api-definitions/reference/put-endpoint-version). Don't use [Get a version summary](https://techdocs.akamai.com/api-definitions/reference/get-endpoint-version) for the [Edit a version](https://techdocs.akamai.com/api-definitions/reference/put-endpoint-version) operation." }, { "info": { "name": "Get a resource", "type": "http" }, "http": { "method": "GET", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources/:apiResourceId", "params": [ { "name": "apiResourceId", "value": "{{apiResourceId}}", "type": "path", "description": "The unique identifier for the resource." }, { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Returns a resource within an endpoint version." }, { "info": { "name": "Edit a resource", "type": "http" }, "http": { "method": "PUT", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources/:apiResourceId", "params": [ { "name": "apiResourceId", "value": "{{apiResourceId}}", "type": "path", "description": "The unique identifier for the resource." }, { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a resource within an endpoint version. You can edit information about a resource, the methods, and the parameters assigned to a resource. You can only modify resources assigned to versions that have never been activated on the staging or production network." }, { "info": { "name": "Delete a resource", "type": "http" }, "http": { "method": "DELETE", "url": "https://{hostname}/api-definitions/v2/endpoints/:apiEndPointId/versions/:versionNumber/resources/:apiResourceId", "params": [ { "name": "apiResourceId", "value": "{{apiResourceId}}", "type": "path", "description": "The unique identifier for the resource." }, { "name": "versionNumber", "value": "{{versionNumber}}", "type": "path", "description": "The unique identifier for the endpoint version." }, { "name": "apiEndPointId", "value": "{{apiEndPointId}}", "type": "path", "description": "The unique identifier for the endpoint." }, { "name": "accountSwitchKey", "value": "{{accountSwitchKey}}", "type": "query", "description": "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)." } ] }, "docs": "Removes a resource from an endpoint version. You can only remove resources assigned to versions that have never been activated on the staging or production network." } ] } ], "bundled": true }