static osapi.jive.corev3.shares
Static class for getting and creating
Shares. A Share is a way to share
content or places with other users. Creating a share with the participants[] field causes the
share to appear in the inbox of each participant.Methods
↑
Share representing the created share
create(share,options)
POST /sharesRetrieves
ShareDescription
Create a new share based on the provided information. The minimum information required is as shown in the following JSON:
{ "content" : { "type" : "text/html", "text" : "{text}" }, "participants" : [ "{participantURI}", ... ], "shared" : "{sharedURI}" }
where:
{text}- Text of the share message.{participantURI}- Absolute or partial (/people/###) URI for a Jive person.{sharedURI}- Absolute or partial (/contents/###, /places/###, etc.) URI for the Jive content object or place that is being shared
Takes:
- JSON entity containing the message text, participant URIs, and URI of the shared object
Options:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Names of the fields to be returned |