Package version:

Interface Resource

interface Resource {
    _etag: string;
    _rid: string;
    _self: string;
    _ts: number;
    id: string;
}

Properties

Properties

_etag: string

System generated property. Represents the resource etag required for optimistic concurrency control.

_rid: string

System generated property. The resource ID (_rid) is a unique identifier that is also hierarchical per the resource stack on the resource model. It is used internally for placement and navigation of the item resource.

_self: string

System generated property. The unique addressable URI for the resource.

_ts: number

System generated property. Specifies the last updated timestamp of the resource. The value is a timestamp.

id: string

Required. User settable property. Unique name that identifies the item, that is, no two items share the same ID within a database. The id must not exceed 255 characters.