invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

PollsByToken: Nextcloud itgen_ncl_pollsbytoken_plural

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Label: itgen_ncl_pollsbytoken_plural

Get a poll

Can only retrieve data.

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}
  • Operation: get /ocs/v2.php/apps/spreed/api/{apiVersion}/poll/{token}/{pollId}

Performance Characteristics

Characteristic Value
Average access latency (ms) 305
Full scan rows per minute 18,900

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
apiVersion `` v1 Values: v1.
pollId `` ID of the poll
token ``
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 PollsByToken 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
ocs_data_numVoters int64 itgen_ncl_ocs_data_numvoters filters on the platform, writable, ocs.data.numVoters
ocs_data_votedSelf varchar2 itgen_ncl_ocs_data_votedself writable, ocs.data.votedSelf
ocs_data_votes varchar2 itgen_ncl_ocs_data_votes writable The JSON text of the nested object.
ocs_meta_itemsperpage varchar2 itgen_ncl_ocs_meta_itemsperpage filters on the platform, writable, ocs.meta.itemsperpage
ocs_meta_message varchar2 itgen_ncl_ocs_meta_message filters on the platform, writable, ocs.meta.message
ocs_meta_status varchar2 itgen_ncl_ocs_meta_status filters on the platform, writable, ocs.meta.status
ocs_meta_statuscode int64 itgen_ncl_ocs_meta_statuscode filters on the platform, writable, ocs.meta.statuscode
ocs_meta_totalitems varchar2 itgen_ncl_ocs_meta_totalitems filters on the platform, writable, ocs.meta.totalitems