getThreadEntry

A MoogDb v2 method that returns a thread entry specified using thread entry ID. Threads are comments or 'story activity' on Situations.

Back to MoogDb V2 API Method Reference.

Request arguments

Method getThreadEntry takes the following request arguments:

Name

Type

Required

Description

entry_id

Number

Yes

Entry ID.

Response

Method getThreadEntry returns the following response:

Type

Description

JSON Object

A JSON object containing details of the requested thread entry.

Examples

The following examples demonstrate typical use of method getThreadEntry:

Request example

Example request to return the thread entry with thread entry ID "1":

var result = JSON.stringify(moogdb.getThreadEntry(1));

Response example

Example response returning thread entry with thread entry ID "1":

{
    "entry_id":1,
    "sig_id":1,
    "thread_id":
    "Support",
    "standard_thread":"Support",
    "status":1,
    "timed_at":1586948533,
    "uid":3,
    "did":1,
    "entry":
    "Entry Text1111",
    "mmid":-1
}