Skip to content

Commit b645741

Browse files
claude[bot]claude
andcommitted
fix: replace nonexistent Forms API list method with Drive files list
The Google Forms API v1 does not expose a list method on the forms resource. The recipe step `gws forms forms list` will always fail. Replace it with a Drive files list query filtered by the Forms MIME type, and add gws-drive as a prerequisite skill in both the frontmatter and the PREREQUISITE line. Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent a3768d0 commit b645741

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@googleworkspace/cli": patch
3+
---
4+
5+
Fix recipe-collect-form-responses to use Drive API to list forms (Forms API has no list method)

skills/recipe-collect-form-responses/SKILL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@ metadata:
1111
- gws
1212
skills:
1313
- gws-forms
14+
- gws-drive
1415
---
1516

1617
# Check Form Responses
1718

18-
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-forms`
19+
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-forms`, `gws-drive`
1920
2021
Retrieve and review responses from a Google Form.
2122

2223
## Steps
2324

24-
1. List forms: `gws forms forms list` (if you don't have the form ID)
25+
1. Find your form ID: `gws drive files list --params '{"q": "mimeType = \"application/vnd.google-apps.form\""}' --format table`
2526
2. Get form details: `gws forms forms get --params '{"formId": "FORM_ID"}'`
2627
3. Get responses: `gws forms forms responses list --params '{"formId": "FORM_ID"}' --format table`
2728

0 commit comments

Comments
 (0)