invantive documentation
Invantive Support ForumsLog In / Sign Up

ThreadsByToken: Nextcloud itgen_ncl_threadsbytoken_plural

read only REST

  • Catalog: Spreed
  • Schema: Spreed
  • Label: itgen_ncl_threadsbytoken_plural

Get thread info of a single thread Required capability: threads

Can only retrieve data.

Summary

Required capability: threads

API Source

  • Endpoint: /ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/threads/{threadId}
  • Operation: get /ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/threads/{threadId}

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.
threadId `` The thread ID to get the info for
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 ThreadsByToken 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_attendee_notificationLevel int64 itgen_ncl_ocs_data_attendee_notificationlevel filters on the platform, writable, ocs.data.attendee.notificationLevel
ocs_data_first_actorDisplayName varchar2 itgen_ncl_ocs_data_first_actordisplayname filters on the platform, writable, ocs.data.first.actorDisplayName
ocs_data_first_actorId varchar2 itgen_ncl_ocs_data_first_actorid filters on the platform, writable, ocs.data.first.actorId
ocs_data_first_actorType varchar2 itgen_ncl_ocs_data_first_actortype filters on the platform, writable, ocs.data.first.actorType
ocs_data_first_deleted char itgen_ncl_ocs_data_first_deleted filters on the platform, writable, ocs.data.first.deleted
ocs_data_first_expirationTimestamp int64 itgen_ncl_ocs_data_first_expirationtimestamp filters on the platform, writable, ocs.data.first.expirationTimestamp
ocs_data_first_id int64 itgen_ncl_ocs_data_first_id filters on the platform, writable, ocs.data.first.id
ocs_data_first_isReplyable char itgen_ncl_ocs_data_first_isreplyable filters on the platform, writable, ocs.data.first.isReplyable
ocs_data_first_isThread char itgen_ncl_ocs_data_first_isthread filters on the platform, writable, ocs.data.first.isThread
ocs_data_first_lastEditActorDisplayName varchar2 itgen_ncl_ocs_data_first_lasteditactordisplayname filters on the platform, writable, ocs.data.first.lastEditActorDisplayName
ocs_data_first_lastEditActorId varchar2 itgen_ncl_ocs_data_first_lasteditactorid filters on the platform, writable, ocs.data.first.lastEditActorId
ocs_data_first_lastEditActorType varchar2 itgen_ncl_ocs_data_first_lasteditactortype filters on the platform, writable, ocs.data.first.lastEditActorType
ocs_data_first_lastEditTimestamp int64 itgen_ncl_ocs_data_first_lastedittimestamp filters on the platform, writable, ocs.data.first.lastEditTimestamp
ocs_data_first_markdown char itgen_ncl_ocs_data_first_markdown filters on the platform, writable, ocs.data.first.markdown
ocs_data_first_message varchar2 itgen_ncl_ocs_data_first_message filters on the platform, writable, ocs.data.first.message
ocs_data_first_messageParameters varchar2 itgen_ncl_ocs_data_first_messageparameters writable The JSON text of the nested object.
ocs_data_first_messageType varchar2 itgen_ncl_ocs_data_first_messagetype filters on the platform, writable, ocs.data.first.messageType
ocs_data_first_metaData_pinnedActorDisplayName varchar2 itgen_ncl_ocs_data_first_metadata_pinnedactordisplayname filters on the platform, writable, ocs.data.first.metaData.pinnedActorDisplayName Display name of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_first_metaData_pinnedActorId varchar2 itgen_ncl_ocs_data_first_metadata_pinnedactorid filters on the platform, writable, ocs.data.first.metaData.pinnedActorId Actor ID of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_first_metaData_pinnedActorType varchar2 itgen_ncl_ocs_data_first_metadata_pinnedactortype filters on the platform, writable, ocs.data.first.metaData.pinnedActorType Actor type of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_first_metaData_pinnedAt int64 itgen_ncl_ocs_data_first_metadata_pinnedat filters on the platform, writable, ocs.data.first.metaData.pinnedAt Timestamp when the message was pinned - Required capability: pinned-messages
ocs_data_first_metaData_pinnedUntil int64 itgen_ncl_ocs_data_first_metadata_pinneduntil filters on the platform, writable, ocs.data.first.metaData.pinnedUntil Timestamp until when the message is pinned. If missing the message is pinned infinitely - Required capability: pinned-messages
ocs_data_first_metaData_threadId int64 itgen_ncl_ocs_data_first_metadata_threadid filters on the platform, writable, ocs.data.first.metaData.threadId Set when a thread is created with this message. If missing, no thread creation is associated with this message
ocs_data_first_metaData_threadTitle varchar2 itgen_ncl_ocs_data_first_metadata_threadtitle filters on the platform, writable, ocs.data.first.metaData.threadTitle Set when a thread is created with this message. If missing, no thread creation is associated with this message
ocs_data_first_reactions varchar2 itgen_ncl_ocs_data_first_reactions writable The JSON text of the nested object.
ocs_data_first_referenceId varchar2 itgen_ncl_ocs_data_first_referenceid filters on the platform, writable, ocs.data.first.referenceId
ocs_data_first_silent char itgen_ncl_ocs_data_first_silent filters on the platform, writable, ocs.data.first.silent
ocs_data_first_systemMessage varchar2 itgen_ncl_ocs_data_first_systemmessage filters on the platform, writable, ocs.data.first.systemMessage
ocs_data_first_threadId int64 itgen_ncl_ocs_data_first_threadid filters on the platform, writable, ocs.data.first.threadId
ocs_data_first_threadReplies int64 itgen_ncl_ocs_data_first_threadreplies filters on the platform, writable, ocs.data.first.threadReplies
ocs_data_first_threadTitle varchar2 itgen_ncl_ocs_data_first_threadtitle filters on the platform, writable, ocs.data.first.threadTitle
ocs_data_first_timestamp int64 itgen_ncl_ocs_data_first_timestamp filters on the platform, writable, ocs.data.first.timestamp
ocs_data_first_token varchar2 itgen_ncl_ocs_data_first_token filters on the platform, writable, ocs.data.first.token
ocs_data_last_actorDisplayName varchar2 itgen_ncl_ocs_data_last_actordisplayname filters on the platform, writable, ocs.data.last.actorDisplayName
ocs_data_last_actorId varchar2 itgen_ncl_ocs_data_last_actorid filters on the platform, writable, ocs.data.last.actorId
ocs_data_last_actorType varchar2 itgen_ncl_ocs_data_last_actortype filters on the platform, writable, ocs.data.last.actorType
ocs_data_last_deleted char itgen_ncl_ocs_data_last_deleted filters on the platform, writable, ocs.data.last.deleted
ocs_data_last_expirationTimestamp int64 itgen_ncl_ocs_data_last_expirationtimestamp filters on the platform, writable, ocs.data.last.expirationTimestamp
ocs_data_last_id int64 itgen_ncl_ocs_data_last_id filters on the platform, writable, ocs.data.last.id
ocs_data_last_isReplyable char itgen_ncl_ocs_data_last_isreplyable filters on the platform, writable, ocs.data.last.isReplyable
ocs_data_last_isThread char itgen_ncl_ocs_data_last_isthread filters on the platform, writable, ocs.data.last.isThread
ocs_data_last_lastEditActorDisplayName varchar2 itgen_ncl_ocs_data_last_lasteditactordisplayname filters on the platform, writable, ocs.data.last.lastEditActorDisplayName
ocs_data_last_lastEditActorId varchar2 itgen_ncl_ocs_data_last_lasteditactorid filters on the platform, writable, ocs.data.last.lastEditActorId
ocs_data_last_lastEditActorType varchar2 itgen_ncl_ocs_data_last_lasteditactortype filters on the platform, writable, ocs.data.last.lastEditActorType
ocs_data_last_lastEditTimestamp int64 itgen_ncl_ocs_data_last_lastedittimestamp filters on the platform, writable, ocs.data.last.lastEditTimestamp
ocs_data_last_markdown char itgen_ncl_ocs_data_last_markdown filters on the platform, writable, ocs.data.last.markdown
ocs_data_last_message varchar2 itgen_ncl_ocs_data_last_message filters on the platform, writable, ocs.data.last.message
ocs_data_last_messageParameters varchar2 itgen_ncl_ocs_data_last_messageparameters writable The JSON text of the nested object.
ocs_data_last_messageType varchar2 itgen_ncl_ocs_data_last_messagetype filters on the platform, writable, ocs.data.last.messageType
ocs_data_last_metaData_pinnedActorDisplayName varchar2 itgen_ncl_ocs_data_last_metadata_pinnedactordisplayname filters on the platform, writable, ocs.data.last.metaData.pinnedActorDisplayName Display name of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_last_metaData_pinnedActorId varchar2 itgen_ncl_ocs_data_last_metadata_pinnedactorid filters on the platform, writable, ocs.data.last.metaData.pinnedActorId Actor ID of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_last_metaData_pinnedActorType varchar2 itgen_ncl_ocs_data_last_metadata_pinnedactortype filters on the platform, writable, ocs.data.last.metaData.pinnedActorType Actor type of the attendee that pinned the message - Required capability: pinned-messages
ocs_data_last_metaData_pinnedAt int64 itgen_ncl_ocs_data_last_metadata_pinnedat filters on the platform, writable, ocs.data.last.metaData.pinnedAt Timestamp when the message was pinned - Required capability: pinned-messages
ocs_data_last_metaData_pinnedUntil int64 itgen_ncl_ocs_data_last_metadata_pinneduntil filters on the platform, writable, ocs.data.last.metaData.pinnedUntil Timestamp until when the message is pinned. If missing the message is pinned infinitely - Required capability: pinned-messages
ocs_data_last_metaData_threadId int64 itgen_ncl_ocs_data_last_metadata_threadid filters on the platform, writable, ocs.data.last.metaData.threadId Set when a thread is created with this message. If missing, no thread creation is associated with this message
ocs_data_last_metaData_threadTitle varchar2 itgen_ncl_ocs_data_last_metadata_threadtitle filters on the platform, writable, ocs.data.last.metaData.threadTitle Set when a thread is created with this message. If missing, no thread creation is associated with this message
ocs_data_last_reactions varchar2 itgen_ncl_ocs_data_last_reactions writable The JSON text of the nested object.
ocs_data_last_referenceId varchar2 itgen_ncl_ocs_data_last_referenceid filters on the platform, writable, ocs.data.last.referenceId
ocs_data_last_silent char itgen_ncl_ocs_data_last_silent filters on the platform, writable, ocs.data.last.silent
ocs_data_last_systemMessage varchar2 itgen_ncl_ocs_data_last_systemmessage filters on the platform, writable, ocs.data.last.systemMessage
ocs_data_last_threadId int64 itgen_ncl_ocs_data_last_threadid filters on the platform, writable, ocs.data.last.threadId
ocs_data_last_threadReplies int64 itgen_ncl_ocs_data_last_threadreplies filters on the platform, writable, ocs.data.last.threadReplies
ocs_data_last_threadTitle varchar2 itgen_ncl_ocs_data_last_threadtitle filters on the platform, writable, ocs.data.last.threadTitle
ocs_data_last_timestamp int64 itgen_ncl_ocs_data_last_timestamp filters on the platform, writable, ocs.data.last.timestamp
ocs_data_last_token varchar2 itgen_ncl_ocs_data_last_token filters on the platform, writable, ocs.data.last.token
ocs_data_thread_id int64 itgen_ncl_ocs_data_thread_id filters on the platform, writable, ocs.data.thread.id
ocs_data_thread_lastActivity int64 itgen_ncl_ocs_data_thread_lastactivity filters on the platform, writable, ocs.data.thread.lastActivity
ocs_data_thread_lastMessageId int64 itgen_ncl_ocs_data_thread_lastmessageid filters on the platform, writable, ocs.data.thread.lastMessageId
ocs_data_thread_numReplies int64 itgen_ncl_ocs_data_thread_numreplies filters on the platform, writable, ocs.data.thread.numReplies
ocs_data_thread_roomToken varchar2 itgen_ncl_ocs_data_thread_roomtoken filters on the platform, writable, ocs.data.thread.roomToken
ocs_data_thread_title varchar2 itgen_ncl_ocs_data_thread_title filters on the platform, writable, ocs.data.thread.title
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