jamespot-user-api
    Preparing search index...

    Class JFileApi

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    network: Network

    Methods

    • delete file. This action is not automatic. You need to update the content associated with the deleted image with the same token

      Parameters

      • idFile: string | number

        file id

      • attrName: string

        attribute name

      • token: string

        token

      • Optionalsignal: AbortSignal

      Returns Promise<ApiWrapper<boolean, BaseMessages>>

    • delete the image associated with a content. This action is permanent. There is no two step process with a token

      Parameters

      • id: string | number

        content id

      • type: string

        content type

      • Optionaloptions: { signal?: AbortSignal }

      Returns Promise<ApiWrapper<{ id: number }, BaseMessages>>