Method: projects.apps.debugTokens.list
Stay organized with collections
Save and categorize content based on your preferences.
Lists all DebugToken
s for the specified app.
For security reasons, the token
field is never populated in the response.
HTTP request
GET https://firebaseappcheck.googleapis.com/v1/{parent=projects/*/apps/*}/debugTokens
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The relative resource name of the parent app for which to list each associated DebugToken , in the format:
projects/{project_number}/apps/{app_id}
|
Query parameters
Parameters |
pageSize |
integer
The maximum number of DebugToken s to return in the response. Note that an app can have at most 20 debug tokens. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
|
pageToken |
string
Token returned from a previous call to debugTokens.list indicating where in the set of DebugToken s to resume listing. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to debugTokens.list must match the call that provided the page token; if they do not match, the result is undefined.
|
Request body
The request body must be empty.
Response body
Response message for the debugTokens.list
method.
If successful, the response body contains data with the following structure:
JSON representation |
{
"debugTokens": [
{
object (DebugToken )
}
],
"nextPageToken": string
} |
Fields |
debugTokens[] |
object (DebugToken )
The DebugToken s retrieved.
|
nextPageToken |
string
If the result list is too large to fit in a single response, then a token is returned. If the string is empty or omitted, then this response is the last page of results. This token can be used in a subsequent call to debugTokens.list to find the next group of DebugToken s. Page tokens are short-lived and should not be persisted.
|
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
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 2024-04-05 UTC.
[null,null,["Last updated 2024-04-05 UTC."],[],[],null,["Lists all [DebugToken](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken)s for the specified app.\n\nFor security reasons, the [`token`](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens#DebugToken.FIELDS.token) field is never populated in the response.\n\nHTTP request\n\n`GET https://firebaseappcheck.googleapis.com/v1/{parent=projects/*/apps/*}/debugTokens`\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 Response message for the [debugTokens.list](/docs/reference/appcheck/rest/v1/projects.apps.debugTokens/list#google.firebase.appcheck.v1.ConfigService.ListDebugTokens) method.\n\nIf successful, the response body contains data with the following structure:\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\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]