Method: projects.releases.list
Stay organized with collections
Save and categorize content based on your preferences.
List the Release
values for a project. This list may optionally be filtered by Release
name, Ruleset
name, TestSuite
name, or any combination thereof.
HTTP request
GET https://firebaserules.googleapis.com/v1/{name=projects/*}/releases
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. Resource name for the project. Format: projects/{project_id}
|
Query parameters
Parameters |
filter |
string
Release filter. The list method supports filters with restrictions on the Release.name , and Release.ruleset_name .
Example 1: A filter of 'name=prod*' might return Release s with names within 'projects/foo' prefixed with 'prod': Name -> Ruleset Name:
- projects/foo/releases/prod -> projects/foo/rulesets/uuid1234
- projects/foo/releases/prod/v1 -> projects/foo/rulesets/uuid1234
- projects/foo/releases/prod/v2 -> projects/foo/rulesets/uuid8888
Example 2: A filter of name=prod* rulesetName=uuid1234 would return only Release instances for 'projects/foo' with names prefixed with 'prod' referring to the same Ruleset name of 'uuid1234': Name -> Ruleset Name:
- projects/foo/releases/prod -> projects/foo/rulesets/1234
- projects/foo/releases/prod/v1 -> projects/foo/rulesets/1234
In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used.
|
pageSize |
integer
Page size to load. Maximum of 100. Defaults to 10. Note: pageSize is just a hint and the service may choose to load fewer than pageSize results due to the size of the output. To traverse all of the releases, the caller should iterate until the pageToken on the response is empty.
|
pageToken |
string
Next page token for the next batch of Release instances.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
{
"releases": [
{
object (Release )
}
],
"nextPageToken": string
} |
Fields |
releases[] |
object (Release )
List of Release instances.
|
nextPageToken |
string
The pagination token to retrieve the next page of results. If the value is empty, no further results remain.
|
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
https://www.googleapis.com/auth/firebase.readonly
For more information, see the Authentication 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 2021-06-30 UTC.
[null,null,["Last updated 2021-06-30 UTC."],[],[],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListReleasesResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList the `Release` values for a project. This list may optionally be filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any combination thereof.\n\nHTTP request\n\n`GET https://firebaserules.googleapis.com/v1/{name=projects/*}/releases`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\nQuery parameters\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains data with the following structure:\nThe response for [FirebaseRulesService.ListReleases](/docs/reference/rules/rest/v1/projects.releases/list#google.firebase.rules.v1.FirebaseRulesService.ListReleases).\n\nAuthorization Scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/firebase`\n- `https://www.googleapis.com/auth/firebase.readonly`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]