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.