gws-forms
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseforms (v1)
forms (v1)
PREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
bash
gws forms <resource> <method> [flags]前置要求: 阅读了解认证、全局标志和安全规则。如果该文件缺失,请运行../gws-shared/SKILL.md命令创建它。gws generate-skills
bash
gws forms <resource> <method> [flags]API Resources
API资源
forms
forms
- — Change the form with a batch of updates.
batchUpdate- — Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
create - — Get a form.
get - — Updates the publish settings of a form. Legacy forms aren't supported because they don't have the
setPublishSettingsfield.publish_settings - — Operations on the 'responses' resource
responses - — Operations on the 'watches' resource
watches
- — 批量更新表单内容。
batchUpdate- — 使用请求中提供的表单消息里的标题创建新表单。重要提示: 仅会将form.info.title和form.info.document_title字段复制到新表单。包括表单描述、项目和设置在内的所有其他字段均不允许设置。要创建新表单并添加项目,您必须先调用forms.create创建一个带标题(可选包含文档标题)的空表单,然后调用forms.update添加项目。
create - — 获取表单信息。
get - — 更新表单的发布设置。不支持旧版表单,因为它们没有
setPublishSettings字段。publish_settings - — 对“responses”资源的操作
responses - — 对“watches”资源的操作
watches
Discovering Commands
命令探索
Before calling any API method, inspect it:
bash
undefined在调用任何API方法之前,请先查看其详情:
bash
undefinedBrowse resources and methods
浏览资源和方法
gws forms --help
gws forms --help
Inspect a method's required params, types, and defaults
查看某个方法的必填参数、类型和默认值
gws schema forms.<resource>.<method>
Use `gws schema` output to build your `--params` and `--json` flags.gws schema forms.<resource>.<method>
使用`gws schema`的输出来构建您的`--params`和`--json`标志。