static osapi.jive.corev3.statics

Static class for getting and creating Statics. Statics are files associated with a place.

Methods

create(static,options)
POST /statics

Retrieves

Static

Description

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:
NameTypeRequiredDescription
fieldsStringfalseNames of the fields to be returned
Retrieves:
  • Static describing the newly created static resource
  • get(options)
    GET /statics

    Retrieves

    Static[]

    Description

    Return metadata about the specified static resource.

    Availability:

    Available to place administrators only

    Options:
    NameTypeRequiredDescription
    fieldsStringfalseNames of the fields to be returned
    uriStringfalseURI of the requested static resource
    Retrieves:
  • Static describing the specified static resource
  • get(options)
    GET /statics/{uri}

    Retrieves

    Static

    Description

    Return metadata about the specified static resource.

    Availability:

    Available to place administrators only

    Options:
    NameTypeRequiredDescription
    fieldsStringfalseNames of the fields to be returned
    uriStringtrueURI of the requested static resource
    Retrieves:
  • Static describing the specified static resource