Liftbay
API referenceBuilds

Import an existing Android upload keystore

PUT
/v1/orgs/{org}/projects/{project}/signing/android

Use the upload key your app is already registered with on Google Play instead of one Liftbay generates. Accepts PKCS12 and JKS keystores; the keystore must open with the passwords and contain a private key under the alias. Refuses to replace a stored key unless replace is true: Play rejects uploads signed with a different upload key until you reset it in Play Console.

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

Request Body

application/json
  1. body
keystoreBase64*string

Base64 of the .jks, .keystore or .p12 file (PKCS12 or JKS)

Length1 <= length <= 65536
storePassword*string
Length6 <= length <= 128
keyAlias*string
Length1 <= length <= 64
keyPassword?string

Default: the keystore password (always the same for PKCS12)

Length6 <= length <= 128
replace?boolean

Replace a stored upload key. Play rejects uploads signed with a different key until the upload key is reset in Play Console.

Defaultfalse

Response Body

OK

application/json
  1. response
android*|null
ios*|null
iosAdhoc*|null
curl -X PUT "https://example.com/v1/orgs/string/projects/string/signing/android" \  -H "Content-Type: application/json" \  -d '{    "keystoreBase64": "string",    "storePassword": "string",    "keyAlias": "string"  }'
{  "android": {    "keyAlias": "string",    "createdAt": "string",    "source": "generated",    "certificateSha256": "string"  },  "ios": {    "teamId": "string",    "exportMethod": "string",    "createdAt": "string",    "expiresAt": "string",    "bundleIds": [      "string"    ],    "certificateSerial": "string",    "deviceCount": 0  },  "iosAdhoc": {    "teamId": "string",    "exportMethod": "string",    "createdAt": "string",    "expiresAt": "string",    "bundleIds": [      "string"    ],    "certificateSerial": "string",    "deviceCount": 0  }}