osapi.jive.corev3.activities.Publication
A PublicationEntity represents a Publication definition within Jive. Publications are processed to generate activity streams that are "forced" upon users ("subscription streams"). A Publication contains Subscriptions, which are definitions consisting of a set of subscribers (user groups or individual users) and a set of associations (places such as spaces, social groups, blogs, or projects). Exactly one activity stream is generated for each user defined as a subscriber. This activity stream consists of all of the places for which a user is defined in the subscriber set for that subscription. Publications must have unique names. Publication names follow the same length restriction as a custom activity stream. By default, the system is limited to only allow 10 Publications and 100 Subscriptions within each publication.
Properties
Properties
Property | Type | Mode † | Description |
---|---|---|---|
| Person | read-only | ↑ A Person describing the person that created this publication. During create, this will be set automatically to the authenticated user. |
displayOrder | Integer | optional | ↑ The index of the total ordering in which an activity stream generated from this publication should be displayed. If this is not specified in a call to create a publication, it will default to the last position. If this is not specified in a call to update a publication, the value will not be modified. |
id | String | read-only | ↑ Identifier (unique within an object type and Jive instance) of this object. This field is internal to Jive and should not be confused with contentID or placeID used in URIs. |
isBeingProcessed | Boolean | read-only | ↑ The status of the processing of this publication into activity streams. After saving a publication, it may take several minutes to process all of the publications to create activity streams. During this time, any update of the publication will be rejected by the service. |
isReceiveEmails | Boolean | read-only | ↑ Defines if the streams generated from this publication should force users to receive emails. |
name | String | required | ↑ Name of this publication. Must be unique among all publications. |
published | ISO 8601 Date | read-only | ↑ Date and time this publication was originally created. |
resources | Object | read-only | ↑ Resource links (and related permissions for the requesting person) relevant to this object. |
subscribersType | String | read-only | ↑ If this publication contains a subscription including Everyone or Registered Users. This is simply a top-level flag as to the status of the underlying subscriptions, so modifying this value in update operations will not set the publication to be visible to Everyone or Registered Users groups |
subscriptions | Subscription[] | optional | ↑ A Subscription list describing the subscriptions that are in this publication. |
type | String | read-only | ↑ The object type of this object. |
typeCode | Integer | read-only | ↑ |
updated | ISO 8601 Date | read-only | ↑ Date and time this publication was most recently updated. |
Methods
destroy()
DELETE /publications/1234
Retrieves
--
Description
Delete this publication.
Availability:
Available to Jive admins only
get(options)
GET /publications/1234
Retrieves
Publication
Description
Return an updated version of this publication.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The names of the fields to be returned |
Retrieves:
toURI()
Retrieves
String
Description
Retrieves:
update(options)
PUT /publications/1234
Retrieves
Publication
Description
Update the information about this publication.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The names of the fields to be returned |