CertificatePem
An intermediate certificate, as PEM text, by type or by file name.
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/certificate/pem/-/{filename} |
load |
OK |
GET |
/certificate/pem/{type} |
load |
OK |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
certificate_pem, err := client.CertificatePem(nil).Load(map[string]any{"type": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(certificate_pem)
Lua
Construct client as shown in the Lua setup, then call the operations:
local certificate_pem, err = client:CertificatePem():load({ type = "example" })
PHP
Construct client as shown in the PHP setup, then call the operations:
$certificate_pem = $client->CertificatePem()->load(["type" => "example"]);
Python
Construct client as shown in the Python setup, then call the operations:
certificate_pem = client.CertificatePem().load({"type": "example"})
Ruby
Construct client as shown in the Ruby setup, then call the operations:
certificate_pem = client.CertificatePem.load({ "type" => "example" })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const certificate_pem = await client.CertificatePem().load({ type: "example" })
Fields
| Field | Type | Required | Description |
|---|
load
GET /certificate/pem/-/{filename}
Operation ID: getCertificatePemFilename.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
filename |
path |
string |
Yes |
Responses
200: OK
text/plain
The response is string.
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
GET /certificate/pem/{type}
Operation ID: getCertificatePemType.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
type |
path |
enum: cert_std, cert_pro |
Yes | |
provider |
query |
enum: Sectigo, Digicert |
No |
Responses
200: OK
text/plain
The response is string.
401: Unauthorized
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |
403: Forbidden
application/json
| Property | Type | Required | Description |
|---|---|---|---|
cause |
string |
Yes | |
code |
integer |
Yes | |
message |
string |
Yes | |
object |
string |
Yes |