Lists all available namespaces for a given Firebase project.
The returned list currently includes "firebase" (for the client-side template) and "firebase-server" (for the server-side template).
HTTP request
GET https://firebaseremoteconfig.googleapis.com/v1/{parent=projects/*}/namespaces
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent project for which to list namespaces. Format: projects/{project} |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of items to return per page. If not specified, defaults to 100. |
pageToken |
Optional. The token for the specific page to retrieve. |
Request body
The request body must be empty.
Response body
Response message for namespaces.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"namespaces": [
{
object ( |
Fields | |
---|---|
namespaces[] |
The list of namespaces for the project. |
nextPageToken |
Optional. The token for the specific page to retrieve. |
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 OAuth 2.0 Overview.