Read details of the app store
{
"status": "ok",
"guid": "<app_store_global_unique_id>",
"name": "<app_store_name>",
"description": "<app_store_description>",
"icon": "<base64_String>"
"storeitems": ["store_item_global_unique_id_1", "store_item_global_unique_id_2", ..."store_item_global_unique_id_N"],
"authpolicies": ["active_policy_ids"]
}
{
"status": "error",
"message": "<error_message>"
}
Update details of the app store
{
"name": "<app_store_name>",
/*optional*/
"description": "<app_store_description>" /*optional*/
"storeitems": ["store_item_global_unique_id_1"] /*optional*/
"authpolicies": [policy_ids]
}
{
"status": "ok",
"guid": "<app_store_global_unique_id>",
"name": "<app_store_name>",
"description": "<app_store_description>"
"icon": "<base64_string>"
"storeitems": ["store_item_global_unique_id_1", "store_item_global_unique_id_2", ..."store_item_global_unique_id_N"],
"authpolicies": [active_policy_ids]
}
{
"status": "error",
"message": "<error_message>"
}
Add an existing Store Item to the store, making it visible in the store.
{
"guid": "<unique_store_item_id>"
}
{
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}
Remove existing Store Item from the store, making it invisible in the store.
{
"guid": "<unique_store_item_id>"
}
{
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}
Add an icon for your store.
multipart request with the image
{
"status": "ok",
"guid": "<app_store_global_unique_id>",
"name": "<app_store_name>",
"description": "<app_store_description>"
"icon": "<base64_string>"
"storeitems": ["store_item_global_unique_id_1", "store_item_global_unique_id_2", ..."store_item_global_unique_id_N"],
"authpolicies": [active_policy_ids]
}
{
"status": "error",
"message": "<error_message>"
}
List the current items in the App Store. The "binaries" fields are defined in the Binaries Options.
{}
{
"list": [{
"authToken": "<unique id for auth>",
"authpolicies": [unique_policy_ids],
"binaries": [{
"config": {
"bundle_id": "<ios_bundle_id>"
},
"storeItemBinaryVersion": 2,
"sysModified": "Fri Nov 02 10:06:48 GMT 2012",
"type": "iphone | android | ios | ipad",
"url": "http://<domain>/box/srv/1.1/mas/storeitem/install?guid=dweFfHihI616y67aQB4sNGQt",
"versions": [{
"config": {},
"destinationCode": "iphone | android | ios | ipad",
"storeItemBinaryGuid": "Y8a8lFjFufZyqd1tAdjonufw",
"storeItemBinaryModified": "Fri Nov 02 10:44:45 GMT 2012",
"storeItemBinaryVersion": 1,
"url": "http://<domain>/box/srv/1.1/mas/storeitem/downloadvers?guid=o1Z1S_t-hyGMXymqTzIWS4xd"
}]
}],
"description": "description",
"guid": "<unique_id>",
"icon": "<base64_string>",
"name": "<string_item_name>"
}],
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}
The binaries field is an array of information about the currently uploaded Store Item Binaries. It consists of :
add an auth policy to be used with the appstore
{
guid: < "policy_id" >
}
{
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}
Remove an auth policy from being used in with the appstore
{
guid: < "policy_id" >
}
{
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}
List the policies attached to the appstore
{}
{
"list": ["ORF5SiIH623yYmBD1ftlFOA4"],
"status": "ok"
}
{
"status": "error",
"message": "<error_message>"
}