dc-management-sdk-js
    Preparing search index...

    Class HierarchyParents

    Base class for all Resources

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    _links?: Map<string, HalLink>
    contentTypeUri: string

    Schema URI of the content item

    hasChildren: boolean

    Boolean to denote weather the hierarchy node has children

    id: string

    Unique id generated on creation

    label: string

    Friendly label for the content item

    parentId: string

    Unique id of the parent node

    parents: HierarchyNode[]

    List of parents of this node

    publishingStatus: string

    publishing status of the content item

    NONE - hasn't been published before

    EARLY - changes have been made since last publish

    LATEST - no changes have been made since last publish

    related: { contentItem: { get: () => Promise<ContentItem> } } = ...
    repositoryId: string

    Unique id of the repository this content item is saved within

    root: boolean

    Boolean denoting if this is the root of a hierarchy

    Methods

    • POST to an action endpoint with no resource response returned.

      Parameters

      • name: string
      • params: any
      • data: any
      • method: POST | PUT | PATCH = HttpMethod.POST

      Returns Promise<void>