CollectionApi - axios parameter creator

  • Parameters

    Returns {
        addToCollection: (
            collectionId: string,
            ids: string[],
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        createCollection: (
            name?: string,
            ids?: string[],
            parentId?: string,
            isLocked?: boolean,
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
        removeFromCollection: (
            collectionId: string,
            ids: string[],
            options?: RawAxiosRequestConfig,
        ) => Promise<RequestArgs>;
    }

    • addToCollection: (
          collectionId: string,
          ids: string[],
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>
    • createCollection: (
          name?: string,
          ids?: string[],
          parentId?: string,
          isLocked?: boolean,
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>
    • removeFromCollection: (
          collectionId: string,
          ids: string[],
          options?: RawAxiosRequestConfig,
      ) => Promise<RequestArgs>