static osapi.jive.corev3.interactions

Static class for creating and getting collaborations.

Methods

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:
Options:
NameTypeRequiredDescription
fieldsStringfalseNames of the fields to be returned
Retrieves:
  • Collaboration describing the newly created collaboration
  • get(options)
    GET /collaborations/interactions/{uri}

    Retrieves

    Object

    Description

    Return the specified collaboration by its URI.

    Options:
    NameTypeRequiredDescription
    uriIntegertrueURI of the requested collaboration
    fieldsStringfalseNames of the fields to be returned
    Retrieves:
  • Collaboration describing the specified collaboration
  • getInteractionsByCollaboration(options)
    GET /collaborations/{uri}/interactions

    Retrieves

    Object

    Description