static osapi.jive.corev3.inboxEntries

Static class for getting Inbox Entries. Note that, although Inbox Entries look like activities, there is no direct way to create them through Activity Stream related APIs. Instead, the entries are created as a side effect of creating a Share or DirectMessage that includes the recipient, or being @mentioned in a content object.

Methods

get(options)
GET /inbox

Retrieves

InboxEntry[]

Description

Return the specified inbox entries for the person making this request. Includes a field unread that indicates the number of unread inbox entries. A collection of related inbox entries will count as one unread item as in the user interface. InboxEntry's contain a jive.collection field, which is part of a JiveExtension.

Options:
NameTypeRequiredDescription
afterStringfalseDate and time representing the minimum "last activity in a collection" to be returned. Cannot specify both after and before
authorStringfalseURI of a person, restricting returned entries to those authored by this person
beforeStringfalseDate and time representing the maximum "last activity in a collection" to be returned. Cannot specify both after and before
countIntegerfalseMaximum number of activities to return (default is 25).
fieldsStringfalseNames of the fields to be returned
typeStringfalseReturns entries of only the specified type(s) (legal values are dm, mention, and share, default is all)
unreadStringfalseFlag requesting return of unread entries only
getCounts()
GET /inbox/counts

Retrieves

Object

Description