Retrieve a Certificate

get

/ic/api/integration/v1/certificates/{id}

Retrieves detailed information about the certificate with the specified ID.

Request

Path Parameters
  • Certificate composite identifier. The ID consists of the installedType, type, category and the name separated by the | (vertical line) character. Format: installedType%7Ctype%7Ccategory%7Cname. Example: USER%7CPGP%7CPUBLIC%7CTESTPGPPUBLICCERT. When using cURL, substitute the %7C code for the vertical line.
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : CertificateRs
Match All
Show Source
Nested Schema : IdResource
Match All
Show Source
Nested Schema : GenericRestResource
Type: object
Show Source
Nested Schema : IdResource-allOf[1]
Type: object
Show Source
Nested Schema : CertificateRs-allOf[2]
Type: object
Show Source
Nested Schema : content
Type: array
Show Source
Nested Schema : metaData
Type: object
Additional Properties Allowed
Show Source

404 Response

Certificate not found

500 Response

Server error
Back to Top

Examples

The following example shows how to get details of a certificate by submitting a GET request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

Example: Get details about PGP Public certificate TESTPGPPUBLICCERT

The id is in the form: installedType%7Ctype%7Ccategory%7Cname. The %7C is the encoded | (vertical line).

curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/certificates/USER%7CPGP%7CPUBLIC%7CTESTPGPPUBLICCERT?integrationInstance=service-instance
Back to Top