Push drafts to the server by using the toolkit

    1. Copy the lab files ClimbingWeather.yaml and ClimbingWeather-API.yaml to a local directory.
    2. Log in to the Bluemix server by using your credentials and the following command:

      apic login --username [email protected] --password bluemix2 --server us.apiconnect.ibmcloud.com

      Be sure to use the second user identity.

3.Push the product and API definitions to the remote server:

apic drafts:push ClimbingWeather.yaml –server us.apiconnect.ibmcloud.com –organization <orgname>

Any other user in the organization can now see and use these drafts by using the following commands:

apic drafts:list –server us.apiconnect.ibmcloud.com –organization <orgname>

apic drafts:pull ClimbingWeather.yaml –server us.apiconnect.ibmcloud.com –organization <orgname>