Publish a project's Remote Config template.
Pass the ETag returned by projects.getRemoteConfig
as an If-Match
header to ensure the last seen Remote Config template is the one being overwritten by this update. Pass If-Match: *
to force an update, regardless of the current version.
Returns the published RemoteConfig and the updated ETag as a response header if successful, or an error.
See the publishing guide for a list of error codes.
HTTP request
PUT https://firebaseremoteconfig.googleapis.com/v1/{project=projects/*}/remoteConfig
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Required. The Firebase project's Project ID or Project Number, prefixed with "projects/". |
Query parameters
Parameters | |
---|---|
validateOnly |
Optional. Defaults to Note: other errors may still occur after this boolean is set to |
Request body
The request body contains an instance of RemoteConfig
.
Response body
If successful, the response body contains an instance of RemoteConfig
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/firebase.remoteconfig
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.