Function FeaturedSectionApiFactory

  • FeaturedSectionApi - factory interface

    Export

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        getFeaturedDAppsV1(storeKey?: string, featuredSectionKey?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<FeaturedSection[]>>;
        getStoreTitleV1(options?: AxiosRequestConfig): Promise<AxiosResponse<string>>;
    }

    • getFeaturedDAppsV1:function
      • Fetch featured sections of registry OR if you provide storeKey in query it will fetch featured sections from store.

        Summary

        Get Featured Sections

        Throws

        Parameters

        • Optional storeKey: string

          Unique Id of a particular store. provide only if you want to fetch feature section form a particular store.

        • Optional featuredSectionKey: string

          Unique Id of a particular featured section of the store. provide only if you want to fetch a perticular feature section of a store.

        • Optional options: AxiosRequestConfig

          Override http request option.

        Returns Promise<AxiosResponse<FeaturedSection[]>>

    • getStoreTitleV1:function
      • Returns the store title

        Summary

        Registry title

        Throws

        Parameters

        • Optional options: AxiosRequestConfig

          Override http request option.

        Returns Promise<AxiosResponse<string>>

Generated using TypeDoc