Ask a question
Fuel your AI at the ultimate IBM learning event
IBM TechXchange Conference October 21-24, 2024 Mandalay Bay - Las Vegas
npm install -g https://beta.apim.ibmcloud.com/apimanager/toolkit/apim.toolkitapim config:set server=beta.apim.ibmcloud.comapim login
apim create --type product --title "Travel Information" --apis product.yaml
x-ibm-configuration:enforced: truephase: realizedtestable: truecors:enabled: trueassembly:execute:- invoke:title: invoketarget-url: 'backend url'(full file)
x-ibm-configuration:enforced: truephase: realizedtestable: truecors:enabled: trueassembly:execute:- invoke:title: invoketarget-url: 'backend url'
npm install -g https://beta.apim.ibmcloud.com/apimanager/toolkit/apim.toolkitapim config:set server=beta.apim.ibmcloud.comapim login -u USERNAME -p PASSWORD apim config:set organization=apim push docs/swagger.yamlapim stage --catalog=sb docs/travel-information.yamlapim publish --catalog=sb docs/travel-information.yaml
If you don’t already have a CodeShip account you can sign up to CodeShip with your github account and create link in your github repository. You can then set up the tests and deployment steps in the project settings.
(This post originally appeared at http://blog.rickymoorhouse.co.uk/2015/12/12/automatically-publish-your-api-when-you-push-to-github/)
Find out more about the IBM API Management vNext Beta and sign up for free to explore new ways to manage your APIs. To view our tutorials and other helpful videos click here.
Follow IBM API Management @ibmapimgt to learn about the newest product updates, upcoming events and more.