Static
A static resource that is associated with a place (blog, group, project, or space). Only administrators of a place can manipulate the metadata about static resources. However, the resources are publicly accessible. An example JSON representation is:
Example:
Example JSON
JSON including important fields and a Static's resources. See the tables below for a list of all fields and resources.
{ "type" : "static", "filename" : "mypicture.png", "id" : "1000", "resources" : { "self" : { "ref" : "https://example.jiveon.com/api/core/v3/statics/1000", "allowed" : [ "GET", "PUT", "DELETE" ] }, "html" : { "ref" : "/resources/statics/1011/mypicture.png", "allowed" : [ "GET" ] } }, "author" : { // Person JSON appears here }, "place" : { // Parent Place's JSON appears here } }
Since: 3.1
Fields
Field | Type | Mode † | Description |
---|---|---|---|
| Person | read-only | Person that most recently uploaded this static resource. |
description | String | optional | Description of this static resource. |
filename | String | required | Filename of this static resource (must be unique within static resources for a particular place). |
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. |
place | Place | read-only | Place (blog, group, project, or space) that this static resource is associated with. |
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. |
type | String | read-only | The object type of this object ("static"). |
updated | ISO 8601 Date | read-only | Date and time this object was most recently updated. |
Resources
Resource | Method | Description |
---|---|---|
html | GET | URI of the HTML representation of this static resource. This URI is suitable for embedding in HTML content that wishes to refer to this resource. |
self | GET | Return an updated version of this static resource. Availability:Available to place administrators only |
self | PUT | Update the metadata about this static resource. Availability:Available to place administrators only |
self | DELETE | Delete this static resource. Availability:Available to place administrators and Jive administrators only |