Contributing samples using the Sample Exchange API and Curl


Sample Exchange API sample

Example shell script that uses curl to manually call VMware Sample Exchange APIs to add a sample to the VMware Sample Exchange, . The script authenticates the current user (see below), queues a sample contribution and then polls the API for completion of the contribution printing the resulting URL.


The script requires authentication via one of a couple of mechanisms:

  • You can provide your MyVMware password via the MYVMWARE_EMAIL and MYVMWARE_PASSWD environment variables. You can create a login at .
  • You can provide an VMware Extensible Services Platform (ESP) auth API key that you create at . Put the key value in a VCODE_TOKEN env variable.

API Reference

You can see the Sample Exchange API at

Sign in to be able to add comments.

Comments 0