Forum Discussion

pete's avatar
pete
New Contributor
3 years ago

APIM use with CI/CD and automation

I would like to automate the production of pipeline from a project into a APIM version.

I have a APIM API setup with a version create from blank.

Then I can use the api/1/rest/public/project/copy_assets to copy assets from project into a //apim// location eg:
/myOrg/apim/helloworldAPI/3

Great!

Is there an API I can use to then publish this out? or a Snap Pack for APIM?

Also if there is a update to this (eg pipeline has been updated and i need to copy this into the APIM location) i’ve notice that the copy_assets will not work once the API is published, as such is there also an API to unpublish? or a better approach to update the API?

thanks