Method: upload.v1.projects.apps.releases.upload
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-30 UTC.
[null,null,["Last updated 2024-12-30 UTC."],[],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nUploads 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.\n\nHTTP request\n\n`POST https://firebaseappdistribution.googleapis.com/upload/v1/{app=projects/*/apps/*}/releases:upload`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\nThe following HTTP headers are required:\n\n- `X-Goog-Upload-Protocol`: `raw`\n- `X-Goog-Upload-File-Name`: \u003cvar translate=\"no\"\u003eFILENAME\u003c/var\u003e \n Where \u003cvar translate=\"no\"\u003eFILENAME\u003c/var\u003e is the name of the binary file being uploaded. Example: \"**release.apk**\".\n\n\u003cbr /\u003e\n\nPath parameters\n\nRequest body\n\nThe request body contains the raw binary.\n\nResponse body\n\nIf successful, the response body contains an instance of [Operation](/docs/reference/app-distribution/rest/v1/projects.apps.releases.operations#Operation).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]