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.
Method getThreadEntry
takes the following request arguments:
Name | Type | Required | Description |
---|---|---|---|
| Number | Yes | Entry ID. |
Method getThreadEntry
returns the following response:
Type | Description |
---|---|
JSON Object | A JSON object containing details of the requested thread entry. |
The following examples demonstrate typical use of method getThreadEntry
:
Example request to return the thread entry with thread entry ID "1":
var result = JSON.stringify(moogdb.getThreadEntry(1));
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
}