Skip to main content

media

Creates, updates, deletes, gets or lists a media resource.

Overview

Namemedia
TypeResource
Idfirebase.appdistribution.media

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
uploadexecprojectsId, appsIdUploads 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appsIdstring
projectsIdstring

Lifecycle Methods

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.

EXEC firebase.appdistribution.media.upload 
@projectsId='{{ projectsId }}' --required,
@appsId='{{ appsId }}' --required
@@json=
'{
"blob": "{{ blob }}"
}';