Place
Place Service
Web service endpoints for functionality that is common to all places. The standard place types (and corresponding entities) are:
blog
(Blog) - a blog, associated with this place, in which people can create posts related to activity that is coordinated in this place.group
(Group) - a social group, with defined members, typically focused on a particular topic.project
(Project) - a project (with associated tasks) to track progress towards particular goals.space
(Space) - a formally defined (typically around departmental or topical hierarchies) location for communication about a particular topic.
See Place Use Cases for usage examples.
Jump to
- Create Content
- Upload New Content
- Create Ext Props
- Create Ext Props For Addon
- Create Place
- Create Place Announcement
- Create Place Avatar
- Create Place Category
- Create Place Static with Data
- Upload New Place Static Data
- Create Place Task
- Destroy Ext Props
- Destroy Ext Props For Addon
- Destroy Place
- Destroy Place Avatar
- Destroy Place Category
- Get Activity
- Get Applied Entitlements
- Get Content
- Get Ext Props
- Get Ext Props For Add On
- Get Featured Content
- Get Pages
- Get Place
- Get Place Announcements
- Get Place Avatar
- Get Place Categories
- Get Place Category
- Get Place Followers
- Get Place Following In
- Get Place Permissions
- Get Place Places
- Get Places
- Get Place Settings
- Get Place Statics
- Get Place Suggested Places
- Get Place Tasks
- Get Recommended Places
- Get Root Space
- Get Suggested Places
- Get Trending Places
- Create Place Following In
- Update Place
- Update Place Category
- Update Place Settings
Create Content
POST /places/{placeID}/contents
Create a new content object with specified characteristics, and return an entity representing the newly created content object.
For those types of content that support attachments, it is possible to specify URL of files that the server will download and store them as attachments of the new content. A BAD_REQUEST error will be returned if URL of files are passed and the content type does not support attachments. Here we can see an example where attachments are specified as URLs.
{ "content":{ "type":"text/html", "text":"<body><p>Some interesting text</p></body>" }, "subject":"New Document", "type":"document", "attachments":[ { "doUpload":true, "url":"http://www.mysite.com/images/cat.jpg" } ] }
Attachments can only be images when creating Update. Those images will be accessible through the images resource of an Update.
The following rules define which fields in the incoming JSON entity are processed:
- For all content object types, the following fields are processed:
author
,content
,parent
,status
,subject
,tags
,type
. - For all content object types, the
content
andsubject
fields are required. Furthermore,subject
must be unique within the parent place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
published | String | false | Date and time when this content object was originally created. Set 'updated' param as well. Only set this field when importing content. Since 3.6. |
updated | String | false | Date and time when this content object was most recently updated. Set 'published' param as well. Only set this field when importing content. Since 3.6. |
fields | String | false | The fields to include in the returned entity |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed |
409 (Conflict) | The new entity would conflict with system restrictions (such as two contents of the same type with the same name) |
403 (Forbidden) | You are not allowed to access the specified content |
Upload New Content
POST /places/{placeID}/contents
Create a new content object with specified characteristics, and return an entity representing the newly created content object. Uploaded files will be added to the new content object as attachments. Uploading attachments is only allowed for those content types that support attachments. A BAD_REQUEST error will be returned if attachments are passed and the content type does not support them.
The following rules define which fields in the incoming JSON entity are processed:
- For all content object types, the following fields are processed:
author
,content
,parent
,status
,subject
,tags
,type
. - For all content object types, the
author
,content
,parent
, andsubject
fields are required, and must be unique within the parent place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
published | String | false | Date and time when this content object was originally created. Set 'updated' param as well. Only set this field when importing content. Since 3.6. |
updated | String | false | Date and time when this content object was most recently updated. Set 'published' param as well. Only set this field when importing content. Since 3.6. |
fields | String | false | The fields to include in the returned entity |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed |
409 (Conflict) | The new entity would conflict with system restrictions (such as two contents of the same type with the same name) |
403 (Forbidden) | You are not allowed to access the specified content |
Create Ext Props
POST /places/{placeID}/extprops
Save a new set of extended properties for a place with specified characteristics, and return an entity representing the newly created extended properties.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, the properties being created on the target place will be those associated with the consumer of the oAuth token.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to create a extended properties |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed or max number of extended properties has been reached |
403 (Forbidden) | You are not allowed to manage extended properties for the place |
Create Ext Props For Addon
POST /places/{placeID}/extprops/addOn/{addonUUID}
For the specified addon, save a new set of extended properties for a place with specified characteristics, and return an entity representing the newly created extended properties.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, this service will validate that the consumer of the oAuth token can access the specified add-on.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to create a extended properties |
addonUUID | String | true | UUID of the addon for which the properties are created. |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed or max number of extended properties has been reached |
403 (Forbidden) | You are not allowed to manage extended properties for the place |
Since: 3.9
Create Place
POST /places
Create a new place with specified characteristics, and return an entity representing the newly created place.
The following rules define which fields in the incoming JSON entity are processed:
- For all place types, the following fields are processed:
contentTypes
,description
,displayName
,name
,parent
,tags
. - For all place types, the
displayName
andname
fields are required, and must be unique within the parent place. - If the
parent
field is not included, the root space will be the default parent of the new place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
published | String | false | Date and time when this place was originally created. Set 'updated' param as well. Only set this field when importing content. Since 3.6. |
updated | String | false | Date and time when this place was most recently updated. Set 'published' param as well. Only set this field when importing content. Since 3.6. |
fields | String | false | Fields to include in the returned entity |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed |
409 (Conflict) | The new entity would conflict with system restrictions (such as two places of the same type with the same name) |
403 (Forbidden) | You are not allowed to access the specified place |
Create Place Announcement
POST /places/{placeID}/announcements
Create a new announcement associated with this place. An appropriate parent
field
will be calculated and injected automatically.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to create an announcement |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to include in the returned Announcement |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is missing or malformed |
403 (Forbidden) | You are not allowed to create announcements in the specified place |
404 (Not Found) | The specified parent place cannot be found |
Create Place Avatar
POST /places/{placeID}/avatar
Register a new avatar image (or replace an existing one) from the specified URI. The image will be downloaded and scaled as necessary. Note that avatar images are not supported on blogs.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to create or replace an avatar image |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
uri | String | false | URI of a JPG, PNG, or GIF formatted image |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful, and a new image was uploaded |
204 (No Content) | Request was successful, and an existing image was replaced |
400 (Bad Request) | The specified URI is malformed |
409 (Conflict) | This place type does not support avatar images |
404 (Not Found) | The specified place or image does not exist |
Create Place Category
POST /places/{placeID}/categories
Create a new category for a place with specified characteristics, and return an entity representing the newly created category.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to create a category |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
autoCategorize | String | false | Flag indicating whether existing content of the place will be categorized under the new category |
fields | String | false | Fields to be returned (default is @all) |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | An input field is malformed or max number of categories has been reached |
409 (Conflict) | The new entity would conflict with system restrictions (such as two categories with the same name) |
403 (Forbidden) | You are not allowed to manage categories for the place |
Create Place Static with Data
POST /places/{placeID}/statics
Create and return a new static resource associated with the specified place. The minimum information needed is:
{ "filename" : "{the filename of this resource}" }
Takes:
- Static with at least a "filename" field
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
400 (Bad Request) | Input field is missing or malformed |
409 (Conflict) | Attempt to add a second resource with the same filename |
201 (Created) | Request was successful |
403 (Forbidden) | You are not allowed to manage static resources for this place |
404 (Not Found) | Specified place was not found |
Upload New Place Static Data
POST /places/{placeID}/statics
Create and return a new static resource associated with the specified place, including the specified data content. The minimum information needed in the JSON object is:
{ "filename" : "{the filename of this resource}" }
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | Input field is missing or malformed |
409 (Conflict) | Attempt to add a second resource with the same filename |
403 (Forbidden) | You are not allowed to manage static resources for this place |
404 (Not Found) | Specified place was not found |
Create Place Task
POST /places/{placeID}/tasks
Create a Task in a project.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the project for which to create a task |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to include in the returned Task |
Takes:
Return Status:
HTTP Status Code | Description |
---|---|
201 (Created) | Request was successful |
400 (Bad Request) | Any of the input fields are malformed |
409 (Conflict) | The new entity would conflict with system restrictions (such as two contents of the same type with the same name) |
403 (Forbidden) | You are not allowed to access the specified content |
Since: 3.1
Destroy Ext Props
DELETE /places/{placeID}/extprops
Delete the existing extended properties for the specified place.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, the properties being deleted from the target place will be those associated with the consumer of the oAuth token.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which the extended properties are to be deleted |
Return Status:
HTTP Status Code | Description |
---|---|
204 (No Content) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete properties |
404 (Not Found) | The specified place does not exist |
Destroy Ext Props For Addon
DELETE /places/{placeID}/extprops/addOn/{addonUUID}
For the specified add-on, delete the existing extended properties for the specified place.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, this service will validate that the consumer of the oAuth token can access the specified add-on.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which the extended properties are to be deleted |
addonUUID | String | true | UUID of the addon for which the properties are to be deleted. |
Return Status:
HTTP Status Code | Description |
---|---|
204 (No Content) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete properties |
404 (Not Found) | The specified place does not exist |
Since: 3.9
Destroy Place
DELETE /places/{placeID}
Delete the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to be deleted |
Return Status:
HTTP Status Code | Description |
---|---|
204 (No Content) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access the specified place |
404 (Not Found) | The specified place does not exist |
Destroy Place Avatar
DELETE /places/{placeID}/avatar
Delete the existing avatar image for the specified place. Note that avatar images are not supported on blogs.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which the avatar image is to be deleted |
Return Status:
HTTP Status Code | Description |
---|---|
204 (No Content) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete this image |
404 (Not Found) | The specified place or image does not exist |
Destroy Place Category
DELETE /places/{placeID}/categories/{categoryID}
Delete the existing category for the specified place. Only admins of the place can manage place categories.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which the category is to be deleted |
categoryID | String | true | ID of the category to delete |
Return Status:
HTTP Status Code | Description |
---|---|
204 (No Content) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete this image |
404 (Not Found) | The specified place or image does not exist |
Get Activity
GET /places/{placeID}/activities
Return the activity stream for the specified place.
The returned list will be empty if the place is private and the authenticated user is not a member.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to return activities |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
after | String | false | Date and time representing the minimum "last activity in a collection" timestamp for selecting activities (cannot specify both after and before) |
before | String | false | Date and time representing the maxium "last activity in a collection" timestamp for selecting activities (cannot specify both after and before) |
count | Integer | false | Maximum number of activities to return in this request (you may get more activities than this in order to get all of the activities in the last collection) |
filter | Object[] | false | Filter expression(s) used to select matching results |
fields | String | false | Fields to be included in the returned activities |
collapse | Boolean | false | Whether collapse the results such that there is only one entry per jive object |
oldestUnread | Boolean | false | Effective only when "collapse" is true. When this flag is set to true, service includes oldest unread item in collapsed list |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | The specified place ID is missing or malformed |
403 (Forbidden) | The requesting user is not allowed to retrieve activities for the specified place |
404 (Not Found) | The activities or the specified user is not found |
Get Applied Entitlements
GET /places/{placeID}/appliedEntitlements
Obtains a paginated list of applied entitlement entities for a given place id
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to resolve entitlements |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
startIndex | Integer | false | Zero-relative index at which to start results |
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be included in the returned entities |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
403 (Forbidden) | if the requesting user is not authorized to view applied entitlements |
303 (See Other) | if the requested space is inheriting permissions from another space |
Since: 3.8
Get Content
GET /places/{placeID}/contents
Return a list of featured content objects in the specified place.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
type | one or more object types of desired contained content objects (document, discussion, post, poll) separated by commas | ?filter=type(document,discussion) |
This service supports the following sort types.
Sort | Description |
---|---|
dateCreatedAsc | Sort by the date this content object was created, in ascending order |
dateCreatedDesc | Sort by the date this content object was created, in descending order. Default if none was specified. |
latestActivityAsc | Sort by the date this content object had the most recent activity, in ascending order |
latestActivityDesc | Sort by the date this content object had the most recent activity, in descending order |
titleAsc | Sort by content object subject, in ascending order |
The returned list may contain a mixture of content entities of various types. On any given content
object entity, use the type
field to determine the type of that particular content.
The returned list will be empty if the place is private and the authenticated user is not a member.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The fields to be returned on each content |
sort | String | false | The requested sort order |
startIndex | Integer | false | The zero-relative index of the first matching content to be returned |
count | Integer | false | The maximum number of contents to be returned |
fields | String | false | The fields to be returned on each content |
abridged | Boolean | false | Flag indicating that if content.text is requested, it will be abridged
(length shortened, HTML tags removed) |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
403 (Forbidden) | You are not allowed to access the specified content object |
Since: 3.2
Get Ext Props
GET /places/{placeID}/extprops
Return the specified extended properties of a place.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, the properties being fetched from the target place will be those associated with the consumer of the oAuth token.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place that is associated to the extended properties |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
404 (Not Found) | If the specified place does not exist |
Get Ext Props For Add On
GET /places/{placeID}/extprops/addOn/{addonUUID}
For the specified add-on, return the specified extended properties of a place.
This service only accepts oAuth authentication. Assuming that the oAuth token used to access this service was acquired through 2-legged oAuth, this service will validate that the consumer of the oAuth token can access the specified add-on.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place that is associated to the extended properties |
addonUUID | String | true | UUID of the addon for which the properties are to be fetched. |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
404 (Not Found) | If the specified place does not exist |
Since: 3.9
Get Featured Content
GET /places/{placeID}/contents/featured
Return a list of featured content objects in the specified place.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
type | one or more object types of desired contained content objects (document, discussion, post, poll) separated by commas | ?filter=type(document,discussion) |
The returned list may contain a mixture of content entities of various types. On any given content
object entity, use the type
field to determine the type of that particular content.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | The fields to be returned on each content |
abridged | Boolean | false | Flag indicating that if content.text is requested, it will be abridged
(length shortened, HTML tags removed) |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
403 (Forbidden) | You are not allowed to access the specified content object |
Since: 3.2
Get Pages
GET /places/{placeID}/pages
Return a list of pages related to the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to return pages |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
filter | Object[] | false | Filter criteria used to select pages |
fields | String | false | Fields to be included in returned pages |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is missing or malformed |
403 (Forbidden) | You are not allowed to access the requested pages |
Get Place
GET /places/{placeID}
Return the specified place with the specified fields.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to be returned |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access the specified place |
404 (Not Found) | The specified place does not exist |
Get Place Announcements
GET /places/{placeID}/announcements
Return a paginated list of announcements related to the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to return announcements |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
startIndex | Integer | false | Zero-relative index of the first announcement to be returned |
count | Integer | false | Maximum number of announcements to be returned |
activeOnly | Boolean | false | True if only active (non-expired) announcements should be returned |
fields | String | false | Fields to be included in returned announcements |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is missing or malformed |
403 (Forbidden) | You are not allowed to access the requested announcements |
Get Place Avatar
GET /places/{placeID}/avatar
Return the binary content of the avatar image for the specified place. Note that avatar images are not supported on blogs.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to retrieve the avatar image |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
size | String | false | Requested size ("small", "medium", "large"),default is "large" |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to retrieve this image |
404 (Not Found) | The specified place or image does not exist |
Get Place Categories
GET /places/{placeID}/categories
Return categories associated to the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to return its categories |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned (default is @all) |
Retrieves:
Get Place Category
GET /places/{placeID}/categories/{categoryID}
Return the specified category of a place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place that is associated to the category |
categoryID | String | true | ID of the category to return |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned (default is @all) |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
404 (Not Found) | If the specified category does not exist |
Get Place Followers
GET /places/{placeID}/followers
Return a paginated list of Persons about people who are following the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to check for followers |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
startIndex | Integer | false | Zero-relative index of the first instance to be returned |
count | Integer | false | Maximum number of instances to be returned (i.e. the page size) |
fields | String | false | Fields to be returned (or null for summary fields) |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | The request criteria are malformed |
403 (Forbidden) | The requesting user is not authorize to retrieve this user information |
404 (Not Found) | The specified user cannot be found |
Since: 3.5
Get Place Following In
GET /places/{placeID}/followingIn
Return the list of custom streams in which the requesting user is following this place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to check for following |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be included in the returned representation |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access this place |
404 (Not Found) | The specified place does not exist |
Get Place Permissions
GET /places/{placeID}/permissions
Return the list of content types that the user is allowed to created for the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to check for content types |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
404 (Not Found) | The specified place does not exist |
Since: 3.5
Get Place Places
GET /places/{placeID}/places
Return a paginated list of places contained within the specified place.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
search | One or more search terms, separated by commas. You must escape any of the following special characters embedded in the search terms: comma (","), backslash ("\"), left parenthesis ("("), and right parenthesis (")") by preceding them with a backslash. Wildcards can be used, e.g. to search by substring use "*someSubstring*". | ?filter=search(test,report) |
tag | one or more tags, separated by commas (matching any tag will select a place) | ?filter=tag(sales,performance) |
type | one or more object types of desired contained places (blog, project, space) separated by commas | ?filter=type(blog,project) |
This service supports the following sort types.
Sort | Description |
---|---|
dateCreatedAsc | Sort by the date this place was created, in ascending order |
dateCreatedDesc | Sort by the date this place was created, in descending order |
latestActivityAsc | Sort by the date this place had the most recent activity, in ascending order |
latestActivityDesc | Sort by the date this place had the most recent activity, in descending order |
titleAsc | Sort by place name, in ascending order |
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the parent place for which to retrieve contained places |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
startIndex | Integer | false | Zero-relative index at which to start results |
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be included in the returned entities |
filter | Object[] | false | Defined filters to apply when returning places |
sort | String | false | Requested sort order |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access this place |
404 (Not Found) | The specified place does not exist |
Get Places
GET /places
Return a paginated list of places that match the specified filter criteria.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
entityDescriptor | one or more objectType,objectID pairs (this filter is likely only useful to those developing the Jive UI itself) | ?filter=entityDescriptor(700,1234,14,2345) |
relationship |
Choose one of the following options:
|
?filter=relationship(member) or filter=relationship(following(https://example.jiveon.com/api/core/v3/people/2003)) |
search | One or more search terms, separated by commas. You must escape any of the following special characters embedded in the search terms: comma (","), backslash ("\"), left parenthesis ("("), and right parenthesis (")") by preceding them with a backslash. Wildcards can be used, e.g. to search by substring use "*someSubstring*". | ?filter=search(test,report) or ?filter=search(10\,000) |
tag | one or more tags, separated by commas (matching any tag will select a place) | ?filter=tag(sales,performance) |
type | one or more object types of desired contained places (blog, project, space) separated by commas | ?filter=type(blog,project) |
This service supports the following sort types.
Sort | Description |
---|---|
dateCreatedAsc | Sort by the date this place was created, in ascending order |
dateCreatedDesc | Sort by the date this place was created, in descending order |
latestActivityAsc | Sort by the date this place had the most recent activity, in ascending order |
latestActivityDesc | Sort by the date this place had the most recent activity, in descending order |
titleAsc | Sort by place name, in ascending order |
The returned list may contain a mixture of place entities of various types (Blog,
Group, Project, and Space). On any given place entity,
use the type
field to determine the type of that particular place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
filter | Object[] | false | Filter criteria used to select places |
sort | String | false | Requested sort order |
startIndex | Integer | false | Zero-relative index of the first matching place to be returned |
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be returned on each place |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access specific places |
Since: 3.0
Get Place Settings
GET /places/{placeID}/settings
Return settings for a specified place, which can be modified by a place admin. Currently settings for Activity and Overview tab visibility are supported.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to return its categories |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
403 (Forbidden) | You are not allowed to access the specified place |
404 (Not Found) | The specified place does not exist |
Get Place Statics
GET /places/{placeID}/statics
Return a list of the static resources associated with the specified place.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place for which to retrieve static resources. |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
403 (Forbidden) | You are not allowed to access static resources for this place |
404 (Not Found) | Specified place was not found |
Get Place Suggested Places
GET /places/{placeID}/suggested/{contentType}
Return a list of suggested places that the specified content type could be posted by the requesting person, considering the specified place to be the person's "current" place.
The returned list may contain a mixture of place entities of various types (Blog,
Group, Project, and Space). On any given place entity,
use the type
field to determine the type of that particular place.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
type | one or more object types of desired place objects (blog, group, project, space) | ?filter=type(group,project) |
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to be considered the person's "current" place |
contentType | String | true | Name of the content type being proposed to publish (document, post, etc.) |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
filter | Object[] | false | Filters on the returned places |
fields | String | false | Fields to be included in the returned entities |
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete this image |
404 (Not Found) | The specified place or image does not exist |
Get Place Tasks
GET /places/{placeID}/tasks
Return a paginated list of tasks created for the specified project.
This service supports the following sort types.
Sort | Description |
---|---|
dateCreatedAsc | Sort by the date this content object was created, in ascending order |
dateCreatedDesc | Sort by the date this content object was created, in descending order. Default if none was specified. |
latestActivityAsc | Sort by the date this content object had the most recent activity, in ascending order |
latestActivityDesc | Sort by the date this content object had the most recent activity, in descending order |
titleAsc | Sort by content object subject, in ascending order |
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the project for which to retrieve its tasks |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
startIndex | Integer | false | Zero-relative index at which to start results |
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be included in the returned entities |
sort | String | false | Requested sort order |
abridged | Boolean | false | Flag indicating that if content.text is requested, it will be abridged
(length shortened, HTML tags removed) |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
Since: 3.1
Get Recommended Places
GET /places/recommended
Return a list of recommended places. This feature is only available when Jive has enabled the recommender. Do a GET to /api/core/v3/metadata/properties/feature.recommender.enabled to figure out whether recommendation service is enabled or not.
The returned list may contain a mixture of place entities of various types (Blog,
Group, Project, and Space). On any given place entity,
use the type
field to determine the type of that particular place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be returned on each place |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
410 (Gone) | Recommendation feature is disabled |
Since: 3.1
Get Root Space
GET /places/root
Return the root space for this Jive instance.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned on the root space |
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
Get Suggested Places
GET /places/suggested/{contentType}
Return a list of suggested places that the specified content type could be posted by the requesting person, without any consideration of the person's "current" place.
The returned list may contain a mixture of place entities of various types (Blog,
Group, Project, and Space). On any given place entity,
use the type
field to determine the type of that particular place.
This service supports the following filters. Parameters, when used, should be wrapped in parentheses, and multiple values separated by commas. See the examples for clarification.
Filter | Params | Example |
---|---|---|
type | one or more object types of desired place objects (blog, group, project, space) | ?filter=type(group,project) |
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
contentType | String | true | Name of the content type being proposed to publish (document, post, etc.) |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
filter | Object[] | false | Filters on the returned places |
fields | String | false | Fields to be included in the returned entities |
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to delete this image |
404 (Not Found) | The specified place or image does not exist |
Get Trending Places
GET /places/trending
Return a list of trending places. This feature is only available when Jive has enabled the recommender. Do a GET to /api/core/v3/metadata/properties/feature.recommender.enabled to figure out whether recommendation service is enabled or not.
The returned list may contain a mixture of place entities of various types (Blog,
Group, Project, and Space). On any given place entity,
use the type
field to determine the type of that particular place.
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of places to be returned |
fields | String | false | Fields to be returned on each place |
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
410 (Gone) | Recommendation feature is disabled |
Since: 3.1
Create Place Following In
POST /places/{placeID}/followingIn
Replace the list of Streams in which the requesting user is following this place object.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place object being followed |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned on the updated list of streams |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | if any input field is malformed |
404 (Not Found) | if the specified person does not exist |
Since: 3.3
Update Place
PUT /places/{placeID}
Update an existing place with specified characteristics.
The following rules define which fields in the incoming JSON entity are processed:
- For all place types, the following fields are processed:
contentTypes
,description
,displayName
,name
,parent
,tags
. - For the processed fields, a value present in the incoming entity will cause the corresponding property on the place to be set to the new value, completely replacing any previous value for fields that are arrays or object structures.
- For the processed fields, a value not present in the incoming entity will cause the corresponding property in the place to remain unchanged.
- If the
parent
field is present, and it is different from the current parent, this place will be moved to become a child of the newly specifiedparent
.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to be updated |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
updated | String | false | Date and time when this place was most recently updated. Set 'published' param as well. Only set this field when importing content. Since 3.6. |
fields | String | false | Fields to include in the returned entity |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
400 (Bad Request) | An input field is malformed |
409 (Conflict) | The new entity would conflict with system restrictions (such as two places of the same type with the same name) |
403 (Forbidden) | You are not allowed to access the specified place, or to make the requested change in place state |
Update Place Category
PUT /places/{placeID}/categories/{categoryID}
Update an existing category with specified characteristics.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place whose category will be updated |
categoryID | String | true | ID of the category to be updated |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
autoCategorize | String | false | Flag indicating whether existing content of the place will be categorized under the new category |
fields | String | false | Fields to be returned (default is @all) |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
200 (OK) | Request was successful |
400 (Bad Request) | An input field is malformed |
404 (Not Found) | The ID of the category does not reference an existing category |
403 (Forbidden) | You are not allowed to manage categories for the place |
Update Place Settings
PUT /places/{placeID}/settings
Updates settings for a specified place. Only a place admin may do this. Currently settings for Activity and Overview tab visibility are supported.
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
placeID | String | true | ID of the place to return its categories |
Query Parameters:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Fields to be returned (default is @all) |
Takes:
Retrieves:
Return Status:
HTTP Status Code | Description |
---|---|
400 (Bad Request) | An input field is malformed |
403 (Forbidden) | You are not allowed to access the specified place, or to make the requested change in place state |
404 (Not Found) | The specified place does not exist |