Category
A Category
is a way to organize content within a place. Categories have a name, tags, and a parent place.
When creating or updating content, you can specify a list of categories for that content object. An example JSON representation looks
like this:
{ "name" : "Animals", "tags" : [ ], "place" : "https://example.jiveon.com/api/core/v3/places/1116", "id" : "1002", "resources" : { "self" : { "ref" : "https://example.jiveon.com/api/core/v3/places/1116/categories/1002", "allowed" : [ "GET", "DELETE", "PUT" ] } } }
Example:
Create Category
POST to /places/{placeID}/categories creates a new category. The minimum set of fields you must include are:
{ "name": "Animals" "type": "category" }
Fields
Field | Type | Mode † | Description |
---|---|---|---|
description | String | optional | Description of the category. |
followerCount | Integer | read-only | Number of people following this object. Availability:Will be present only for object types that support being followed. |
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. |
name | String | required | Name of the category. |
place | String | read-only | URI of the place where this category belongs. |
published | ISO 8601 Date | read-only | Date and time this object was originally created. |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
| String[] | optional | Tags associated with this object. |
type | String | required | The object type for this object ("category"). This field is required when creating new content. |
updated | ISO 8601 Date | read-only | Date and time this object was most recently updated. |
Resources
Resource | Method | Description |
---|---|---|
self | GET | Return an updated version of this category. Retrieves: |
self | PUT | Update the information about this category. Retrieves: |
self | DELETE | Delete the existing category for the specified place. Only admins of the place can manage place categories. |