rmapi-js
    Preparing search index...

    Class ItemRef

    an item at one state: its id and the hash of its index

    An edit takes the reference and fails with a HashChangedError if the item changed since; an edit that keeps the item returns its new reference. A listing, a create and Client.checkKind give a reference of the item's kind, a DocumentRef, FolderRef or TemplateRef, which the calls for that kind take. One made here has no kind.

    Hierarchy (View Summary)

    Index
    • a reference of no kind from an id and a hash, as toJSON gave them

      Parameters

      • id: string
      • hash: string

      Returns ItemRef

    hash: string

    the hash of the item's state

    id: string

    the item's id

    • whether other names the same item at the same state

      Parameters

      Returns boolean