-
Example shell script that uses curl to manually call VMware Sample Exchange APIs to add a sample to the VMware Sample Exchange, https://code.vmware.com/samples . 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 see the Sample Exchange API at https://code.vmware.com/apis/47/sample-exchange