This feature may not be available on all Jive instances.
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 including important fields and a Event resources. See the tables below for a list of all fields and resources.
{ "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", "name" : "Demo", "hexColor" : "#021777", "localizedDisplayName" : "Demonstration" }, "resources" : { "followingIn" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/v3/contents/1042/followingIn" }, "editHTML" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/events/1000/edit" }, "attachments" : { "allowed" : [ "GET", "POST" ], "ref" : "https://example.jiveon.com/api/core/v3/attachments/contents/1042" }, "comments" : { "allowed" : [ "GET", "POST" ], "ref" : "https://example.jiveon.com/api/core/v3/contents/1042/comments" }, "rsvps" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/rsvp/1042" }, "maybeAttendees" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/rsvp/1042/attendees/maybe" }, "yesAttendees" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/rsvp/1042/attendees/yes" }, "invitees" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/rsvp/1042/invitees" }, "invitations" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/invites/event/1042" }, "noAttendees" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/ext/event-type-plugin/v3/rsvp/1042/attendees/no" }, "self" : { "allowed" : [ "GET", "DELETE", "PUT" ], "ref" : "https://example.jiveon.com/api/core/v3/contents/1042" }, "html" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/events/1000" }, "likes" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/v3/contents/1042/likes" } } }
Fields
Field | 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 | Attendance | 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. |
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. |
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. |
followed | Boolean | read-only | Whether the current user is following this object. Availability:Will be present only for object types that support being followed. |
promotedResult | Boolean | read-only | A boolean determining whether this search result is a promoted result Availability:Will be present in search results only. |
Resources
Resource | Method | Description |
---|---|---|
attachments | GET | Return a list of attachments associated to this event. Retrieves: |
childOutcomeTypes | GET | Return a paginated list of possible outcomes types on the content object's children. Retrieves: |
comments | POST | Add a comment about this content object. The minimum JSON object needed to create a comment is: { "content": {"type": "text/html", "text": " Takes:
Retrieves: |
comments | GET | Return a paginated list of the comments about this content object. Retrieves: |
extprops | DELETE | Deletes all extended properties for content. Availability:Content should be editable to caller. |
extprops | GET | Returns extended properties for content. Availability:Content should be visible to caller. Retrieves: |
extprops | POST | Creates extended properties for content. { "any prop name": "any val", "any prop2 name": "any val" } Availability:Content should be editable to caller. Retrieves: |
followingIn | GET | Return the list of custom streams in which the requesting person is following this event (if any). Retrieves: |
html | GET | Return the HTML representation of this event. |
invitations | POST | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |
likes | POST | 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 |
likes | GET | Return a paginated list of people who like this event. Retrieves: |
maybeAttendees | GET | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |
noAttendees | GET | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |
outcomes | POST | 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:
Retrieves: |
outcomes | GET | Return a paginated list of outcomes on the content. Retrieves: |
outcomeTypes | GET | Return a paginated list of possible outcomes types on the content. Retrieves: |
rsvps | POST | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |
self | GET | Return an updated version of this event. Retrieves: |
self | PUT | Update the information about this content object. Retrieves: |
self | DELETE | Delete the event. |
invitees | GET | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |
likes | DELETE | Delete the like of this event by the requesting person. Availability:Must be authenticated, and must have liked this event already |
yesAttendees | GET | Requires ModuleWhat's this? This capability is implemented by a Jive Module. This feature may not be available on all Jive instances. |