このエンドポイントを使用して、すべての証明書オーダーの CSV を取得します。
curl -X GET \
'https://www.digicert.com/services/v2/report/order?limit=3' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/report/order"
querystring = {"limit":"3"}
payload = ""
headers = {'X-DC-DEVKEY': '{{api_key}}'}
response = requests.request("GET", url, data=payload, headers=headers, params=querystring)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/report/order?limit=3"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
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/report/order',
qs: { limit: '3' },
headers: { 'X-DC-DEVKEY': '{{api_key}}' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
order_id,customer_order_id,date_created,container_id,container_name,status,user_id,organization_id,organization_name,organization_address_1,organization_address_2,organization_city,organization_state,organization_country,organization_unit,tech_first_name,tech_last_name,tech_email,tech_title,tech_telephone,server_type,issuing_ca,agreement_id,validity_years,signature_hash,dcv_method,common_name,plus_feature,dns_names,product_id,product_name_id,product_name,product_type,email,csr,valid_from,valid_till,certificate_tracker_id,is_renewed,renewed_order_id,receipt_id,disable_issuance_email,pay_type,is_out_of_contract,disable_renewal_notifications,additional_emails,auto_renew,custom_renewal_message,thumbprint,serial_number,account_id,user_first_name,user_last_name,user_email,user_assignments,cost,metadata,has_duplicates
"123456","","2018-10-26 10:15:33","112233","Will Smith","issued","123123","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","IT department","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","example.com","1","example.com","1","ssl_plus","Standard SSL","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-10-26","2020-10-30","111113","1","0","54323","0","A","1","0","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","0"
"123455","","2018-11-16 13:14:26","112233","Will Smith","issued","123123","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","Finance","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","example.org","1","example.org","1","ssl_plus","Standard SSL","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-11-16","2020-11-20","111112","1","0","54322","0","A","1","1","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","0"
"123454","","2018-11-16 13:19:16","112233","Will Smith","issued","257107","221133","Real Organization","123 Fake Street","","Lehi","Utah","us","Sales","Will","Smith","will.smith@example.com","Fresh Prince","8015555555","2","DigiCert Global Root CA","41","2","sha256","","*.example.org","1","*.example.org","2","ssl_wildcard","WildCard","ssl_certificate","","-----BEGIN CERTIFICATE REQUEST-----
...
-----END CERTIFICATE REQUEST-----
","2018-11-16","2020-11-20","111111","1","0","54321","0","A","1","0","","0","","123ABC","123ABC","4567890","Will","Smith","will.smith@example.com","123123","","","1"
名前 | 申請/オプション | 種別 | 説明 |
---|---|---|---|
limit | 任意 | int |
ページネーション用にリストを指定番号に切り捨てます。 最大: 1000
|
offset | 任意 | int |
ページネーション用にリストを指定番号からはじめます。 デフォルト: 0
|
すべての行パラメータ値をダブルクオーテーション ("
) で囲みます。
名前 | 説明 |
---|---|
order_id | オーダー ID |
customer_order_id | カスタムオーダー ID |
date_created |
オーダーを実行した日付 形式: yyyy-MM-dd HH:mm:ss
|
container_id | オーダーの ID |
container_name | オーダーのコンテナ名 |
ステータス |
オーダーステータス 「用語集 — オーダーステータス」を参照してください |
user_id | オーダーを実行したユーザーの ID |
organization_id | オーダーと関連づけられた組織 ID |
organization_name | 組織名 |
organization_address_1 | 組織の住所 |
organization_address_2 | |
organization_city | 組織の所在市町村 |
organization_state | 組織の所在州(都道府県) |
organization_country | 組織の所在国 |
organization_unit | 証明書上の組織部門 |
tech_first_name | 技術連絡先の名 |
tech_last_name | 技術連絡先の姓 |
tech_email | 技術連絡先のメールアドレス |
tech_title | 技術連絡先の役職 |
tech_telephone | 技術連絡先の電話番号 |
server_type |
サーバープラットフォーム ID 「用語集 — サーバープラットフォーム」を参照してください |
issuing_ca | 発行認証局 |
agreement_id | 同意した CSA の ID |
validity_years | 証明書が有効な年数。 |
signature_hash | 証明書申請の署名に使用する署名ハッシュ |
dcv_method |
ドメイン用に構成されたドメイン名糊王権確認方法 「用語集 — DCV 方法」を参照してください。 |
common_name | 証明書が安全保護する名前 |
plus_feature |
プラス機能がオーダーについて有効になっている場合に指定します。 可能な値: 0 (無効)、1 (有効)
|
dns_names | 証明書が安全保護する追加名のリスト |
number_of_sans | 証明書で保護する SAN の数 |
server_licenses | 証明書に付属のサーバーライセンスの数 |
product_id | 製品の ID |
product_name_id |
製品の名前 ID 「用語集 — 製品識別子」を参照してください |
product_name |
製品の表示名 「用語集 — 製品識別子」を参照してください |
product_type |
製品タイプ 「用語集 — 製品タイプ」を参照してください |
メール | 該当する場合は、証明書上のメールアドレス |
csr | 証明書署名申請 (CSR). |
valid_from |
証明書有効期間開始時の日付 形式: yyyy-MM-dd
|
valid_till |
証明書有効期間終了時の日付。 形式: yyyy-MM-dd
|
certificate_tracker_id | 証明書 ID |
is_renewed |
オーダーを更新した場合に指定します。 可能な値: 0 (偽)、1 (真)
|
renewed_order_id |
前のオーダーのオーダー ID オーダーが更新の場合にのみ返されます。 |
receipt_id | 受取 ID |
disable_issuance_email |
発行メールを送信する場合に指定します。 可能な値: 0 (偽)、1 (真)
|
pay_type |
オーダーに使用する支払方法 可能な値: A (アカウント残高)、C (クレジットカード)、U (ユニット)
|
is_out_of_contract |
オーダーの契約ステータス 可能な値: 0 (偽)、1 (真)
|
disable_renewal_notifications |
更新通知を有効にする場合に指定します。 可能な値: 0 (偽)、1 (真)
|
additional_emails | オーダー上の追加メールアドレス |
auto_renew |
証明書が自動更新する場合に指定します。 可能な値: 0 (無効)、1 (有効)
|
custom_renewal_message | 更新通知に含めるカスタムメッセージ |
サムプリント | 証明書のサムプリント |
serial_number | 証明書のシリアル番号 |
account_id | オーダーに関連づけられたアカウント ID |
user_first_name | 証明書を申請したユーザーの名 |
user_last_name | 証明書を申請したユーザーの姓 |
user_email | 証明書を申請したユーザーのメールアドレス |
user_assignments | オーダーに割り当てられたユーザーの ID |
コスト |
オーダーコスト 可能な値:$ ベース、ユニットベース |
メタデータ |
カスタムフィールド詳細 形式: {{metadata_id}} {{metadata_label}} {{metadata_value}} データセパレータ: 0x1f
|
has_duplicates |
証明書に複製がある場合に指定します。 可能な値: 0 (偽)、1 (真)
|