Tutti gli endpoint

Sviluppatori / StrawPoll API / Themes

Change a theme

PUT/themes/{id}

Changes the name and colors; a rename alone keeps the colors. workspaceId moves the theme into a workspace you own or administer (only to workspaces of the same owner), or with null back to its owner.

Richiede una chiave API.

Parametri

Percorso

  • id string (uuid) obbligatorio

Corpo della richiesta application/json

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

Risposte

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)

Provalo

Crea una chiave

Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» resta finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.

PUT https://new.strawpoll.com/api/v4/themes/{id}

Incolla una chiave API per inviare le richieste che ne hanno bisogno.

Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.