Verwenden Sie diesen Endpunkt, um alle Zertifikatsaufträge aufzulisten.
Ändern Sie den ACCEPT
-Header in text/csv
um eine CSV-Ausgabe der Ergebnisse zurückzugeben.
curl -X GET \
https://www.digicert.com/services/v2/order/certificate \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/order/certificate"
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/order/certificate"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
var request = require("request");
var options = { method: 'GET',
url: 'https://www.digicert.com/services/v2/order/certificate',
headers:
{ 'Content-Type': 'application/json',
'X-DC-DEVKEY': '{{api_key}}' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
{
"orders": [
{
"id": 123456,
"certificate": {
"id": 104,
"common_name": "example.com",
"dns_names": [
"example2.com",
"example3.com"
],
"signature_hash": "sha256"
},
"status": "pending",
"is_renewed": false,
"date_created": "2018-10-16T17:29:56+00:00",
"organization": {
"id": 112233,
"name": "Epigyne Unwieldiness llc"
},
"validity_years": 1,
"disable_renewal_notifications": false,
"container": {
"id": 14,
"name": "DigiCert Inc."
},
"product": {
"name_id": "ssl_plus",
"name": "Standard SSL",
"type": "ssl_certificate"
},
"has_duplicates": false,
"product_name_id": "ssl_plus"
},
{
"id": 123457,
"certificate": {
"id": 105,
"common_name": "example.org",
"dns_names": [
"sub.example.org"
],
"valid_till": "2020-04-30",
"days_remaining": 289,
"signature_hash": "sha256"
},
"status": "issued",
"is_renewed": false,
"date_created": "2019-04-30T18:02:50+00:00",
"organization": [],
"validity_years": 1,
"container": {
"id": 14,
"name": "CertCentral"
},
"product": {
"name_id": "ssl_dv_geotrust",
"name": "GeoTrust Standard DV",
"type": "dv_ssl_certificate"
},
"has_duplicates": false,
"product_name_id": "ssl_dv_geotrust"
},
...
],
"page": {
"total": 31,
"limit": 0,
"offset": 0
}
}
Name | Antr./Opt. | Typ | Beschreibung |
---|---|---|---|
offset | optional | int |
Liste bei der angegebenen Seitenzahl beginnen Standard: 0
|
limit | optional | int |
Liste an der angegebenen Seitenzahl abschneiden Max.: 1000 (Standard)
|
Name | Typ | Beschreibung |
---|---|---|
orders | array | Liste der von dem Antrag zurückgegebenen Aufträge. |
.. id | int | Auftrags-ID |
.. certificate | object | Details über das bestellte Zertifikat. |
.. .. id | int | Zertifikats-ID |
.. .. common_name | string | Durch das Zertifikat geschützter Name |
.. .. dns_names | array | Liste der durch das Zertifikat geschützten zusätzlichen Namen |
.. .. valid_till | string |
Ablaufdatum des Zertifikats Format: yyyy-MM-dd
|
.. .. days_remaining | int | Anzahl der Tage bis zum Zertifikatsablauf |
.. .. signature_hash | string | Vom Zertifikat verwendeter Signaturalgorithmus. |
.. status | string |
Status des Auftrags Siehe Glossar – Auftragsstatus |
.. is_renewed | bool | Wurde der Auftrag verlängert? |
.. date_created | string |
Datum der Auftragserstellung Format: UTC-Zeitzone und ISO 8601-Datum |
.. organization | object | Details der mit dem Auftrag verknüpften Organisation. |
.. .. id | int | Organisations-ID |
.. .. name | string | Rechtlicher Name der Organisation |
.. validity_years | int | Die Anzahl der Jahre, die das Zertifikat gültig ist |
.. disable_renewal_notifications | bool | Sind Verlängerungsbenachrichtigungen aktiviert? |
.. container | object | Details des mit dem Auftrag verknüpften Containers. |
.. .. id | int | Container-ID |
.. .. name | string | Name des Containers |
.. product | object | Details über das bestellte Produkt. |
.. .. name_id | string |
Name der Produkt-ID Siehe Glossar – Produkt-IDs |
.. .. name | string |
Anzeigename des Produkts Siehe Glossar – Produkt-IDs |
.. .. type | string |
Produkttyp. Siehe Glossar – Produkttypen |
.. has_duplicates | bool | Gibt an, ob es Duplikate gibt. |
.. product_name_id | string |
Name der Produkt-ID Siehe Glossar – Produkt-IDs |
Seite | object |
Details über die Ergebnisse Modifiziert mithilfe der URL-Abfragezeichenfolge |