static osapi.jive.corev3.statics
Static class for getting and creating
Statics. Statics are files associated
with a place.Methods
↑
Static describing the newly created static resource
create(static,options)
POST /staticsRetrieves
StaticDescription
Create metadata about a new static resource (without uploading the actual content).
The minimum information needed to create a new static resource is:
{ "filename" : "{filename}", "placeURI" : "{URI of the place this static resource is associated with}" }
Availability:
Available to place administrators only
Takes:
- JSON object describing the characteristics of the static resource to be created
Options:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Names of the fields to be returned |
Retrieves:
↑
Static describing the specified static resource
get(options)
GET /staticsRetrieves
Static[]Description
Return metadata about the specified static resource.
Availability:
Available to place administrators only
Options:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Names of the fields to be returned |
| uri | String | false | URI of the requested static resource |
Retrieves:
↑
Static describing the specified static resource
get(options)
GET /statics/{uri}Retrieves
StaticDescription
Return metadata about the specified static resource.
Availability:
Available to place administrators only
Options:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Names of the fields to be returned |
| uri | String | true | URI of the requested static resource |