Method: upload.v1.projects.apps.releases.upload

Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists.

HTTP request

POST https://firebaseappdistribution.googleapis.com/upload/v1/{app=projects/*/apps/*}/releases:upload

The URL uses gRPC Transcoding syntax.

The following HTTP headers are required:

  • X-Goog-Upload-Protocol: raw
  • X-Goog-Upload-File-Name: FILENAME
    Where FILENAME is the name of the binary file being uploaded. Example: "release.apk".

Path parameters

Parameters
app

string

The name of the app resource.

Format: projects/{projectNumber}/apps/{appId}

Authorization requires the following IAM permission on the Firebase project that owns the specified resource app:

  • firebaseappdistro.releases.update

Request body

The request body contains the raw binary.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the OAuth 2.0 Overview.