static osapi.jive.corev3.collaborations

Static class for creating and getting collaborations.

Methods

create(collaboration,options)
POST /collaborations

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/{uri}

    Retrieves

    Object

    Description

    Return the specified collaboration by its URI.

    Options:
    NameTypeRequiredDescription
    uriStringtrueURI of the requested collaboratione
    fieldsStringfalseNames of the fields to be returned
    Retrieves:
  • Collaboration describing the specified collaboration
  • getInteraction(options)
    GET /collaborations/interactions/{interactionID}

    Retrieves

    Object

    Description

    participants(collaboration,options)
    POST /collaborations/{collabID}/participants

    Retrieves

    Object

    Description

    put(collaboration,options)
    PUT /collaborations/{collabID}

    Retrieves

    Object

    Description

    put(collaboration,options)
    PUT /collaborations/ext/{collabID}

    Retrieves

    Object

    Description

    subject(collaboration,options)
    POST /collaborations/{collabID}/subject

    Retrieves

    Object

    Description