AI-generated Key Takeaways
-
This page details how to list all sample projects supported by the gactions CLI.
-
The HTTP request method is GET to the specified actions.googleapis.com URL.
-
Optional query parameters include
pageSize
for the maximum number of results andpageToken
for retrieving subsequent pages. -
The request body must be empty.
-
The response body contains a list of
sampleProjects
, each includingname
,hostedUrl
, anddescription
, and optionally anextPageToken
.
Lists all the sample projects supported by the gactions CLI.
HTTP request
GET https://actions.googleapis.com/v2/sampleProjects
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of sample projects to return. The service may return fewer than this value. If unspecified, at most 1000 sample projects will be returned. Values above 1000 will be coerced to 1000. |
pageToken |
Optional. A page token, received from a previous 'sampleProjects.list' call. Provide this to retrieve the subsequent page. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
RPC response for sampleProjects.list.
JSON representation | |
---|---|
{
"sampleProjects": [
{
object ( |
Fields | |
---|---|
sampleProjects[] |
The list of sample projects supported. |
nextPageToken |
A token, which can be sent as |
SampleProject
Definition of sample project resource.
JSON representation | |
---|---|
{ "name": string, "hostedUrl": string, "description": string } |
Fields | |
---|---|
name |
The name of the sample project. Format: |
hostedUrl |
The URL to the zip file where the sample is hosted. |
description |
The description of the sample project. |