osapi.jive.corev3.places.Project
A project
is a place for recording progress towards a specific goal. A project must have a parent place--there
are no global projects.
Projects have associated Tasks
with individual assignments and due dates. Projects can also
have CheckPoints, which are simply a date and description of a checkpoint.
An example JSON representation looks like this:
Examples:
Example JSON
JSON with the most important data for a Project. See the table below for a list of all fields.
{ "type" : "project", "name" : "Project of a Secret Group", "parent" : "https://example.jiveon.com/api/core/v3/places/1435", "displayName" : "project-of-a-secret-group", "description" : "This is a secret group", "status" : "Active", "contentTypes" : [ "blog", "documents", "files", "discussions", "polls", "projects", "tasks" ], "projectStatus" : "HIGH", "visibleToExternalContributors" : false, "viewCount" : 2, "followerCount" : 1, "creator" : { "name" : { "formatted" : "Administrator" }, "type" : "person", "displayName" : "Administrator", "id" : "1" }, "startDate" : "2012-07-02T07:00:00.000+0000", "dueDate" : "2012-09-14T06:59:59.999+0000", "published" : "2012-07-20T17:28:36.304+0000", "updated" : "2012-07-20T17:29:20.852+0000", "tags" : [ ] }
Create a Project
Read create() to learn how to create a new project.
Properties
- contentTypes
- creator
- description
- dueDate
- followerCount
- highlightBody
- highlightSubject
- highlightTags
- iconCss
- id
- isFollowed
- isPromotedResult
- likeCount
- locale
- name
- parent
- parentContent
- parentPlace
- placeID
- placeTopics
- projectStatus
- published
- resources
- searchRankings
- startDate
- status
- tags
- type
- typeCode
- updated
- viewCount
- visibleToExternalContributors
Methods
Resources
Properties
Property | Type | Mode † | Description |
---|---|---|---|
contentTypes | String[] | optional | ↑ Content types that may be included in this place. Valid values are the
plural versions of all defined content types ( |
creator | Person | read-only | ↑ Person that created this project. |
description | String | optional | ↑ Human readable description of this place. |
dueDate | ISO 8601 Date | required | ↑ Date by which this project must be completed. |
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. |
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 | read-only | ↑ 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 | required | ↑ URI of the place that contains this place (if any). 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. |
placeID | String | read-only | ↑ Internal Jive ID associated with the place. |
placeTopics | PlaceTopic[] | optional | ↑ List of place topics applied to this place |
projectStatus | String | read-only | ↑ Current status of this project with respect to its schedule. TODO - enumerate values |
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. |
searchRankings | Object | read-only | ↑ A map of search result scores including social signals. Availability:Will be present in search results only. |
startDate | ISO 8601 Date | required | ↑ Date that this project was (or will be) started. |
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 object ("project"). |
typeCode | Integer | read-only | ↑ |
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. |
Methods
createAnnouncement(announcement,options)
POST /places/1234/announcements
Retrieves
Announcement
Description
Create a new announcement associated with this place. An appropriate
parent
field will be calculated and injected automatically.
Here is an example of a JSON with the minimum set of fields you must include:
{ "content": { "type": "text/html", "text": "<body><p>Some interesting text</p></body>" }, "subject": "Free beer for everyone" }
Takes:
- Announcement describing the new announcement
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
createAvatar(options)
POST /places/1234/avatar
Retrieves
Object
Description
Register a new avatar image (or replace an existing one) for this place. The image will be downloaded and scaled as necessary.
Options:
Name | Type | Required | Description |
---|---|---|---|
uri | String | false | The URI of a JPG, PNG, or GIF formatted image |
createCategory(category,options)
POST /places/1234/categories
Retrieves
Category
Description
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:
- Category describing the new category
Options:
Name | Type | Required | Description |
---|---|---|---|
autoCategorize | String | false | Flag indicating whether existing content in this place will be categorized in this category based on matched tags |
fields | String | false | Names of the fields to be returned |
Retrieves:
createExtProps(uriinfo,options)
POST /places/1234/extprops
Retrieves
ExtProps[]
Description
Creates extended properties for a place.
{ "any prop name": "any val", "any prop2 name": "any val" }
Availability:
Place should be editable to caller.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
createStatic(static,options)
POST /places/1234/statics
Retrieves
Static
Description
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.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
Since: 3.1
createTask(task,options)
POST /places/1234/tasks
Retrieves
Task
Description
Create a new task in the specified project. The minimum information required is:
{ "subject": "Clean the carpet", "dueDate" : "2013-07-12T06:59:59.999+0000", "type": "task" }
Availability:
Available only when the specified person is allowed to create tasks in this project.
Takes:
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
Since: 3.1
deleteExtProps()
DELETE /places/1234/extprops
Retrieves
--
Description
Deletes all extended properties for a place.
Availability:
Place should be editable to caller.
destroyAvatar()
DELETE /places/1234/avatar
Retrieves
--
Description
Delete the existing avatar image for this place.
get(options)
GET /places/1234
Retrieves
Project
Description
Return an updated version of this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getActivity(options)
GET /places/1234/activities
Retrieves
Activity[]
Description
Return a paginated list of activities that have occurred within this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
after | String | false | Date and time representing the minimum timestamp for returned activities. Cannot specify both after and before |
before | String | false | Date and time representing the maximum timestamp for returned activities. Cannot specify both after and before |
count | Integer | false | Maximum number of activities to be returned |
fields | String | false | Names of the fields to be returned |
Retrieves:
getAnnouncements(options)
GET /places/1234/announcements
Retrieves
Announcement[]
Description
Return a paginated list of announcements for this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of announcements to be returned |
fields | String | false | Names of the fields to be returned |
startIndex | Integer | false | Zero-relative index of the first announcement to be returned F |
Retrieves:
getBlog(options)
GET /places/1234
Retrieves
Project
Description
Return the blog associated with this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getCategories(options)
GET /places/1234/categories
Retrieves
Category[]
Description
Return the categories associated with this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getCheckpoints(options)
GET /checkpoints/1234/
Retrieves
CheckPoint[]
Description
Return a paginated list of checkpoints for this project.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of checkpoints to be returned |
fields | String | false | Names of the fields to be returned |
startIndex | Integer | false | Zero-relative index of the first checkpoint to be returned |
Retrieves:
getContents(options)
GET /contents?filter=place(%2Fplaces%2F1234)
Retrieves
Project
Description
Return the first page of a paginated list of contents that are contained in this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
getExtProps(options)
GET /places/1234/extprops
Retrieves
ExtProps
Description
Returns extended properties for a place.
Availability:
Place should be visible to caller.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getFeaturedContent(options)
GET /places/1234/contents/featured
Retrieves
Project
Description
Return a list of featured content objects in this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
type | String | false | Comma delimited list of content object types, limiting results to objects of those types |
fields | String | false | Names of the fields to be returned |
Retrieves:
getFollowers(options)
GET /places/1234/followers
Retrieves
Person[]
Description
Return a paginated list of the people following this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Number of followers to be returned (default is 25) |
fields | String | false | Names of the fields to be returned |
startIndex | Integer | false | Zero-relative index of the first follower to be returned |
Retrieves:
Since: 3.5
getFollowingIn(options)
GET /places/1234/followingIn
Retrieves
Stream[]
Description
Return the custom streams (if any) in which the requesting person is following this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getPlaces(options)
GET /places/1234/places
Retrieves
Place[]
Description
Return the list of child places in this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getStatics(options)
GET /places/1234/statics
Retrieves
Static[]
Description
Return the list of static resources associated with this place.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
getTasks(options)
GET /places/1234/tasks
Retrieves
Task[]
Description
Return the first page of a paginated list of tasks for this project.
Availability:
Available only when the specified person is allowed to view project tasks.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of tasks to be returned |
fields | String | false | Names of the fields to be returned |
startIndex | Integer | false | Zero-relative index of the first task to be returned |
Retrieves:
Since: 3.1
setCheckpoints(checkpoint,options)
POST /checkpoints/1234
Retrieves
CheckPoint[]
Description
Replace the existing checkpoints for the specified project with the new ones, and return the updated array of checkpoints. You will need to pass a list that points to an array of checkpoints. Here we see an example of two checkpoints with their minimum set of fields:
{ "list": [ { "name": "Feature Complete", "dueDate": "2012-07-31T07: 00: 00.000+0000" }, { "name": "Code Freeze", "dueDate": "2012-09-31T07: 00: 00.000+0000" } ] }
Takes:
- CheckPoint[] reflecting the new checkpoints for this project.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned |
Retrieves:
toURI()
Retrieves
String