Hi,
If you use the Develop (drafts) section of API Manager for UAT to manage your APIs and Products then you can download the yaml for the APIs and Products from there:
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-downloading-draft-product
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=definitions-downloading-api-definition
Then in Production you can import the APIs and Products into the Develop (drafts) section of the Production API Manager and publish the Products there:
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-importing-draft-product
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=cad-adding-rest-api-by-importing-openapi-definition-file
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=products-publishing-draft-product
However if you do not use the API Manager Develop (drafts) section then you can manage the whole process programmatically using the Provider-API REST-API delivered with APIC v10:
https://apic-api.apiconnect.ibmcloud.com/v10/#/documentation/introduction
With the Provider-API you can list Products published per Catalog in UAT, download the yaml for the APIs and Products published to the Catalogs in UAT and then re-publish the APIs and Products to Catalogs in Production.
Please see my blogs on getting started with the Provider-API and how the Product/API Lifecycle can be managed with the Provider-API:
https://community.ibm.com/community/user/integration/blogs/nick-cawood/2023/02/22/some-advice-about-using-the-api-connect-v10-apic-t?CommunityKey=2106cca0-a9f9-45c6-9b28-01a28f4ce947
https://community.ibm.com/community/user/integration/blogs/nick-cawood/2023/02/23/api-connect-v10-provider-api-calls-api-lifecycle-c?CommunityKey=2106cca0-a9f9-45c6-9b28-01a28f4ce947
------------------------------
Nick Cawood
API Connect Consultant
IBM Hybrid Cloud Integration Expert Labs
IBM UK Ltd
https://www.linkedin.com/in/nickcawood/------------------------------
Original Message:
Sent: Tue May 09, 2023 06:45 AM
From: Filipe Ventura
Subject: API Export
Hi Community,
We have different environments in our scope (UAT & Production)
We develop our API's in UAT and now we need to export them to another APIC instance (Production)
How can I achieve this? there is a simple way to export & import? using the YAML directly?
Regards.
------------------------------
Filipe Ventura
------------------------------