ItemUpdateApi - axios parameter creator

  • Parameters

    Returns {
        getMetadataEditorInfo: ((itemId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        updateItem: ((itemId: string, baseItemDto: BaseItemDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        updateItemContentType: ((itemId: string, contentType?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • getMetadataEditorInfo: ((itemId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets metadata editor info for an item.

        • (itemId, options?): Promise<RequestArgs>
        • Parameters

          • itemId: string

            The item id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • updateItem: ((itemId: string, baseItemDto: BaseItemDto, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Updates an item.

        • (itemId, baseItemDto, options?): Promise<RequestArgs>
        • Parameters

          • itemId: string

            The item id.

          • baseItemDto: BaseItemDto

            The new item properties.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • updateItemContentType: ((itemId: string, contentType?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Updates an item's content type.

        • (itemId, contentType?, options?): Promise<RequestArgs>
        • Parameters

          • itemId: string

            The item id.

          • OptionalcontentType: string

            The content type of the item.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>