List of REST Services for protecting Android App
List of App Protection Configurations
URL : api/v1/protection/configurations?PlatformId={PlatformId}
Type : GET
Content Type : application/json
Description : Saves Protection Configurations for existing application. PlatformId = 1 for Android, PlatformId = 2 for iOS
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
[
{
“Name”: “app.securityCompilation.android.buildNativeHashTable”,
“Value”: “1”,
“Title”: “Enable to store data in Hash table”,
“GroupTitle”: “Reverse Engineering Protection”,
“GroupDescription”: “Mandatory feature can’t be disabled”,
“Description”: null,
“IsEnabled”: false,
“Items”: null
},
{
“Name”: “app.securityCompilation.android.secureStrings”,
“Value”: “1”,
“Title”: “Enable to remove hard coded strings”,
“GroupTitle”: “Reverse Engineering Protection”,
“GroupDescription”: “Mandatory feature can’t be disabled”,
“Description”: null,
“IsEnabled”: false,
“Items”: null
}
]

Save App Protection Configurations – Runtime Protection options

URL : api/v1/protection/configurations
Type : POST
Content Type : application/json
Description : Saves runtime protection Configurations for existing application
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
“Items”:[
{
“Name”:”app.securityCompilation.android.buildNativeHashTable”,
“Value”:”1″
},
{
“Name”:”app.securityCompilation.android.secureStrings”,
“Value”:”1″
}
]
}
{
“_Status”: 200
}

App Protection

URL : api/v1/protection
Type : POST
Content Type : application/json
Description : App protection
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
model : {“Frameworks”:[{“Id”:2,”Name”:”Security”,”platforms”:[{“Id”:1,”Name”:”android”}]}]}
file0 : test.apk
{
“_Status”: 200,
“_ShowMessage”: true,
“_Message”: “Compilation started…”
}

Download Protected Application Package

URL : api/v1/protection/package
Type : GET
Content Type : application/json
Description : Download protected application package
Input Model Output Model
Content-Type : application/zip;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
Success:true/false,
Message:”ErrorMessage”,
DownloadURL:”url of the application package zip file”
}

Download Protected Application Certificate

URL : api/v1/protection/certificate?platformId={platformId}
Type : GET
Content Type : application/json
Description : Downloads protected application certificate. PlatformId = 1 for Android, PlatformId = 2 for iOS
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
Success:true/false,
Message:”Error Message”
DownloadURL:”url of the application certification file”
}
List of REST Services for protecting Android App
List of App Protection Configurations
URL : api/v1/protection/configurations?PlatformId={PlatformId}
Type : GET
Content Type : application/json
Description : Saves Protection Configurations for existing application
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
[
{
“Name”: “app.securityCompilation.android.buildNativeHashTable”,
“Value”: “1”,
“Title”: “Enable to store data in Hash table”,
“GroupTitle”: “Reverse Engineering Protection”,
“GroupDescription”: “Mandatory feature can’t be disabled”,
“Description”: null,
“IsEnabled”: false,
“Items”: null
},
{
“Name”: “app.securityCompilation.android.secureStrings”,
“Value”: “1”,
“Title”: “Enable to remove hard coded strings”,
“GroupTitle”: “Reverse Engineering Protection”,
“GroupDescription”: “Mandatory feature can’t be disabled”,
“Description”: null,
“IsEnabled”: false,
“Items”: null
}
]

Save App Protection Configurations – Runtime Protection options

URL : api/v1/protection/configurations
Type : POST
Content Type : application/json
Description : Saves runtime protection Configurations for existing application
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
“Items”:[
{
“Name”:”app.securityCompilation.android.buildNativeHashTable”,
“Value”:”1″
},
{
“Name”:”app.securityCompilation.android.secureStrings”,
“Value”:”1″
}
]
}
{
“_Status”: 200
}

App Protection

URL : api/v1/protection
Type : POST
Content Type : application/json
Description : App protection
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
model : {“Frameworks”:[{“Id”:2,”Name”:”Security”,”platforms”:[{“Id”:1,”Name”:”android”}]}]}
file0 : test.apk
{
“_Status”: 200,
“_ShowMessage”: true,
“_Message”: “Compilation started…”
}

Download Protected Application Package

URL : api/v1/protection/package
Type : GET
Content Type : application/json
Description : Download protected application package
Input Model Output Model
Content-Type : application/zip;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
Success:true/false,
Message:”ErrorMessage”,
DownloadURL:”url of the application package zip file”
}

Download Protected Application Certificate

URL : api/v1/protection/certificate?platformId={platformId}
Type : GET
Content Type : application/json
Description : Downloads protected application certificate
Input Model Output Model
Content-Type : application/json;
AppKey : “GUID of application”;
DevKey: “GUID of developer”;
{
Success:true/false,
Message:”Error Message”
DownloadURL:”url of the application certification file”
}