### Get a CA Set - Hypermedia Link Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows an example of a hypermedia link (`caSetLink`) returned in an API response, which points to the operation for getting a specific CA set. ```JSON { "_links": { "caSetLink": { "href": "/path/to/casets/{caSetId}", "method": "GET" } } } ``` -------------------------------- ### Get an Activation - Hypermedia Link Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows an example of a hypermedia link (`activationLink`) returned in an API response, which points to the operation for getting details of a CA set version activation. ```JSON { "_links": { "activationLink": { "href": "/path/to/casets/{caSetId}/versions/{versionId}/activation", "method": "GET" } } } ``` -------------------------------- ### Get a Version - Hypermedia Link Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows an example of a hypermedia link (`versionLink` or `latestVersionLink`) returned in an API response, which points to the operation for getting a specific CA set version. ```JSON { "_links": { "versionLink": { "href": "/path/to/casets/{caSetId}/versions/{versionId}", "method": "GET" } } } ``` -------------------------------- ### List Activations - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to list all activations across CA sets using a GET request. ```HTTP GET /path/to/activations ``` -------------------------------- ### List Versions - Hypermedia Link Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows an example of a hypermedia link (`versionsLink`) returned in an API response, which points to the operation for listing all versions of a CA set. ```JSON { "_links": { "versionsLink": { "href": "/path/to/casets/{caSetId}/versions", "method": "GET" } } } ``` -------------------------------- ### List CA Set Versions - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to list all versions associated with a CA set using a GET request. ```HTTP GET /path/to/casets/{caSetId}/versions ``` -------------------------------- ### List Activations - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to retrieve a list of all activations across all CA sets. It uses a GET request to the main activations endpoint. ```HTTP GET /api/v1/activations Host: apis.akamai.com ``` -------------------------------- ### List CA Set Activities - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows how to list the activities associated with a CA set via a GET request. ```HTTP GET /path/to/casets/{caSetId}/activities ``` -------------------------------- ### List CA Sets - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to list all available CA sets using the GET method. It's a fundamental operation for managing truststore configurations. ```HTTP GET /path/to/casets ``` -------------------------------- ### List CA Set Activations - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to retrieve a list of activations for a specific CA set using a GET request. ```HTTP GET /path/to/casets/{caSetId}/activations ``` -------------------------------- ### List Activations (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve a list of all activation events across all Certificate Authority (CA) sets. This provides a global view of activation history. ```http GET /activations ``` -------------------------------- ### Get CA Set Activation - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows how to retrieve details about a specific activation of a CA set version using a GET request. ```HTTP GET /path/to/casets/{caSetId}/versions/{versionId}/activation ``` -------------------------------- ### List CA Set Versions (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve a list of all versions associated with a specific Certificate Authority (CA) set. This helps in managing and tracking different iterations of a CA set. ```http GET /ca-sets/{caSetId}/versions ``` -------------------------------- ### Get Activations - JSON Response Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/activations This snippet provides an example of a successful JSON response when retrieving activations from the mTLS Edge Truststore API. It lists activation details such as ID, links, creation information, network, status, and version. ```json { "activations": [ { "activationId": 84572, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2/activations/84572", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-10T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-10T12:00:00Z", "network": "STAGING", "status": "COMPLETE", "type": "ACTIVATE", "versionId": 2, "versionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "versionNumber": 1 }, { "activationId": 84571, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/3/activations/84571", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-11T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-11T12:00:00Z" } ] } ``` -------------------------------- ### Get CA Set Version Activation (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve the status or details of an activation for a specific Certificate Authority (CA) set version. This helps in monitoring the activation process. ```http GET /ca-sets/{caSetId}/versions/{version}/activation ``` -------------------------------- ### List CA Set Activities (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve a log of all activities performed on a specific Certificate Authority (CA) set. This is useful for auditing and troubleshooting. ```http GET /ca-sets/{caSetId}/activities ``` -------------------------------- ### List Certificates in CA Set Version - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to list all certificates included in a specific CA set version using a GET request. ```HTTP GET /path/to/casets/{caSetId}/versions/{versionId}/certificates ``` -------------------------------- ### List CA Set Activations (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started View a history of activations for a specific Certificate Authority (CA) set. This helps in tracking when CA sets were made active. ```http GET /ca-sets/{caSetId}/activations ``` -------------------------------- ### Activate Version - Response Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-deployment-request-details This JSON object represents a successful activation response from the Akamai mTLS Edge Truststore API. It includes details such as activation ID, links, creation information, and status. ```json { "activationId": 1, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2/activations/1", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-10T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-10T12:00:00Z", "network": "STAGING", "status": "COMPLETE", "type": "ACTIVATE", "versionId": 2, "versionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "versionNumber": 3 } ``` -------------------------------- ### Example CA Set Response JSON Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-set This is an example JSON response for a successful retrieval of CA set details from the Akamai mTLS Edge Truststore API. It includes account information, CA set identifiers, creation details, and links to related resources. ```json { "accountId": "A-CCT1234", "caSetId": 1, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1", "caSetName": "caSetName", "createdBy": "jsmith", "createdDate": "2023-10-03T08:30:44.147320078Z", "deletedBy": null, "deletedDate": null, "description": "This is a caSet", "isDeleted": false, "latestVersionLink": null, "productionVersionLink": null, "stagingVersionLink": null, "versionsLink": "/mtls-edge-truststore/v1/ca-sets/1/versions/" } ``` -------------------------------- ### List CA Set Versions - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to retrieve a list of all versions associated with a specific CA set. It uses a GET request to the versions endpoint for the CA set. ```HTTP GET /api/v1/ca-sets/{caSetId}/versions Host: apis.akamai.com ``` -------------------------------- ### List Certificates in CA Set Version (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Obtain a list of certificates included within a specific version of a Certificate Authority (CA) set. This is crucial for verifying the contents of a truststore version. ```http GET /ca-sets/{caSetId}/versions/{version}/certificates ``` -------------------------------- ### Delete a CA Set - Hypermedia Link Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows an example of a hypermedia link (`deletionLink`) returned in an API response, which points to the operation for deleting a CA set. ```JSON { "_links": { "deletionLink": { "href": "/path/to/casets/{caSetId}", "method": "DELETE" } } } ``` -------------------------------- ### List CA Set Activations - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet shows how to retrieve a list of all activations associated with a specific CA set. It involves a GET request to the activations endpoint for a given CA set. ```HTTP GET /api/v1/ca-sets/{caSetId}/activations Host: apis.akamai.com ``` -------------------------------- ### Example Response for Get CA Set Versions Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-set-versions An example JSON response from the Akamai mTLS Edge Truststore API when retrieving CA set versions. It includes details about certificate versions, such as certificate ID, PEM-encoded certificate, creation details, issuer, serial number, and subject. ```json { "versions": [ { "allowInsecureSha1": false, "certificates": [ { "certificateId": 75754, "certificatePem": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----", "createdBy": "jsmith", "createdDate": "2020-04-07T17:33:39Z", "endDate": "2020-04-07T17:33:39Z", "fingerprint": "1E:DD:AD:32:C3:54:3F:C3:6F:7F:94:51:8D:5E:F7:ED:7C:DB:5D:A5", "issuer": "C=US,ST=MA,L=Cambridge,O=Akamai,CN=tcm-13-example.com", "serialNumber": "11612024106234270900", "signatureAlgorithm": "SHA256WITHRSA", "startDate": "2019-04-08T17:33:39Z", "subject": "C=US,ST=MA,L=Cambridge,O=Akamai,CN=intermediate.tcm-11-example.com" }, { "certificateId": 75755, "certificatePem": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----", "createdBy": "jsmith", "createdDate": "2020-04-07T17:33:39Z", "endDate": "2020-04-07T17:43:58Z", "fingerprint": "1F:DD:AD:32:C3:54:3F:C3:6F:7F:04:51:8D:5E:F7:ED:7C:DB:5D:A5", "issuer": "C=US,ST=MA,L=Cambridge,O=Akamai,CN=intermediate.tcm-11-example.com", "serialNumber": "11612024106234270901", "startDate": "2019-04-08T17:33:39Z", "subject": "C=US,ST=MA,L=Cambridge,O=Akamai,CN=tcm-13-example.com" } ] } ] } ``` -------------------------------- ### List CA Set Activities - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to retrieve a log of activities performed on a specific CA set. It uses a GET request to the activities endpoint for the CA set. ```HTTP GET /api/v1/ca-sets/{caSetId}/activities Host: apis.akamai.com ``` -------------------------------- ### List CA Sets (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve a list of all existing Certificate Authority (CA) sets. This is useful for auditing and understanding the current trust configurations managed by the API. ```http GET /ca-sets ``` -------------------------------- ### Get CA Set - JSON Response Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-sets This snippet shows an example JSON response when retrieving a Certificate Authority (CA) set from the Akamai mTLS Edge Truststore API. It details the structure of a CA set, including its ID, name, creation details, and links to its versions. ```json { "caSets": [ { "accountId": "A-CCT5678", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "caSetName": "Internal_Account_Set1", "createdBy": "mrossi", "createdDate": "2023-01-10T11:00:00Z", "deletedBy": null, "deletedDate": null, "isDeleted": false, "latestVersionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "productionVersionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/1", "stagingVersionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "versionsLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions" }, { "accountId": "A-CCT1234", "caSetId": 1002, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1002", "caSetName": "Internal_Account_Set2", "createdBy": "hgildong", "createdDate": "2023-01-10T11:00:00Z", "deletedBy": null, "deletedDate": null, "isDeleted": false } ] } ``` -------------------------------- ### Get CA Set Deletion - Bash Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-deletion-request-for-ca-set This snippet demonstrates how to retrieve details of a CA set deletion using a curl command. It includes the necessary headers for authentication and specifying the API version and content type. ```bash curl -v -s -k --request GET 'https:///mtls-edge-truststore/v1/ca-sets/2/deletions/3' \ --header 'Authorization: Basic ' \ --header 'content-type: application/vnd.akamai.mtls-edge-truststore.ca-set-deletions.v1+json' ``` -------------------------------- ### Get a CA Set - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet illustrates how to retrieve details of a specific CA set using its unique identifier via a GET request. ```HTTP GET /path/to/casets/{caSetId} ``` -------------------------------- ### Get a CA Set Deletion - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows how to retrieve information about a specific CA set deletion event using a GET request. ```HTTP GET /path/to/casets/{caSetId}/deletions/{deletionId} ``` -------------------------------- ### Example Response for List CA Set Activities Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-set-activities This is an example JSON response when listing activities for a CA set. It includes details such as the user who performed the activity, the date, the network, the type of activity, and the version number. ```json { "activities": [ { "activityBy": "jsmith", "activityDate": "2023-02-12T19:00:00Z", "network": "PRODUCTION", "type": "DELETE_CA_SET", "versionNumber": 1 }, { "activityBy": "jsmith", "activityDate": "2023-02-12T19:00:00Z", "network": "STAGING", "type": "DELETE_CA_SET", "versionNumber": 1 }, { "activityBy": "jsmith", "activityDate": "2023-01-12T19:00:00Z", "network": "PRODUCTION", "type": "DEACTIVATE_CA_SET_VERSION", "versionNumber": 1 }, { "activityBy": "jsmith", "activityDate": "2023-01-12T23:00:00Z", "network": "STAGING", "type": "DEACTIVATE_CA_SET_VERSION", "versionNumber": 1 } ] } ``` -------------------------------- ### Get a CA Set Version - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet shows how to retrieve details of a specific CA set version using its identifier via a GET request. ```HTTP GET /path/to/casets/{caSetId}/versions/{versionId} ``` -------------------------------- ### Activate CA Set Version - POST Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates the POST request for activating a specific CA set version. This makes the version live in the environment. ```HTTP POST /path/to/casets/{caSetId}/versions/{versionId}/activate ``` -------------------------------- ### Create CA Set - Bash Example Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-sets This snippet demonstrates how to create a Certificate Authority (CA) set using a bash command. It includes the necessary headers for authentication and specifying the API version and content type. ```bash curl -v -s -H "Authorization: Basic " \ -H "Content-Type: application/vnd.akamai.mtls-edge-truststore.ca-sets.v1+json" \ -H "Accept: application/vnd.akamai.mtls-edge-truststore.ca-sets.v1+json" \ -X POST \ https:///mtls-edge-truststore/v1/ca-sets ``` -------------------------------- ### Get a CA Set Deletion - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to retrieve details about a specific CA set deletion request. It uses a GET request to the deletion endpoint with the deletion ID. ```HTTP GET /api/v1/ca-sets/deletions/{deletionId} Host: apis.akamai.com ``` -------------------------------- ### Example API Response for Activations Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-activations This is an example JSON response from the mTLS Edge Truststore API when retrieving activations. It lists details for each activation, including IDs, links, creation information, and status. ```json { "activations": [ { "activationId": 84572, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2/activations/84572", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-10T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-10T12:00:00Z", "network": "STAGING", "status": "COMPLETE", "type": "ACTIVATE", "versionId": 2, "versionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "versionNumber": 1 }, { "activationId": 84571, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/3/activations/84571", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-11T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-11T12:00:00Z" } ] } ``` -------------------------------- ### Get CA Set Version Activation Status - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to check the activation status of a CA set version. It uses a GET request to the activation status endpoint for the specific version. ```HTTP GET /api/v1/ca-sets/{caSetId}/versions/{versionId}/activation Host: apis.akamai.com ``` -------------------------------- ### Get a Specific CA Set Version - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet shows how to retrieve details for a specific version of a CA set. It uses a GET request to the versions endpoint with both the CA set ID and version ID. ```HTTP GET /api/v1/ca-sets/{caSetId}/versions/{versionId} Host: apis.akamai.com ``` -------------------------------- ### Get a Specific CA Set - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to fetch details for a specific CA set using its unique identifier. A GET request to the CA set endpoint with the CA set ID is used. ```HTTP GET /api/v1/ca-sets/{caSetId} Host: apis.akamai.com ``` -------------------------------- ### List Activations - GET Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-summary Retrieves a list of all activations across the system. This provides a global view of all CA set activation events. ```HTTP GET /activations ``` -------------------------------- ### List CA Set Deletions - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet demonstrates how to retrieve a list of deletion events for a CA set using a GET request. ```HTTP GET /path/to/casets/{caSetId}/deletions ``` -------------------------------- ### Clone CA Set Version - POST Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet demonstrates how to create a new version by cloning an existing one. It uses a POST request to the clone endpoint for the specific version. ```HTTP POST /api/v1/ca-sets/{caSetId}/versions/{versionId}/clone Host: apis.akamai.com ``` -------------------------------- ### Get a CA Set Deletion (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Retrieve information about a specific CA set deletion request. This allows you to check the status or details of a deletion. ```http GET /ca-sets/deletions/{deletionId} ``` -------------------------------- ### List CA Set Deletions (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Get a list of CA sets that have been marked for deletion. This provides visibility into pending or completed deletion operations. ```http GET /ca-sets/deletions ``` -------------------------------- ### Get a CA Set Version (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Fetch details for a specific version of a Certificate Authority (CA) set. This requires both the CA set ID and the version number. ```http GET /ca-sets/{caSetId}/versions/{version} ``` -------------------------------- ### Get a CA Set (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Fetch details for a specific Certificate Authority (CA) set. This operation requires the unique identifier of the CA set you wish to retrieve. ```http GET /ca-sets/{caSetId} ``` -------------------------------- ### Create a CA Set Version (POST) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-get-started Create a new version of an existing Certificate Authority (CA) set. Versioning allows for managing changes to CA sets over time. ```http POST /ca-sets/{caSetId}/versions ``` -------------------------------- ### List CA Set Deletions - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet shows how to retrieve a list of CA sets that have been marked for deletion. It uses a GET request to the deletions endpoint. ```HTTP GET /api/v1/ca-sets/deletions Host: apis.akamai.com ``` -------------------------------- ### List CA Set Activations Response Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-deployment-request-for-ca-set This is an example of a successful response (HTTP 200) when listing CA set activations. It returns a JSON object containing an array of activation details. ```json { "activations": [ { "activationId": 84572, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2/activations/84572", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-10T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-10T12:00:00Z", "network": "STAGING", "status": "COMPLETE", "type": "ACTIVATE", "versionId": 2, "versionLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/2", "versionNumber": 1 }, { "activationId": 84571, "activationLink": "/mtls-edge-truststore/v1/ca-sets/1000/versions/3/activations/84571", "caSetId": 1000, "caSetLink": "/mtls-edge-truststore/v1/ca-sets/1000", "createdBy": "jsmith", "createdDate": "2023-01-11T11:00:00Z", "modifiedBy": "jsmith", "modifiedDate": "2023-01-11T12:00:00Z" } ] } ``` -------------------------------- ### List Activations (GET) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/errors This endpoint retrieves a list of all activations across all Certificate Authority (CA) sets. ```HTTP GET /activations ``` -------------------------------- ### Create CA Set Version - POST Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet illustrates the POST request for creating a new version of a CA set. It typically involves providing version-specific data. ```HTTP POST /path/to/casets/{caSetId}/versions ``` -------------------------------- ### List CA Set Versions Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/post-ca-set-version This example demonstrates how to list versions of a CA set using a cURL request to the Akamai mTLS Edge Truststore API. It includes the necessary URL and HTTP method. ```bash curl --request POST \ --url https://hostname/mtls-edge-truststore/v1/ca-sets/caSetId/versions \ ``` -------------------------------- ### List Certificates in CA Set Version - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet shows how to retrieve the list of certificates included in a specific CA set version. It uses a GET request to the certificates endpoint for the version. ```HTTP GET /api/v1/ca-sets/{caSetId}/versions/{versionId}/certificates Host: apis.akamai.com ``` -------------------------------- ### List CA Set Activations - GET Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-summary Fetches a list of all activations associated with a specific CA set. This helps in tracking the deployment history of a CA set. ```HTTP GET /ca-sets/{caSetId}/activations ``` -------------------------------- ### List CA Sets - GET Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-workflow This snippet shows how to retrieve a list of all existing CA sets managed by the mTLS Edge Truststore API. It uses a simple GET request to the CA sets endpoint. ```HTTP GET /api/v1/ca-sets Host: apis.akamai.com ``` -------------------------------- ### List CA Set Activations (cURL) Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-deployment-request-for-ca-set This snippet demonstrates how to list all activations for a specific CA set using a cURL command. It requires an Authorization header to be added. ```bash curl --request GET \ --url https://hostname/mtls-edge-truststore/v1/ca-sets/caSetId/activations \ --header 'accept: application/vnd.akamai.mtls-edge-truststore.activations.v1+json' ``` -------------------------------- ### Clone CA Set Version - POST Request Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/api-hypermedia This snippet illustrates the POST request for cloning an existing CA set version. This is useful for creating a new version based on a previous one. ```HTTP POST /path/to/casets/{caSetId}/versions/{versionId}/clone ``` -------------------------------- ### Get CA Set Details using cURL Source: https://techdocs.akamai.com/mtls-edge-truststore/reference/get-ca-set This snippet demonstrates how to retrieve the details of a specific CA set from the Akamai mTLS Edge Truststore API using cURL. It includes the necessary URL, headers, and an example of how to add authorization. ```bash curl --request GET \ --url https://hostname/mtls-edge-truststore/v1/ca-sets/caSetId \ --header 'accept: application/vnd.akamai.mtls-edge-truststore.ca-set.v1+json' ```