أنت تعرض مستندات Apigee Edge.
انتقل إلى
مستندات Apigee X. معلومات
مقدمة
كجزء من عملية الإعداد الأولي لتحقيق الربح في مؤسستك، أطلقت شركة Apigee Edge على تشغيل نص برمجي يتزامن مع تحقيق الربح في مؤسستك وأي والمطورين والتطبيقات والمنتجات التي أنشأتها باستخدام خدمات واجهة برمجة تطبيقات Edge.
بعد فترة زمنية (مثل بضعة أشهر) ودوريًا بعد ذلك، من أن تتم إعادة مزامنة تلك البيانات مع تحقيق الربح لضمان مزامنة البيانات. إِنْتَ مزامنة ما يلي:
مزامنة مؤسستك باستخدام واجهة برمجة التطبيقات
لمزامنة مؤسستك، يمكنك إصدار طلب 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
مزامنة المنتجات باستخدام واجهة برمجة التطبيقات
لمزامنة المنتجات، عليك إصدار طلب استرداد بيانات باستخدام GET إلى
/organizations/{org_name}/sync-products
على سبيل المثال:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-products" \ -u email:password
مزامنة المطوّرين باستخدام واجهة برمجة التطبيقات
لمزامنة المطوّرين، يمكنك إصدار طلب GET إلى
/organizations/{org_name}/sync-developers
على سبيل المثال:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-developers" \ -u email:password
مزامنة التطبيقات باستخدام واجهة برمجة التطبيقات
لمزامنة التطبيقات، يمكنك إصدار طلب GET إلى
/organizations/{org_name}/sync-applications
على سبيل المثال:
$ curl -X GET \ "https://api.enterprise.apigee.com/v1/mint/organizations/{org_name}/sync-applications" \ -u email:password