すべてのエンドポイント

開発者向け / StrawPoll API / Themes

Create a theme

POST/themes

workspaceId shares the theme with a workspace you own or administer; it then belongs to the workspace's owner. A logo and custom CSS need a plan that includes them.

APIキーが必要です。

リクエストボディ application/json

  • name string 必須 max. 255
  • workspaceId string (uuid) | null
  • properties ThemeProperties

レスポンス

The theme.

  • id string (uuid)
  • userId string (uuid) | null

    The owner; null for StrawPoll's own themes.

  • workspaceId string (uuid) | null

    Set when the theme is shared with a workspace.

  • name string | null
  • properties ThemeProperties
  • createdAt string (date-time)

試してみる

キーを作成

ブラウザからAPIへ直接送られ、ほかには送られません。「記憶する」をオンにすると、このタブを閉じるまで保持されます。 読み取り専用キーなら、何も変更せずに試せます。

POST https://new.strawpoll.com/api/v4/themes

キーが必要なリクエストを送るには、APIキーを貼り付けてください。

キーを使ったリクエストは、プランの1日あたりのAPIリクエスト数に含まれます。