Webigail
    Preparing search index...

    Interface IZRestfulUpdate<T>

    A restful service that can update resources.

    interface IZRestfulUpdate<T> {
        update(identification: string, fields: Partial<T>): Promise<T>;
    }

    Type Parameters

    • T

      The type of resource being updated.

    Hierarchy (View Summary)

    Index

    Methods

    Methods

    • Partially updates an existing resource entity.

      This uses the PATCH verb.

      Parameters

      • identification: string

        The identification of the resource to update.

      • fields: Partial<T>

        The partial fields to update.

      Returns Promise<T>

      The resource that was updated.