Retrieving a file saved with an App.
http://apis.wso2.com/api/appm/store/v1.1/apps/{appType}/id/{appId}/storage/{fileName}
GET
appm:read
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appType required |
The App type (either Webapp/Mobile app). |
String | |
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the App and the version. Should be formatted as **provider-name-version**. |
String | |
Path |
fileName required |
The file name. |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. |
file |
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. Requested entity does not exist. |
Error |
Retrieving .apk and .ipa binaries for mobile apps.
http://apis.wso2.com/api/appm/store/v1.1/apps/mobile/binaries/{fileName}
GET
appm:read
curl -X GET -H "Authorization: Bearer 980c5e45f2415f0b1ab8923f2c593c85" "http://localhost:9763/api/appm/publisher/v1.1/apps/mobile/binaries/RKHktVsxjmFOZz1.apk"
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
fileName required |
The file name. |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Mobile app binary content retrieved successfully. |
file |
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. Requested entity does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
Retrieving .apk and .ipa binaries for mobile apps.
http://apis.wso2.com/api/appm/store/v1.1/apps/mobile/binaries/one-time/{uuid}
GET
appm:read
curl -X GET -H "http://localhost:9763/api/appm/store/v1.1/apps/mobile/binaries/one-time/fa1f4634-77cb-4bd7-9100-f0dcf0a04d6a"
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
uuid required |
The UUID parameter of the one-time download link, which has the external representation of a downloadable binary file |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. Mobile app binary content retrieved successfully. |
file |
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. Requested entity does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
Retrieving plist for ios mobile apps.
http://apis.wso2.com/api/appm/store/v1.1/apps/mobile/plist/{appId}/{uuid}
GET
appm:read
curl -X GET "http://localhost:9763/api/appm/store/v1.1/apps/mobile/plist/f2d9703b-df65-4b8a-8250-0d033e969f55/50ba9a5e-a261-453d-a58f-c6b68d42150d"
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
appId required |
**APP ID** consisting of the **UUID** of the App. The following combination is also accepted as a valid APP ID: the provider of the app, name of the App and the version. Should be formatted as **provider-name-version**. |
String | |
Path |
uuid required |
The UUID parameter of the one-time download link, which has the external representation of a downloadable binary file |
String | |
Header |
If-Match optional |
Validator for conditional requests; based on ETag. |
String | |
Header |
If-Unmodified-Since optional |
Validator for conditional requests; based on the Last Modified header. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. IOS Mobile app plist content retrieved successfully. |
file |
400 |
Bad Request. Invalid request or validation error. |
Error |
404 |
Not Found. Requested entity does not exist. |
Error |
412 |
Precondition Failed. The request has not been performed because one of the preconditions is not met. |
Error |
Schedule Install an App
http://apis.wso2.com/api/appm/store/v1.1/apps/mobile/schedule-install
POST
appm:subscribe
curl -X POST -H "Authorization: Bearer 795740b5fa8e632f9c2d969b6165b7fc" -H "Content-Type: application/json" -d '{
"deviceIds": ["{\"id\":\"358812061121105\",\"type\":\"ANDROID\"}"],
"appId": "35050dda-217f-4638-9e1d-bbcf5aebc09b",
"scheduleTime":"04-30-2016 11:25 am"
}
' "http://localhost:9763/api/appm/store/v1.1/apps/mobile/schedule-install"
{
"deviceIds": ["{\"id\":\"358812061121105\",\"type\":\"ANDROID\"}"],
"appId": "35050dda-217f-4638-9e1d-bbcf5aebc09b",
"scheduleTime":"04-30-2016 11:25 am"
}
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Content-Type required |
Media type of the entity in the body. Default is JSON. |
String |
JSON |
Body |
schedule optional |
Schedule (Schedule) |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. |
|
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. Resource to be deleted does not exist. |
Error |
Schedule Update an App
http://apis.wso2.com/api/appm/store/v1.1/apps/mobile/schedule-update
POST
appm:create
curl -X POST -H "Authorization: Bearer 795740b5fa8e632f9c2d969b6165b7fc" -H "Content-Type: application/json" -d '{
"deviceIds": ["{\"id\":\"358812061121105\",\"type\":\"ANDROID\"}"],
"appId": "35050dda-217f-4638-9e1d-bbcf5aebc09b",
"scheduleTime":"04-30-2016 11:25 am"
}
' "http://localhost:9763/api/appm/store/v1.1/apps/mobile/schedule-update"
{
"deviceIds": ["{\"id\":\"358812061121105\",\"type\":\"ANDROID\"}"],
"appId": "35050dda-217f-4638-9e1d-bbcf5aebc09b",
"scheduleTime":"04-30-2016 11:25 am"
}
HTTP/1.1 200 OK
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Header |
Content-Type required |
Media type of the entity in the body. Default is JSON. |
String |
JSON |
Body |
schedule optional |
Schedule (Schedule) |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. |
|
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. Resource to be deleted does not exist. |
Error |