Alle endpoints

Ontwikkelaars / 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.

Vereist een API-sleutel.

Parameters

Pad

  • id string (uuid) verplicht

Request-body application/json

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

Antwoorden

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)

Probeer het

Sleutel aanmaken

Gaat vanuit je browser rechtstreeks naar de API, nergens anders heen. Met ‘Onthouden’ blijft hij tot je dit tabblad sluit. Met een alleen-lezen-sleutel kijk je rond zonder iets te veranderen.

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

Plak een API-sleutel om verzoeken te versturen die er een nodig hebben.

Verzoeken met een sleutel tellen mee voor de dagelijkse API-verzoeken van je abonnement.