osapi.jive.corev3.places.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 with the most important data for a Static. See the table below for a list of all fields.
{ "type" : "static", "filename" : "mypicture.png", "id" : "1000", "author" : { // Person JSON appears here }, "place" : { // Parent Place's JSON appears here } }
Since: 3.1
Resources
Properties
Property | 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"). |
typeCode | Integer | read-only | ↑ |
updated | ISO 8601 Date | read-only | ↑ Date and time this object was most recently updated. |
Methods
destroy()
DELETE /statics/1234
Retrieves
--
Description
Delete this static resource.
Availability:
Available to place administrators and Jive administrators only
Resources
Resource | Method | Returns | Description |
---|---|---|---|
html | GET | Object | ↑ 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. |