API

CertificatePackage

The certificate packages on offer: list them or get one.

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /certificate/packages list OK
GET /certificate/packages/{name} 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_packages, err := client.CertificatePackage(nil).List(nil, nil)
if err != nil {
    panic(err)
}
fmt.Println(certificate_packages)
certificate_package, err := client.CertificatePackage(nil).Load(map[string]any{"name": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(certificate_package)

Lua

Construct client as shown in the Lua setup, then call the operations:

local certificate_packages, err = client:CertificatePackage():list()
local certificate_package, err = client:CertificatePackage():load({ name = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$certificate_packages = $client->CertificatePackage()->list();
$certificate_package = $client->CertificatePackage()->load(["name" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

certificate_packages = client.CertificatePackage().list()
certificate_package = client.CertificatePackage().load({"name": "example"})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

certificate_packages = client.CertificatePackage.list()
certificate_package = client.CertificatePackage.load({ "name" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const certificate_packages = await client.CertificatePackage().list()
const certificate_package = await client.CertificatePackage().load({ name: "example" })

Fields

Field Type Required Description
category object Yes Category
href string Yes Href
max_domains integer Yes Max Domains
min_domains integer Yes Min Domains
name string Yes Name
provider string Yes Provider
sgc boolean Yes Sgc
trustlogo boolean Yes Trustlogo
warranty integer Yes Warranty
wildcard boolean Yes Wildcard

list

GET /certificate/packages

Operation ID: getCertificatePackages.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
category query string No
max_domains query integer No
min_domains query integer No
page query integer No
per_page query integer No
trustlogo query boolean No
warranty query integer No
wildcard query boolean No

Responses

200: OK

application/json

Property Type Required Description
[].category object Yes
[].category.name string Yes
[].href string Yes
[].max_domains integer Yes
[].min_domains integer Yes
[].name string Yes
[].provider string Yes
[].sgc boolean Yes
[].trustlogo boolean Yes
[].warranty integer Yes
[].wildcard boolean Yes
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

load

GET /certificate/packages/{name}

Operation ID: getCertificatePackagesName.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
name path string Yes

Responses

200: OK

application/json

Property Type Required Description
category object Yes
category.name string Yes
href string Yes
max_domains integer Yes
min_domains integer Yes
name string Yes
provider string Yes
sgc boolean Yes
trustlogo boolean Yes
warranty integer Yes
wildcard boolean Yes
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