DeprecatedAPIApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • DeprecatedAPIApi

Constructors

Properties

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

Methods

  • Summary

    Search DApp By Dapp Id

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Dapp>>

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

    Summary

    Upload dApp files

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

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

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2001>>

  • Summary

    Get All category with subcategories.

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse2002>>

  • Summary

    Get All rating of a dapp

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string
    • Optional page: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingResponse>>

  • Use this to get a user's rating for a dapp

    Summary

    Get User dApp Rating

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string
    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingRes>>

  • Use this to register a rating from a user for a dApp

    Summary

    Rate the dApp

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional body: DappRating

      Send the request with dApp parameters

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<DappRatingRes>>

  • Summary

    Search DApp By Dapp Id

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Dapp>>

  • Summary

    Build Download URL

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string

      Dapp Id where upload will happen

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PreSignedUrlResponse>>

  • Summary

    Download dapp Build

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string

      The dappId of dapp where to visit.

    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

  • 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

    Get dApp

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional page: number

      Current page

    • Optional limit: number

      Page size

    • 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 isListed: boolean

      DApp is listed or not

    • Optional chainId: number

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

    • Optional language: string

      DApp's language

    • Optional availableOnPlatform: string[]

      DApp is listed or not

    • Optional matureForAudience: 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 allowedInCountries: string[]

      dApp allowed countries

    • Optional blockedInCountries: string[]

      dApp blocked countries

    • Optional categories: string[][]

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

    • Optional orderBy: string

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

    • Optional subCategory: string[][]

      The sub-category in which dApps belong. Multiple sub-category are joined using OR operator.

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse200>>

  • 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

    Get dApp

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional page: number

      Current page

    • Optional limit: number

      Page size

    • 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 isListed: boolean

      DApp is listed or not

    • Optional chainId: number

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

    • Optional language: string

      DApp's language

    • Optional availableOnPlatform: string[]

      DApp is listed or not

    • Optional matureForAudience: 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 allowedInCountries: string[]

      dApp allowed countries

    • Optional blockedInCountries: string[]

      dApp blocked countries

    • Optional categories: string[][]

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

    • Optional orderBy: string

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

    • Optional subCategory: string[][]

      The sub-category in which dApps belong. Multiple sub-category are joined using OR operator.

    • Optional storeKey: string

      The name of store for which whitelisted dapps have to fetch

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<InlineResponse200>>

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

    Summary

    Get Featured Sections

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional storeKey: string

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

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<FeaturedSection[]>>

  • Get the particular store

    Summary

    Get Store

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • key: string

      unique id of a store.

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Store>>

  • Returns the store title

    Summary

    Registry title

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<string>>

  • Get the particular store

    Summary

    Get Store

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • key: string

      unique id of a store.

    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Store>>

  • Summary

    Visit dapp's homepage

    Throws

    Memberof

    DeprecatedAPIApi

    Parameters

    • dappId: string

      The dappId of dapp where to visit.

    • Optional userId: string
    • Optional userAddress: string
    • Optional options: AxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void>>

Generated using TypeDoc