將 Apigee Edge 資料與營利保持同步

查看 Apigee Edge 說明文件。
前往 Apigee X說明文件
資訊

簡介

做為貴機構初始營利設定的一部分,Apigee Edge 設定團隊執行指令碼,與貴機構和 開發人員、應用程式和產品。

經過一段時間 (例如數個月) 過後,系統會定期進行 建議將這些資料重新同步到營利功能,確保資料保持同步。個人中心 可同步處理下列項目:

,瞭解如何調查及移除這項存取權。

使用 API 同步處理機構

如要同步處理貴機構的資料,請發出 GET 要求到 /organizations/{org_name}/sync-organization。當您同步處理機構時 管理員也可以同步處理機構中的所有產品、開發人員和應用程式 將 childEntities=true 指定為查詢參數和值。

舉例來說,以下要求會同步處理機構並同步處理所有

$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-organization?childEntities=true" \
-u email:password

回應應如下所示 (僅顯示部分回覆):

Synchronization 4G organization with mint, started at, Mon Sep 09 17:48:22 UTC 2013
Child entities sync is, true

Synchronizing {org_name}
Organization found in mint, merging...
Saving  {org_name}
Saved 
Synchronization 4G products with mint, started at, Mon Sep 09 17:45:26 UTC 2013
Found 4 products.

Synchronizing location
Product found in mint, merging...
Saving  location
Saved location

Synchronizing search
Product found in mint, merging...
Saving  search
Saved search

Synchronizing messaging
Product found in mint, merging...
Saving  messaging
Saved messaging

Synchronizing payment
Product found in mint, merging...
Saving  payment
Saved payment
Synchronization job finished at, Mon Sep 09 17:45:26 UTC 2013
Synchronization 4G products with mint, started at, Mon Sep 09 17:33:20 UTC 2013
Found 11 developers.

Synchronizing dev51@myorg.com
Developer found in mint, merging...
Saving  dev51@myorg.com
Saved dev51@myorg.com

...
Synchronization job finished at, Mon Sep 09 17:33:31 UTC 2013
Synchronization 4G products with mint, started at, Mon Sep 09 17:15:32 UTC 2013
Found 6 applications.

Synchronizing dev-four-test-app
Application found in mint, merging...
Saving  dev-four-test-app
Saved dev-four-test-app

...
Synchronization job finished at, Mon Sep 09 17:15:34 UTC 2013

使用 API 同步處理產品

如要同步處理產品,請發出 GET 要求到 /organizations/{org_name}/sync-products。例如:

$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-products" \
-u email:password

使用 API 同步處理開發人員

如要同步處理開發人員,請發出 GET 要求到 /organizations/{org_name}/sync-developers。例如:

$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-developers" \
-u email:password

使用 API 同步處理應用程式

如要同步處理應用程式,請發出 GET 要求到 /organizations/{org_name}/sync-applications。例如:

$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-applications" \
-u email:password