Here is an example of how to upload an application to Application Storage in the US West Data Center:
|title||Mac OSX / Linux Example|
$ curl -F "payload=@/Users/$SAUCE_USERNAME/Downloads/$FILE_NAME.ipa" -F "name=$FILE_NAME.ipa" -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" 'https://api.us-west-1.saucelabs.com/v1/storage/upload'
For more examples examples of how to access the application in your automated test builds and more detailed information on how to use the Storage API, visit the Application Storage page.
Sauce Temporary Storage
Here is an example of how to upload an application to Sauce Temporary Storage:
$ curl -u $SAUCE_USERNAME:$SAUCE_ACCESS_KEY -X POST -H "Content-Type: application/octet-stream" \
"https://saucelabs.com/rest/v1/storage/$SAUCE_USERNAME/$APP_NAME?overwrite=true" --data-binary @path/to/your_file_name
For more examples and more detailed information, visit the Sauce Temporary Storage page.