v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132141101.3 KB
projects

Adds a ShaCertificate to the specified AndroidApp.

post/v1beta1/{+parent}/sha

Path parameters

parentstring required

The resource name of the parent AndroidApp to which to add a ShaCertificate, in the format: projects/PROJECT_IDENTIFIER/androidApps/ APP_ID Since an APP_ID is a unique identifier, the Unique Resource from Sub-Collection access pattern may be used here, in the format: projects/-/androidApps/APP_ID Refer to the AndroidApp name field for details about PROJECT_IDENTIFIER and APP_ID values.

Request body

certType'SHA_CERTIFICATE_TYPE_UNSPECIFIED' | 'SHA_1' | 'SHA_256'

The type of SHA certificate encoded in the hash.

shaHashstring

The certificate hash for the AndroidApp.

namestring

The resource name of the ShaCertificate for the AndroidApp, in the format: projects/PROJECT_IDENTIFIER/androidApps/APP_ID/sha/SHA_HASH * PROJECT_IDENTIFIER: the parent Project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId). * SHA_HASH: the certificate hash for the App (see shaHash).

Response

Successful response