配額端點
使用資料衛生API中的/quota
端點來檢查您組織目前的使用情況和限制。 配額依權利而異,例如Privacy and Security Shield或Healthcare Shield。
監視您目前的配額消耗,以確保符合每個工作型別的組織限制。
快速入門
本指南中使用的端點屬於資料衛生API。 在繼續之前,請檢閱總覽以取得下列資訊:
- 相關檔案連結
- 如何讀取範例API呼叫
- Experience Platform API呼叫的必要標頭
配額與處理時間表 quotas
記錄刪除請求受配額和服務層級預期的約束,這些預期取決於您的授權權利。 這些限制同時適用於UI和API型刪除請求。
清單配額 list
您可以透過向/quota
端點發出GET要求來檢視您組織的配額資訊。
API格式
GET /quota
GET /quota?quotaType={QUOTA_TYPE}
NOTE
配額消耗會在每個月1日的00:00 GMT重設每日和每月。
只有接受的請求才會計入您的配額。 拒絕的工作單不會減少您的配額。
參數
說明
{QUOTA_TYPE}
選擇性查詢引數,指定要擷取的配額型別。 如果未提供quotaType
引數,則API回應中會傳回所有配額值。 接受的值包括:
datasetExpirationQuota
:使用中資料集到期日數目以及您的總允許。dailyConsumerDeleteIdentitiesQuota
:今天刪除的記錄數目以及您的每日配額。monthlyConsumerDeleteIdentitiesQuota
:本月刪除的記錄數與您的每月配額。
要求
curl -X GET \
https://platform.adobe.io/data/core/hygiene/quota \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'Content-Type: application/json'
回應
成功的回應會傳回資料生命週期配額的詳細資料。
{
"quotas": [
{
"name": "datasetExpirationQuota",
"description": "The number of concurrently active dataset-expiration delete operations in all work order requests for the organization.",
"consumed": 11,
"quota": 75
},
{
"name": "dailyConsumerDeleteIdentitiesQuota",
"description": "The consumed number of deleted identities in all work order requests for the organization for today.",
"consumed": 314,
"quota": 700000
},
{
"name": "monthlyConsumerDeleteIdentitiesQuota",
"description": "The consumed number of deleted identities in all work order requests for the organization this month.",
"consumed": 2764,
"quota": 12000000
}
]
}
屬性
說明
quotas
列出每個資料生命週期工作型別的配額資訊。 每個配額物件都包含下列屬性:
name
description
consumed
quota
name
配額型別識別碼。
description
此配額限制內容的說明。
consumed
目前使用的配額量。 使用量會在當月1日的00:00 GMT和00:00 GMT重設每日配額。
quota
貴組織此配額型別的最大配額。
recommendation-more-help
332f81c1-51e7-4bde-8327-2eb07f09604f