Verwenden Sie diesen Endpunkt, um Details über ein Produkt zu erhalten.
curl -X GET \
https://www.digicert.com/services/v2/product/{{name_id}} \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/product/{{name_id}}"
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/product/{{name_id}}"
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/product/{{name_id}}',
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);
});
{
"group_name": "ssl_certificate",
"name_id": "ssl_plus",
"name": "Standard SSL",
"type": "ssl_certificate",
"duplicates_allowed": false,
"allowed_validity_years": [
1,
2
],
"signature_hash_types": {
"allowed_hash_types": [
{
"id": "sha256",
"name": "SHA-256"
},
{
"id": "sha384",
"name": "SHA-384"
},
{
"id": "sha512",
"name": "SHA-512"
}
],
"default_hash_type_id": "sha256"
},
"additional_dns_names_allowed": false,
"increased_compatibility_allowed": true,
"custom_expiration_date_allowed": true,
"csr_required": true,
"allow_auto_renew": true,
"fields": [],
"server_platforms": [
{
"id": 2,
"name": "Apache",
"install_url": "http://www.digicert.com/ssl-certificate-installation-apache.htm",
"csr_url": "http://www.digicert.com/csr-creation-apache.htm"
},
...
],
"license_agreement": "..."
}
Name | Typ | Beschreibung |
---|---|---|
group_name | string |
Gruppe, zu der das Produkt gehört. Siehe Glossar – Produktgruppennamen |
name_id | string |
Produkt-ID. Siehe Glossar – Produkt-IDs |
name | string | Anzeigename des Produkts |
type | string |
Produkttyp. Siehe Glossar – Produkttypen |
duplicates_allowed | bool | Gibt an, ob das Produkt Duplikate unterstützt. |
allowed_validity_years | array of ints | Liste der zulässigen Laufzeit, die für das Produkt beantragt werden kann. |
signature_hash_types | object | Container für Signatur-Hashwert-Info. |
.. allowed_hash_types | array | Liste der zulässigen Hashwert-Typen für das Produkt. |
.. .. id | string |
Hash-ID. Siehe Glossar – Hashwert-Typen |
.. .. name | string | Hash-Name. |
.. default_hash_type_id | string | Für das Produkt benutzter Standard-Hashwert-Typ. |
additional_dns_names_allowed | bool | Gibt an, ob das Produkt zusätzliche DNS-Namen erlaubt. |
increased_compatibility_allowed | bool |
Gibt an, ob das Produkt erweiterte Kompatibilitätsoptionen erlaubt. Siehe DigiCert-SSL-Kompatibilität |
custom_expiration_date_allowed | bool | Gibt an, ob für das Produkt benutzerdefinierte Ablaufdaten festgelegt werden dürfen. |
csr_required | bool | Gibt an, ob zur Beantragung des Produkttyps ein CSR erforderlich ist. |
allow_auto_renew | bool | Gibt an, ob das Produkt automatisch erneuert kann. |
fields | array | |
server_platforms | array | Liste der Serverplattformen, die mit dem Produkt kompatibel sind. |
.. id | int |
Serverplattform-ID Siehe Glossar – Serverplattformen |
.. name | string | Name der Serverplattform. |
.. install_url | string | URL für Installationsanleitung. |
.. csr_url | string | URL für Anleitung zur CSR-Erstellung. |
.. best_format | string |
Für Serverplattform zurückgegebenes Standardzertifikatsformat. Siehe Glossar – Zertifikatsformate |
license_agreement | string | Sehr lange Zeichenfolge, die den Text der Zertifikatsdienstleistungsvereinbarung enthält. |