TileInstance
A Tile Instance is a component of a purposeful place associated with a Tile Definition for displaying data from external services.
{ "id" : "1004", "parent" : "https://example.jiveon.com/api/core/v3/places/1008", "state" : "STAGED", "data" : { "title" : "Key contacts", "contents" : [ { "icon" : "http://myservice.com/images/bob.png", "text" : "Bob Employee", "linkDescription" : "Google", "url" : "http://www.google.com" } ] }, "definition" : { //Tile definition JSON }, "type" : "tileInstance", "resources" : { "data" : { "allowed" : [ "PUT" ], "ref" : "https://example.jiveon.com/api/core/v3/tiles/1004/data" }, "self" : { "allowed" : [ "GET" ], "ref" : "https://example.jiveon.com/api/core/v3/tiles/1004" } }, "published" : "2013-01-17T00:20:57.341+0000", "updated" : "2013-01-21T17:40:25.249+0000" }
Fields
Field | Type | Mode † | Description |
---|---|---|---|
column | Integer | optional | The column in which this instance is going to appear in the parent. |
config | Object | optional | Configuration of this instance in JSON format. JSON format depends on the needs of each instance. When creating or updating this instance, it is possible to include an extra field forceResendRegistration of type boolean that indicates whether a registration notification should be sent to the external system or not. |
data | Object | read-only | Last data, in JSON format, that was pushed to this tile. |
definition | TileDefinition | required | The definition type this instance belongs to. |
externalId | String | optional | An external identifier assigned to this instance. This identifier can be used to access this instance instead of it's id. |
id | String | read-only | Identifier (unique within an object type and Jive instance) of this object. This field is internal to Jive. |
lastDataPush | ISO 8601 Date | read-only | Date and time of the last time data was pushed to this tile. |
lastRegister | ISO 8601 Date | read-only | Date and time of the last time a registered notification was sent to the external system that is integrating with Jive. |
parent | String | read-only | URI of the parent place of this instance. |
published | ISO 8601 Date | read-only | Date and time this object was originally created. |
publishError | PublishError | read-only | Information about the error that happened while publishing data or activity into
this tile. If no error happened in the last publish activity then this field is not
going to be present.Availability:Will be present only for community admins. Since: 3.11 |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
state | String | optional | State of this instance. Possible values are:
|
status | Object | read-only | Status of this instance when data was last published. The status is in JSON format. To set the status of this instance, the data that is pushed using updateInstanceData(data, tileInstanceID) |
updated | ISO 8601 Date | read-only | Date and time this object was most recently updated. |
viewstyle | String | read-only | Visual style to use for this tile. Possible values are:
|
followed | Boolean | read-only | Whether the current user is following this object. Availability:Will be present only for object types that support being followed. |
Resources
Resource | Method | Description |
---|---|---|
privateprops | GET | Retrieves private properties for this TileInstance |
privateprops | POST | Updates private properties for this TileInstance |
self | GET | Return an updated version of this tile instance. |