static
osapi.jive.corev3.interactions
Static class for creating and getting
collaborations
.Methods
↑
Collaboration describing the newly created collaboration
create(collaboration,options)
POST /collaborations/{uri}/interactions
Retrieves
Object
Description
Create a new collaboration, and return a Collaboration representing the new object. You must submit a JSON object that contains the following fields:
{ "content" : { "type" : "text/html", "text" : "{text}" }, "participants" : [ "{participantURI}", ... ] }
where:
{text}
- Text of the collaboration.{participantURI}
- Absolute or partial (/people/####) URI for a Jive person that this message will be sent to.
Takes:
- Collaboration fields describing the new collaboration
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
↑
Collaboration describing the specified collaboration
get(options)
GET /collaborations/interactions/{uri}
Retrieves
Object
Description
Return the specified collaboration by its URI.
Options:
Name | Type | Required | Description |
---|---|---|---|
uri | Integer | true | URI of the requested collaboration |
fields | String | false | Names of the fields to be returned |
Retrieves:
↑
getInteractionsByCollaboration(options)
GET /collaborations/{uri}/interactions
Retrieves
Object