Apigee Edge 문서를 보고 있습니다.
Go to the
Apigee X 문서로 이동합니다. info
소개
조직의 수익 창출 초기 설정의 일부로 Apigee Edge 구성팀은 Edge API 서비스를 사용하여 만든 조직, 개발자, 애플리케이션, 제품을 수익 창출과 동기화하는 스크립트를 실행합니다.
일정 기간 (예: 몇 개월)이 지난 후 그리고 그 이후에도 주기적으로 데이터를 수익 창출과 다시 동기화하여 데이터가 동기화되도록 하는 것이 좋습니다. 다음 항목을 동기화할 수 있습니다.
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를 사용하여 제품 동기화
제품을 동기화하려면
/organizations/{org_name}/sync-products에 GET 요청을 실행합니다. 예를 들면 다음과 같습니다.
$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-products" \
-u email:password
API를 사용하여 개발자 동기화
개발자를 동기화하려면
/organizations/{org_name}/sync-developers에 GET 요청을 실행합니다. 예를 들면 다음과 같습니다.
$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-developers" \
-u email:password
API를 사용하여 애플리케이션 동기화
애플리케이션을 동기화하려면
/organizations/{org_name}/sync-applications에 GET 요청을 실행합니다. 예를 들면 다음과 같습니다.
$ curl -X GET \
"https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-applications" \
-u email:password