static
osapi.jive.corev3.blogs
Static class for getting and creating
Blogs
. A Blog can be a personal blog
or a blog inside a place.Methods
↑
Blog Representation of the newly created blog
create(blog,options)
POST /places
Retrieves
Blog
Description
Create a new blog.
Here is an example of a JSON with the minimum set of fields you must include for creating a personal blog:
{ "name" : "My New Personal Blog", "parent" : "https://example.jiveon.com/api/core/v3/people/@me", "displayName" : "chris" }
Takes:
- Blog Description of the blog to be created.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned. |
Retrieves:
↑
Blog Representation of the newly created blog
create(blog,options)
POST /places/{uri}/contents
Retrieves
Blog
Description
Create a new blog.
Here is an example of a JSON with the minimum set of fields you must include for creating a personal blog:
{ "name" : "My New Personal Blog", "parent" : "https://example.jiveon.com/api/core/v3/people/@me", "displayName" : "chris" }
Takes:
- Blog Description of the blog to be created.
Options:
Name | Type | Required | Description |
---|---|---|---|
fields | String | false | Names of the fields to be returned. |
Retrieves:
↑
Blog[] Paginated list of matching blogs
get(options)
GET /places
Retrieves
Place[]
Description
Return a paginated list of blogs that match the specified criteria.
Options:
Name | Type | Required | Description |
---|---|---|---|
count | Integer | false | Maximum number of places to return (default is 25) |
fields | String | false | Names of the fields to be returned |
search | String | false | One or more search terms separated by commas, limiting results to places that match the terms. Wildcards can be used, e.g. to search by substring use "*someSubstring*". |
startIndex | Integer | false | Zero-relative index of the first place to be returned |
tag | String | false | Comma delimited list of tag values, limiting results to places with one of those tags |