Space
A Jive community, which can also contain child communities. Suitable for housing Projects, sub-Spaces, and content.
Examples:
Example JSON
JSON including important fields and a Space's resources. See the tables below for a list of all fields and resources.
{ "type" : "space", "name" : "Water Cooler", "parent" : "https://example.jiveon.com/api/core/v3/places/1001", "displayName" : "water-cooler", "description" : "A place for topics that don't seem to fit anywhere else.", "status" : "Active", "contentTypes" : [ "documents", "files", "discussions", "polls" ], "visibleToExternalContributors" : false, "childCount" : 0, "followerCount" : 0, "viewCount" : 14, "published" : "2008-12-12T23:27:11.735+0000", "updated" : "2012-07-18T23:25:52.245+0000", "tags" : [ ], "id" : "2002", "resources" : { "contents" : { "ref" : "https://example.jiveon.com/api/core/v3/contents?filter=place(http%3A%2F%2FLT-WS-090156%3A8080%2Fapi%2Fcore%2Fv3%2Fplaces%2F1004)", "allowed" : [ "GET" ] }, "announcements" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/announcements", "allowed" : [ "GET", "POST" ] }, "self" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004", "allowed" : [ "DELETE", "GET", "PUT" ] }, "html" : { "ref" : "https://example.jiveon.com/community/water-cooler", "allowed" : [ "GET" ] }, "categories" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/categories", "allowed" : [ "GET", "POST" ] }, "places" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/places", "allowed" : [ "GET"] }, "followingIn" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/followingIn", "allowed" : [ "GET" ] }, "avatar" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/avatar", "allowed" : [ "DELETE", "GET", "POST" ] }, "activity" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/activities", "allowed" : [ "GET" ] }, "statics" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1004/statics", "allowed" : [ "POST", "GET" ] } } }
Create a Space
POST to /places creates a new space. The minimum set of fields you must include are:
{ "displayName": "my-special-space", "name": "My Special Space", "type": "space" }
Fields
Field | Type | Mode † | Description |
---|---|---|---|
childCount | Integer | read-only | Number of spaces that are direct children of this space. |
contentTypes | String[] | optional | Content types that may be included in this place. Valid values are the
plural versions of all defined content types ( |
description | String | optional | Human readable description of this place. |
displayName | String | required | Display name of this place. It must be unique among places of the same type in this Jive instance. This value is used to compose the URL for the HTML presentation of this place in the Jive user interface, so its syntax must conform to the following rules:
|
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. |
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. |
likeCount | Integer | read-only | Number of people who have liked this object. Availability:Will be present only for object types that support being liked. |
locale | String | optional | Locale string of the space. |
name | String | required | Formal name of this place. It must be unique among places of the same type in this Jive instance. |
parent | String | optional | URI of the place that contains this space. URI points at a containing |
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. |
parentPlace | Summary | read-only | Summary information about the place that contains this object. Availability:Will be present in search results only. |
published | ISO 8601 Date | read-only | Date and time when this place was originally created. |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
status | String | read-only | Visibility status of this place ("Active", "Archived", "Deleted"). |
| 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 entity ("space"). |
updated | ISO 8601 Date | read-only | Date and time this place was most recently updated. |
viewCount | Integer | read-only | Number of times this place has been viewed. Availability:Will be present only for objects that support view counts |
visibleToExternalContributors | Boolean | optional | Flag indicating that this place is potentially visible to external contributors. |
Resources
Resource | Method | Description |
---|---|---|
activity | GET | Return a paginated list of activities that have occurred within this place. Retrieves: |
announcements | POST | Create a new announcement associated with this place. An appropriate
Here is an example of a JSON with the minimum set of fields you must include: { "content": { "type": "text/html", "text": " Takes:
Retrieves: |
announcements | GET | Return a paginated list of announcements for this place. Retrieves: |
avatar | GET | Return the binary content of the avatar image for this place. |
avatar | POST | Register a new avatar image (or replace an existing one) for this place. The image will be downloaded and scaled as necessary. |
avatar | DELETE | Delete the existing avatar image for this place. |
blog | GET | Return the blog associated with this place. Retrieves: |
categories | GET | Return the categories associated with this place. Retrieves: |
categories | POST | Create a new category for this place with the specified characteristics, and return an entity describing it. The minimum information required to create a new category is: { "name": "Animals" } Takes:
Retrieves: |
contents | GET | Return the first page of a paginated list of contents that are contained in this place. |
followers | GET | Return a paginated list of the people following this place. Retrieves:Since: 3.5 |
followingIn | GET | Return the custom streams (if any) in which the requesting person is following this place. Retrieves: |
html | GET | URI of the HTML representation of this place. |
places | GET | Return the list of child places in this place. Retrieves: |
self | GET | Return an updated version of this place. Retrieves: |
self | PUT | Update the information about this place and return an updated entity. Retrieves: |
self | DELETE | Delete this place and any related content. |
statics | POST | Create a new static resource for this place with the specified characteristics, and return an entity describing it. { "filename" : "{filename of the static resource}" } A description field may optionally be included as well. Retrieves:Since: 3.1 |
statics | GET | Return the list of static resources associated with this place. Retrieves: |