static
osapi.jive.corev3.metadata
Static class for getting
Metadata
about the available javascript classes,
fields, and methods. Also provides metadata about your Jive instance.Methods
↑
getAllObjectMetadata(options)
GET /metadata/objects/@all
Retrieves
Object[]
Description
Return the object metadata for all defined object types. The nested fields
and
resources
information will be omitted -- retrieve the object metadata for each
individual object type if you need that.
Since: 3.3
↑TimeZone[] describing the time zones
getAllTimeZoneMetadata()
GET /metadata/timezones
Retrieves
TimeZone[]
Description
Return all of the time zone metadata for this Jive instance.
Retrieves:
↑Locale[] describing the locales
getAvailableLocaleMetadata()
GET /metadata/locales/available
Retrieves
Locale[]
Description
Return a list of all locales that are available (whether or not they have specific translations).
Retrieves:
↑
Object
getFieldMetadata(options)
GET /metadata/objects/{name}/{field}
Retrieves
Field
Description
Return the field metadata for the specified field of the specified object type.
Options:
Name | Type | Required | Description |
---|---|---|---|
name | String | true | The name of the object type for which to return metadata |
field | String | true | The name of the field for which to return metadata |
Retrieves:
↑
Object
getObjectMetadata(options)
GET /metadata/objects/{name}
Retrieves
Object
Description
Return the object metadata for the specified object type.
Options:
Name | Type | Required | Description |
---|---|---|---|
name | String | true | The name of the object type for which to return metadata |
Retrieves:
↑Map with key = object name and value = URI
getObjectTypes()
GET /metadata/objects
Retrieves
Object
Description
Return a mapping of object names to URIs to retrieve object metadata for all known object types.