- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists revisions for a given workflow.
HTTP request
GET https://workflows.googleapis.com/v1/{name=projects/*/locations/*/workflows/*}:listRevisions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Workflow for which the revisions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of revisions to return per page. If a value is not specified, a default value of 20 is used. The maximum permitted value is 100. Values greater than 100 are coerced down to 100. |
pageToken |
The page token, received from a previous workflows.listRevisions call. Provide this to retrieve the subsequent page. |
Request body
The request body must be empty.
Response body
Response for the workflows.listRevisions
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workflows": [
{
object ( |
Fields | |
---|---|
workflows[] |
The revisions of the workflow, ordered in reverse chronological order. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.