- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists Transactions for a Key, or across Keys.
To list across Keys or KeyRings, use - as a wildcard in parent (AIP-159), for example projects/p/locations/l/instances/i/keyRings/-/keys/-. This powers the Signer Console's pending queue, for example with filter = "state = PENDING_AUTHORIZATION".
Results are always scoped to the caller. If the caller's User (the User whose principal matches the caller's authenticated identity) has only the SIGNER role, only Transactions on Keys where that User holds a key share are returned. Transactions the caller cannot see are omitted rather than failing the request.
HTTP request
GET https://mpc.googleapis.com/v1beta/{parent=projects/*/locations/*/instances/*/keyRings/*/keys/*}/transactions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent Key. Use |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of Transactions to return. The service may return fewer. If unspecified, at most 50 are returned. Values above 1000 are coerced to 1000. |
pageToken |
Optional. A page token from a previous |
filter |
Optional. A filter expression (AIP-160). Supported fields:
Expressions can be combined with |
orderBy |
Optional. The order of results (AIP-132). Supported fields: |
Request body
The request body must be empty.
Response body
Response message for TransactionService.ListTransactions.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"transactions": [
{
object ( |
| Fields | |
|---|---|
transactions[] |
The Transactions visible to the caller. |
nextPageToken |
A token to retrieve the next page. Empty if there are no more pages. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.