---
title: "PollDraftsByToken (Nextcloud)"
description: "itgen_ncl_polldraftsbytoken_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/nextcloud/Spreed.Spreed.PollDraftsByToken
original: https://documentation.invantive.eu/en/datamodels/nextcloud/Spreed.Spreed.PollDraftsByToken
updated: 2026-11-10T15:26:07Z
license: https://documentation.invantive.eu/en/
---

# PollDraftsByToken: Nextcloud itgen_ncl_polldraftsbytoken_plural

`read only` `REST`

- Catalog: `Spreed`
- Schema: `Spreed`
- Label: itgen_ncl_polldraftsbytoken_plural

Get all drafted polls
Required capability: `talk-polls-drafts`

Can only retrieve data.

## Summary

Required capability: `talk-polls-drafts`

## API Source

- Endpoint: `/ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/drafts`
- Operation: `get /ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/drafts`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 328 |
| Full scan rows per minute | 366 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `apiVersion` | `` | [ ] | v1 | Values: v1. |
| `token` | `` | [x] |  |  |
| `x-nextcloud-federation` | `` | [ ] |  | Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request |

## Table Columns

The columns of the table `PollDraftsByToken` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `actorDisplayName` | `varchar2` | itgen_ncl_actordisplayname | [ ] | filters on the platform, writable, `actorDisplayName` |  |
| `actorId` | `varchar2` | itgen_ncl_actorid | [ ] | filters on the platform, writable, `actorId` |  |
| `actorType` | `varchar2` | itgen_ncl_actortype | [ ] | filters on the platform, writable, `actorType` |  |
| `id` | `int64` | itgen_ncl_id | [ ] | filters on the platform, writable, `id` |  |
| `maxVotes` | `int64` | itgen_ncl_maxvotes | [ ] | filters on the platform, writable, `maxVotes` |  |
| `question` | `varchar2` | itgen_ncl_question | [ ] | filters on the platform, writable, `question` |  |
| `resultMode` | `int64` | itgen_ncl_resultmode | [ ] | filters on the platform, writable, `resultMode` |  |
| `status` | `int64` | itgen_ncl_status | [ ] | filters on the platform, writable, `status` |  |

