ItemUpdateApi - functional programming interface

  • Parameters

    Returns {
        getMetadataEditorInfo(
            itemId: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<MetadataEditorInfo>,
        >;
        updateItem(
            itemId: string,
            baseItemDto: BaseItemDto,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        updateItemContentType(
            itemId: string,
            contentType?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
    }

    • getMetadataEditorInfo:function
      • Parameters

        • itemId: string

          The item id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<MetadataEditorInfo>,
        >

    • updateItem:function
      • Parameters

        • itemId: string

          The item id.

        • baseItemDto: BaseItemDto

          The new item properties.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>

    • updateItemContentType:function
      • Parameters

        • itemId: string

          The item id.

        • OptionalcontentType: string

          The content type of the item.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>