Microvisor is in a pre-release phase and the information contained in this document is subject to change. Some features referenced below may not be fully available until Microvisor's General Availability (GA) release.
An App instance represents application code uploaded to the Twilio cloud and able to be installed on one or more Microvisor-empowered Devices.
App resources are accessed at this endpoint:
_10
https://microvisor.twilio.com/v1/Apps
Make a GET request to the endpoint to receive a list (in JSON) of all App resources.
Every App instance can be referenced in the API either by its unique SID or a user-defined unique name:
Application code represented by an App resource can be installed on a device using its Device resource.
New App resources
You do not create App resources directly. Instead, a new App resource is created for you whenever you upload application code, in the form of a Microvisor app bundle, to the Twilio cloud. This is achieved with the following curl command:
_10
curl -X POST https://microvisor-upload.twilio.com/v1/Apps \
_10
-H 'Content-Type: multipart/form-data' \
_10
-F File=@/path/to/app/bundle \
_10
-u <YOUR_ACCOUNT_SID>:<YOUR_AUTH_TOKEN>
This call will return App metadata in JSON form from which you can read the App's unique SID and which you will use to deploy the application to a device.
(information)
Info
Customers may request that app data be deleted. If you wish to do so, please contact Twilio Support through the Console or Help Center. For more information on Twilio's data retention and deletion policy, please see this support document.
A developer-defined string that uniquely identifies the App. This value must be unique for all Apps on this Account. The unique_name value may be used as an alternative to the sid in the URL path to address the resource.