DAppRegistryApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • DAppRegistryApi

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: Configuration

Methods

  • Summary

    Auto-Complete search

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • search: string
    • Optional storeKey: string

      The name of store for which whitelisted dapps have to fetch

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2008>>

  • Summary

    Get All category with subcategories.

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2002>>

  • Summary

    Search DApp By owner Address

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • ownerAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2007>>

  • Summary

    Search DApp By Dapp Id

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • dappId: string
    • Optional storeKey: string

      The name of store for which whitelisted dapps have to fetch

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2007>>

  • Uploading dapp screenshots | logo | banner | dApp file to the servers

    Summary

    Upload dApp files

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • dappId: string
    • field: string
    • dAppFiles: Blob[]
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2001>>

  • Summary

    Build Download URL

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • dappId: string

      Dapp Id where upload will happen

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PreSignedUrlResponse>>

  • Get all dApps or search by a keyword. Optionally, filter on specific attributes of the dApp. This API call will get all the dApps or perform a text search.

    Summary

    Search Dapps

    Throws

    Memberof

    DAppRegistryApi

    Parameters

    • Optional page: number

      Current page

    • Optional limit: number

      Page size

    • Optional orderBy: string

      Want to get dapp by order(asc, desc) by one or more params.

    • Optional search: string

      A string to be used for search. The search happens on the `name` and `tags` fields of the dApp. If this is not present, all dApps are returned.

    • Optional categories: string[]

      The categories in which dApps belong. Multiple categories are joined using OR operator.

    • Optional subCategories: string[]

      The sub-categories in which dApps belong. Multiple sub-categories are joined using OR operator. To get a list of sub categories for a category, use the `/dapp/categories` API.

    • Optional isListed: boolean

      DApp is listed or not

    • Optional isMinted: boolean

      DApp is listed or not

    • Optional language: string

      DApp's language

    • Optional chainId: number

      DApp supported chainId's. Only dApps belonging to this chainID will be returned.

    • Optional allowedInCountries: string[]

      dApp allowed countries

    • Optional blockedInCountries: string[]

      dApp blocked countries

    • Optional availableOnPlatform: string[]

      DApp is listed or not

    • Optional isForMatureAudience: boolean

      Mentions if the app is for all ages or only mature audience

    • Optional minAge: number

      Minimum age

    • Optional listedOnOrAfter: string

      The date dApp was listed on or after. Date should be in ISO format.

    • Optional listedOnOrBefore: string

      The date dApp was listed on or before. Date should be in ISO format.

    • Optional storeKey: string

      The name of store for which whitelisted dapps have to fetch

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2006>>

Generated using TypeDoc