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

    Class EditionSlot

    Class representing the EditionSlot resource. EditionSlots model what content will go into a particular Slot for a specific Edition.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _links?: Map<string, HalLink>
    content: any

    JSON body of the slot as it will be when the Edition is published

    empty?: boolean

    Whether the slot is empty or not

    id?: string

    Unique id generated on creation

    related: {
        content: (
            content: any,
            lastModifiedDate?: string,
        ) => Promise<EditionSlot>;
    } = ...

    Resources and actions related to a Slot

    Type declaration

    • content: (content: any, lastModifiedDate?: string) => Promise<EditionSlot>

      Updates this slot with new content

    slotId?: string

    Id of the slot content item

    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>