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

    Class ContentTypeSchema

    Content type schema

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

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

    Content Type Schema

    createdBy?: string

    Id of the user responsible for originally creating the content item

    createdDate?: string

    Timestamp representing when the content item was originally created in ISO 8601 format

    id?: string

    Unique id generated on creation

    lastModifiedBy?: string

    Id of the user responsible for the last update to the content item

    lastModifiedDate?: string

    Timestamp representing when the content item was last updated in ISO 8601 format

    related: {
        archive: () => Promise<ContentTypeSchema>;
        hub: () => Promise<Hub>;
        unarchive: () => Promise<ContentTypeSchema>;
        update: (mutation: ContentTypeSchema) => Promise<ContentTypeSchema>;
    } = ...

    Resources and actions related to a ContentTypeSchema

    Type declaration

    schemaId?: string

    Schema ID (URI)

    status: Status

    Lifecycle status of the content type schema

    validationLevel?: ValidationLevel

    Validation level for this content type schema

    version?: number

    Version number of the content type schema returned. This number will automatically be incremented for each update.

    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>