Create an Android keystore file

POST /apps/{app-slug}/android-keystore-files

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

Responses

  • 201

    Created

    Hide response attribute Show response attribute object
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
      • exposed_meta_datastore object

        Additional properties are allowed.

      • is_expose boolean
      • is_protected boolean
      • processed boolean
      • slug string
      • upload_file_name string
      • upload_file_size integer
      • upload_url string
      • user_env_key string
  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • message string
  • 404

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

    Hide response attribute Show response attribute object
    • message string
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"
}