Todos los endpoints

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

Requiere una clave de API.

Parámetros

Ruta

  • id string (uuid) obligatorio

Cuerpo de la petición application/json

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

Respuestas

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)

Pruébalo

Crear una clave

Se envía desde tu navegador directamente a la API, a ningún otro sitio. Con «Recordar» se queda hasta que cierres esta pestaña. Con una clave de solo lectura puedes explorar sin cambiar nada.

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

Pega una clave de API para enviar las peticiones que la necesitan.

Las peticiones con clave cuentan para las peticiones de API diarias de tu plan.