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/@allRetrieves
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/timezonesRetrieves
TimeZone[]Description
Return all of the time zone metadata for this Jive instance.
Retrieves:
↑Locale[] describing the locales
getAvailableLocaleMetadata()
GET /metadata/locales/availableRetrieves
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
FieldDescription
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:
↑
getFieldMetadataValues(options)
GET /metadata/objects/{name}/{field}/valuesRetrieves
ArrayDescription
↑
Object
getObjectMetadata(options)
GET /metadata/objects/{name}Retrieves
ObjectDescription
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/objectsRetrieves
ObjectDescription
Return a mapping of object names to URIs to retrieve object metadata for all known object types.