This feature may not be available on all Jive instances.
osapi.jive.corev3.contents.Event
Jive Core API entity representing an event.
Availability:
Available only when the Events plugin is installed in this Jive instance.
Example:
Example JSON
JSON with the most important data for an Event. See the table below for a list of all fields.
{ "id" : "1000", "type" : "event", "followerCount" : 0, "likeCount" : 0, "published" : "2015-09-28T20:53:00.754+0000", "tags" : [ ], "updated" : "2015-09-28T20:53:00.754+0000", "iconCss" : "jive-icon-med jive-icon-event", "contentID" : "1042", "content" : { "text" : "<body><p>This is an event.</p></body>", "editable" : false, "type" : "text/html" }, "favoriteCount" : 0, "replyCount" : 0, "status" : "published", "subject" : "eventSubject", "viewCount" : 3, "visibleToExternalContributors" : false, "parentVisible" : true, "parentContentVisible" : true, "lastActivity" : 1443473580754, "author" : { //Person JSON appears here }, "authors" : [ { //Person JSON appears here } ], "authorship" : "author", "categories" : [ ], "visibility" : "all", "location" : "place location", "phone" : "+1 888 555 5555", "email" : "event@mail.com", "url" : "http://www.example-event-jive.com", "startDate" : "2015-09-28T21:00:00.000+0000", "endDate" : "2015-09-28T22:00:00.000+0000", "eventAccess" : "open", "attachments" : [ ], "attendance" : { "response" : 1, "canAttend" : false, "cannotAttendReason" : "Event has ended", "capped" : false, "anonymous" : false, "containerAllowsAttendance" : true, "canJoinGroupToContribute" : false, "yesStatus" : 1, "noStatus" : 2, "maybeStatus" : 3, "ended" : true, "yesAttendees" : { "users" : [ ], "count" : 0, "moreAvailable" : false }, "noAttendees" : { "users" : [ ], "count" : 0, "moreAvailable" : false }, "maybeAttendees" : { "users" : [ ], "count" : 0, "moreAvailable" : false }, "unansweredInvitees" : { "users" : [ ], "count" : 0, "moreAvailable" : false } }, "banner" : { "imageURI" : "http://example.jiveon.com/api/core/v3/images/9473?a=1444695090492", "position" : "center center" }, "eventCategory" : { "id" : "2", "localizedDisplayName" : "Meeting", "name" : "Meeting", "hexColor" : "#FFFFFF" }, }
Properties
- abuseCount
- attachments
- attendance
- author
- authors
- authorship
- banner
- categories
- city
- content
- contentID
- contentImages
- contentVideos
- country
- endDate
- eventAccess
- eventAccessID
- eventCategory
- extendedAuthors
- favoriteCount
- followerCount
- highlightBody
- highlightSubject
- highlightTags
- iconCss
- id
- isFollowed
- isPromotedResult
- language
- lastActivityDate
- likeCount
- location
- maxAttendees
- outcomeTypes
- parent
- parentContent
- parentContentVisible
- parentPlace
- parentVisible
- phone
- published
- replyCount
- resources
- searchRankings
- spansMultipleDays
- startDate
- status
- street
- subject
- tags
- type
- typeCode
- updated
- url
- users
- viewCount
- visibility
- visibleToExternalContributors
Methods
Resources
Properties
Property | Type | Mode † | Description |
---|---|---|---|
abuseCount | Integer | read-only | ↑ Number of abuse reports associated with this content object. |
attachments | Attachment[] | optional | ↑ List of Attachments associated to this event. |
attendance | Object | optional | ↑ |
| Person | read-only | ↑ Author of this content object. |
| Person[] | optional | ↑ List of people who are authors on this content. Authors are allowed to edit the content. This value is used only when authorship is limited. |
| String | optional | ↑ The authorship policy for this content.
|
| ContentBanner | optional | ↑ Banner for this event. Availability:Will be present only if the content redesign feature toggle is enabled. Since: 3.14 |
categories | String[] | optional | ↑ Categories associated with this object. Places define the list of possible categories. |
city | String | optional | ↑ City of the event |
content | ContentBody | required | ↑ Content of this content object. |
contentID | String | read-only | ↑ Internal Jive ID associated with the content. |
contentImages | Image[] | read-only | ↑ A list of Image objects providing metadata about images embedded within this content. |
contentVideos | ContentVideo[] | read-only | ↑ A list of ContentVideo objects providing metadata about videos embedded within this content. |
country | String | optional | ↑ Country of the event |
email | String | optional | ↑ Event's contact email address |
endDate | ISO 8601 Date | required | ↑ End date of the event |
eventAccess | String | optional | ↑ Event visibility and attendance policy.
|
eventAccessID | Integer | optional | ↑ |
eventCategory | EventCategoryType | optional | ↑ Event type information for this event. Since: 3.14 |
extendedAuthors | Person[] | optional | ↑ List of people who have been granted authorship on this content, who would normally not have access to it. Extended authors are allowed to edit the content. This value is used only when authorship is limited. |
favoriteCount | Integer | read-only | ↑ Number of people who have bookmarked this object. Availability:Will be present only for object types that support being bookmarked. Since: 3.11 |
followerCount | Integer | read-only | ↑ Number of people following this object. Availability:Will be present only for object types that support being followed. |
highlightBody | String | read-only | ↑ Highlight snippet of a search match in the body or description. Availability:Will be present in search results only. |
highlightSubject | String | read-only | ↑ Highlight snippet of a search match in the subject or name. Availability:Will be present in search results only. |
highlightTags | String | read-only | ↑ Highlight snippet of a search match in tags. Availability:Will be present in search results only. |
iconCss | String | read-only | ↑ CSS Style to locate icon within sprite. |
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. |
isFollowed | Boolean | read-only | ↑ Whether the current user is following this object. Availability:Will be present only for object types that support being followed. |
isPromotedResult | Boolean | read-only | ↑ A boolean determining whether this search result is a promoted result Availability:Will be present in search results only. |
language | String | optional | ↑ Language code of the event locale. |
lastActivityDate | ISO 8601 Date | read-only | ↑ Date and time when this had its last activity. Since: 3.12 |
likeCount | Integer | read-only | ↑ Number of people who have liked this object. Availability:Will be present only for object types that support being liked. |
location | String | optional | ↑ Location of the event |
maxAttendees | Integer | optional | ↑ Max amount of possible attendees to the event. |
outcomeTypes | OutcomeType[] | optional | ↑ A list of valid outcome types that can be set on this piece of content |
parent | String | optional | ↑ URI of the parent place of this content object. When visibility is place then the URI points to a place (and is required on create). Otherwise, this field is not part of the returned JSON (and must not be included on create). |
parentContent | Summary | read-only | ↑ Summary information about the content object that is the parent of this object. Availability:Will be present in search results only. |
parentContentVisible | Boolean | read-only | ↑ Flag indicating that the content parent's contents are visible to the viewer. |
parentPlace | Summary | read-only | ↑ Summary information about the place that contains this object. Availability:Will be present in search results only. |
parentVisible | Boolean | read-only | ↑ Flag indicating that the content parent is visible to the viewer. |
phone | String | optional | ↑ Event's contact phone number |
published | ISO 8601 Date | read-only | ↑ Date and time when this content object was originally created. |
replyCount | Integer | read-only | ↑ Number of replies to this object. Availability:Will be present only for object types that support replies. |
resources | Object | read-only | ↑ Resource links (and related permissions for the requesting person) relevant to this object. |
searchRankings | Object | read-only | ↑ A map of search result scores including social signals. Availability:Will be present in search results only. |
spansMultipleDays | Boolean | read-only | ↑ |
startDate | ISO 8601 Date | required | ↑ Start date of the event |
status | String | read-only | ↑ Published status of this content object.
|
street | String | optional | ↑ Street of the event |
subject | String | required | ↑ Subject of this content object. |
| String[] | optional | ↑ Tags associated with this object. Availability:Will be present only for object types that support tags |
type | String | required | ↑ The object type of this object ("event"). This field is required when creating new content. |
typeCode | Integer | read-only | ↑ |
updated | ISO 8601 Date | read-only | ↑ Date and time this content object was most recently updated. |
url | String | optional | ↑ Event's contact URL |
users | Person[] | optional | ↑ The list of users that can see the content. On create or update, provide a list of Person URIs or Person entities.
On get, returns a list of Person entities. This value is used only when visibility
is people. |
viewCount | Integer | read-only | ↑ Number of times this content object has been viewed. Availability:Will be present only for objects that support view counts |
visibility | String | optional | ↑ The visibility policy for this content object. Valid values are:
|
visibleToExternalContributors | Boolean | read-only | ↑ Flag indicating that this content object is potentially visible to external contributors. |
Methods
POST /contents/1234/comments
(comment,options)Retrieves
Comment
Description
Add a comment about this content object.
The minimum JSON object needed to create a comment is:
{ "content": {"type": "text/html", "text": "<body><p>This is a new comment</p></body>"}, }
Takes:
- Comment describing the new comment
Options:
Name | Type | Required | Description |
---|---|---|---|
author | Boolean | false | Flag indicating if new comment is an author comment or a regular comment. By default a regular comment will be created. |
fields | String | false | The names of the fields to be returned |
Retrieves:
createExtProps(uriinfo,options)
POST /contents/1234/extprops
Retrieves
ExtProps[]
Description
Creates extended properties for content.
{ "any prop name": "any val", "any prop2 name": "any val" }
Availability:
Content should be editable to caller.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
createOutcome(outcome,options)
POST /contents/1234/outcomes
Retrieves
Outcome
Description
Register that the requesting person created the outcome.
Here is an example of a JSON with the minimum set of fields you must include:
{ "outcomeType": { "id": 1 } }
Availability:
Must be authenticated, must not be able to read the content, and must not have the same outcome type on this comment already
Takes:
- Outcome the outcome to be created.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned. |
Retrieves:
deleteExtProps()
DELETE /contents/1234/extprops
Retrieves
--
Description
Deletes all extended properties for content.
Availability:
Content should be editable to caller.
get(options)
GET /contents/1234
Retrieves
Event
Description
Return an updated version of this event.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getAttachments(options)
GET /attachments/contents/1234
Retrieves
Attachment[]
Description
Return a list of attachments associated to this event.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The names of the fields to be returned |
Retrieves:
getChildOutcomeTypes(options)
GET /contents/1234/childOutcomeTypes
Retrieves
OutcomeType[]
Description
Return a paginated list of possible outcomes types on the content object's children.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | The maximum number of outcome types 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 person to return (default is 0) |
Retrieves:
GET /contents/1234/comments
(options)Retrieves
Comment[]
Description
Return a paginated list of the comments about this content object.
Options:
Name | Type | Required | Description |
---|---|---|---|
outcomeType | String | false | The type name of outcomes to filter by. |
count | Integer | false | The maximum number of comments to be returned (default is 25) |
anchor | String | false | optional URI for a comment to anchor at. Specifying a anchor will try to return the page containing the anchor. If the anchor could not be found then the first page of comments will be returned. |
excludeReplies | Boolean | false | Flag indicating that replies to the direct comments about this direct message should be excluded (default is false) |
fields | String | false | The names of the fields to be returned |
hierarchical | Boolean | false | Flag indicating that comments should be returned in hierarchical order instead of chronological order (default is true) |
startIndex | Integer | false | Zero-relative index of the first comment to be returned (default is zero) |
Retrieves:
getExtProps(options)
GET /contents/1234/extprops
Retrieves
ExtProps
Description
Returns extended properties for content.
Availability:
Content should be visible to caller.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getFollowingIn(options)
GET /contents/1234/followingIn
Retrieves
Stream[]
Description
Return the list of custom streams in which the requesting person is following this event (if any).
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The names of the fields to be returned |
Retrieves:
getLikes(options)
GET /contents/1234/likes
Retrieves
Person[]
Description
Return a paginated list of people who like this event.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | The maximum number of people 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 person to return (default is 0) |
Retrieves:
This feature may not be available on all Jive instances.
getMaybeAttendees()
GET /event-type-plugin/v3/rsvp/1234/attendees/maybe
Retrieves
Object
Description
This feature may not be available on all Jive instances.
getNoAttendees()
GET /event-type-plugin/v3/rsvp/1234/attendees/no
Retrieves
Object
Description
getOutcomes(options)
GET /contents/1234/outcomes
Retrieves
Outcome[]
Description
Return a paginated list of outcomes on the content.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | The maximum number of outcomes 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 person to return (default is 0) |
Retrieves:
getOutcomeTypes(options)
GET /contents/1234/outcomeTypes
Retrieves
OutcomeType[]
Description
Return a paginated list of possible outcomes types on the content.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | The maximum number of outcome types 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 person to return (default is 0) |
Retrieves:
This feature may not be available on all Jive instances.
getUnansweredInvitees()
GET /event-type-plugin/v3/rsvp/1234/invitees
Retrieves
Object
Description
This feature may not be available on all Jive instances.
getYesAttendees()
GET /event-type-plugin/v3/rsvp/1234/attendees/yes
Retrieves
Object
Description
This feature may not be available on all Jive instances.
inviteUsers()
POST /event-type-plugin/v3/invites/event/1234
Retrieves
Object
Description
like()
POST /contents/1234/likes
Retrieves
--
Description
Register that the requesting person likes this event.
Availability:
Must be authenticated, must not be your own event, and must not have liked this event already
This feature may not be available on all Jive instances.
rsvp()
POST /event-type-plugin/v3/rsvp/1234
Retrieves
Object
Description
toURI()
Retrieves
String
Description
Retrieves:
unlike()
DELETE /contents/1234/likes
Retrieves
--
Description
Delete the like of this event by the requesting person.
Availability:
Must be authenticated, and must have liked this event already
Resources
Resource | Method | Returns | Description |
---|---|---|---|
html | GET | Object | ↑ Return the HTML representation of this event. |