static
osapi.jive.corev3.publications
Static class for getting and creating
Publications
.Methods
↑
Publication describing the newly created publication
create(publication,options)
POST /publications
Retrieves
Publication
Description
Create a new publication, and return a Publication representing the new object.
The minimum information needed to create a new publication is as follows:
{ "name" : "{name}" }
Availability:
Available to Jive admins only
Takes:
- Publication fields describing the new publication
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
↑
delete(publication)
DELETE /publications/{publicationID}
Retrieves
--
Description
Delete the specified publication.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
publicationID | String | true | URI of the publication to be deleted |
↑
Publication[]
get(options)
GET /publications
Retrieves
Publication[]
Description
Return a paginated list of publications defined in this Jive instance.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | The maximum number of publications to return (default is 25) |
fields | String | false | The names of the fields to be returned |
startIndex | Integer | false | Zero-relative index of the first publication to return (default is 0) |
Retrieves:
↑
Publication describing the specified publication
get(options)
GET /publications/{uri}
Retrieves
Publication
Description
Return the specified publication by its URI.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
uri | String | true | URI of the requested publication |
fields | String | false | Names of the fields to be returned |
Retrieves:
↑
subscribers(options)
GET /publications/{publicationID}/subscriptions/{subscriptionID}/subscribers
Retrieves
Person[]
Description
Get a list of unique users across all subscribers for a given subscription.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
publicationID | Integer | true | URI of the publication |
subscriptionID | Integer | true | URI of the subscription |
startIndex | Integer | false | Zero-relative index of the first matching publication to be returned (default value is 0) |
count | Integer | false | Maximum number of publications to be returned (default value is 25) |
fields | String | false | Fields to be returned for each publication (default value is @standard ) |
↑
update(publication,options)
PUT /publications/{publicationID}
Retrieves
Publication
Description
Update an existing publication, based on the specified information.
Availability:
Available to Jive admins only
Options:
Name | Type | Required | Description |
---|---|---|---|
publicationID | String | true | URI of the publication to be updated |
fields | String | false | Fields to be included in the response (default is @all) |