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

    Class Folder

    Base class for all Resources

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _links?: Map<string, HalLink>
    id?: string
    name?: string
    related: {
        contentItems: {
            list: (options?: Pageable & Sortable) => Promise<Page<ContentItem>>;
        };
        contentRepository: () => Promise<ContentRepository>;
        folders: {
            create: (resource: Folder) => Promise<Folder>;
            list: (options?: Pageable & Sortable) => Promise<Page<Folder>>;
            parent: () => Promise<Folder>;
        };
    } = ...

    Resources and actions related to a Folder

    Type declaration

    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>