Create an Android keystore file
Add a new Android keystore file to an app. keystore_file_name
is required if there is already an existing keystore file for the app. It will determine the environment variable key to be used to refer to the keystore file in builds. E.g. BITRISE_ANDROID_KEYSTORE_<keystore_file_name>_URL
. The keystore_file_name
can only contain letters, numbers, and underscores.
Path parameters
-
app-slug
string Required App slug
Body
Required
Android keystore file parameters
-
alias
string Required -
keystore_file_name
string -
password
string Required -
private_key_password
string Required -
upload_file_name
string Required -
upload_file_size
integer Required
POST
/apps/{app-slug}/android-keystore-files
curl \
--request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/android-keystore-files' \
--header "Authorization: $API_KEY" \
--data '{"alias":"string","keystore_file_name":"string","password":"string","private_key_password":"string","upload_file_name":"string","upload_file_size":42}'
Request examples
{
"alias": "string",
"keystore_file_name": "string",
"password": "string",
"private_key_password": "string",
"upload_file_name": "string",
"upload_file_size": 42
}
Response examples (201)
{
"data": {
"exposed_meta_datastore": {},
"is_expose": true,
"is_protected": true,
"processed": true,
"slug": "string",
"upload_file_name": "string",
"upload_file_size": 42,
"upload_url": "string",
"user_env_key": "string"
}
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}