$ curl http://your-domain.com/api/upload_bundle \
-F token=your-project-api-token \
-F description='for alpha-test' \
-F file=@/path/to/your/bundle-file
Name |
Description |
token |
Required. The API token of your project. You can check it in your project page. |
description |
The description of the bundle file. |
file |
Required. The path to the bundle file. |
{
"status": 200,
"message": [
"Bundle is created!"
],
"content": {
"file_id": "the ID of Bundle file on Google Drive",
"revision": 1,
"version": "1.0",
"install_url": "the URL to install the Bundle file uploaded",
"qr_code_url": "the URL of the QR code to install the Bundle file uploaded",
"platform_type": "android",
"created_at": "2006-01-02T15:04:05Z07:00",
"updated_at": "2006-01-02T15:04:05Z07:00"
}
}
$ curl http://your-domain.com/api/delete_bundle \
-F token=your-project-api-token \
-F file_id='bundle file_id' \
Name |
Description |
token |
Required. The API token of your project. You can check it in your project page. |
file_id |
Required. Bundle FileID. |
{
"status": 200,
"message": [
"Bundle is deleted!"
],
}
$ curl -XGET http://your-domain.com/api/list_bundle \
-F token=your-project-api-token \
-F page=page_num
Name |
Description |
token |
Required. The API token of your project. You can check it in your project page. |
page |
Specific number for page. |
{
"status": 200,
"message": [
"Bundle List"
],
"content": {
"total_count": 2,
"page": 1,
"limit": 25,
"bundles": [
{
"file_id": "the ID of APK file on Google Drive",
"revision": 1,
"version": "1.0",
"qr_code_url": "the URL of the QR code to install the APK file uploaded",
"install_url": "the URL to install the APK file uploaded",
"platform_type": "android",
"created_at": "2006-01-02T15:04:05Z07:00",
"updated_at": "2006-01-02T15:04:05Z07:00"
},
{
.
.
.
]
}
}