Create application signature
POST
/api/v2/client/applications/{application_id}/signature
const url = 'https://app.affisemmp.com/api/v2/client/applications/1/signature';const form = new FormData();form.append('jks_file', 'file');form.append('ks_pass', 'keystore_password');form.append('key_pass', 'key_password');form.append('ks_key_alias', 'my_key_alias');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.affisemmp.com/api/v2/client/applications/1/signature \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form jks_file=@file \ --form ks_pass=keystore_password \ --form key_pass=key_password \ --form ks_key_alias=my_key_aliasStores the keystore the client signs its APK with. Replaces a previous upload and leaves the key generated for the application untouched: removing the upload brings that one back.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” application_id
required
integer
The ID of the application.
Example
1Request Body required
Section titled “Request Body required ” Media type multipart/form-data
object
jks_file
required
The JKS/Keystore file. Max size: 10MB.
string format: binary
ks_pass
required
Keystore password. Max 255 characters.
string
Example
keystore_password key_pass
required
Key password. Max 255 characters.
string
Example
key_password ks_key_alias
required
Key alias. Max 255 characters.
string
Example
my_key_aliasResponses
Section titled “ Responses ” Media type application/json
object
message
string
Example
{ "message": "Application signature successfully created"}