Resource

Definition of an individual resource (and accessed with a specified verb) that may be returned for an owning object type.

Fields

FieldTypeMode Description
availabilityStringread-only

Comments regarding when this resource will be present in an object representation.

descriptionStringread-only

Description of this resource.

exampleStringread-only

A usage example for this resource and verb combination.

hasBodyBooleanread-only

Flag indicating that this resource expects body content to be passed when it is called.

jsMethodStringread-only

The name of the JavaScript method to create in the JavaScript API to interact with the specified resource URI using the specified verb. Required only if the normal inference rules result in an undesired method name.

nameStringread-only

The name of this resource. This name will be the key in the resources field of an object's JSON representation.

pathStringread-only

A URL, provided as an example, to the REST endpoint that serves this resource.

sinceStringread-only

Comments about the first version of the API in which this resource became available.

unpublishedBooleanread-only

Flag indicating that this resource is present for internal use only, and should not be considered to be generally available or documented.

verbStringread-only

The HTTP verb that will be used to interact with the URI of this resource by the generated JavaScript method.

→ Fields used by update and create operations
→ Fields used only by create operations
→ Fields not used by update or create operations