Changes only what you send. properties replaces all of the form's settings, like on PUT: keys you leave out go back to their defaults, so send the form's current properties with your changes. Settings take effect right away, without publishing.
APIキーが必要です。
パラメーター
パス
slugstring必須max. 20
The form's public id, as in https://strawpoll.com/r/{slug}.
リクエストボディ application/json
namestringmax. 255
Shown only to you, e.g. in the dashboard.
isOpenboolean
Close or reopen the form. Reopening drops a close date that already passed.
archivedboolean
true archives a published form, false makes an archived form published again.
customSlugstring | nullmax. 50
The form's own link, like /team-lunch (Basic plan and up). null removes it.
linkPreviewobject | null
Own title, description and image for link previews (Pro plan and up). null removes it.
joinCodeboolean | null
true gives a published form a numeric join code, null removes it.
指定できる値: truenull
propertiesFormProperties
Form-wide settings. Unknown keys are dropped, unknown values fall back to the default. A request's properties replaces the saved ones: missing keys get their defaults.
レスポンス
The updated form.
idstring (uuid)
slugstring
customSlugstring | null
The form's own link, null while the plan does not include it.
joinCodestring | null
The number the audience types to reach the form.
userIdstring (uuid) | null
workspaceIdstring (uuid) | null
namestring | null
titlestring
statusstring
deleted and blocked are set by moderation; such forms cannot be changed.
指定できる値: draftpublishedarchiveddeletedblocked
responseCountinteger
isOpenboolean
themeIdstring (uuid) | null
versionstring (uuid)
Changes on every publish or replace.
currentRoundIdstring (uuid) | null
The current round of a repeating form.
templateIdstring | null
The template the form started from.
sourcestring | null
How the form was made outside the editor.
指定できる値: apimcplinknull
propertiesFormProperties
Form-wide settings. Unknown keys are dropped, unknown values fall back to the default. A request's properties replaces the saved ones: missing keys get their defaults.