App Resource
Danger
This is historical documentation, and tooling and console operations are no longer available.
An App instance represents application code uploaded to the Microvisor Cloud and able to be installed on one or more Microvisor-empowered Devices.
App resources are accessed at this endpoint:
https://microvisor.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:
https://microvisor.com/v1/Apps/{id}
https://microvisor.com/v1/Apps/{uniqueName}
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 Microvisor Cloud. This is achieved with the following curl command:
curl -X POST https://microvisor-upload.microvisor.com/v1/Apps \
-H 'Content-Type: multipart/form-data' \
-F File=@/path/to/app/bundle \
-u <YOUR_ACCOUNT_ID>:<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.
Get all Apps
Action |
Request a list of all App resources |
Path |
|
Method |
|
Get an App
Action |
Request a single App resource |
Path |
|
Method |
|
Parameters |
Name: |
Delete an App
Action |
Delete an App resource |
Path |
|
Method |
|
Parameters |
Name: |