API Docs
DocsGithubSupportMeroku Protocol
  • About
  • API reference
    • Dapp
      • DeleteApp
      • Upload
      • Build
      • Rate
      • SearchById
      • Categories
    • Store
      • Featured
        • Dapps
      • DeleteStore
      • BannedDapps
      • Dapp
      • Title
        • /
    • App
      • Installed
      • InstallUrl
    • O
      • View
      • Download
    • Domainverification
      • GetVerificationId
      • Verify
    • Api
      • V1
        • Dapp
          • Search
          • Autocomplete
  • Specification
  • SDK
    • NodeJS
  • ../Meroku Docs
Powered by GitBook
On this page
  1. API reference
  2. Dapp

Rate

PreviousBuildNextSearchById

Last updated 2 years ago

  • GETGet User dApp Rating
  • POSTRate the dApp

Get User dApp Rating

get

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

Query parameters
dappIdstringRequired
userIdstringOptional
userAddressstringOptional
Responses
200
Successful Operation
application/json
get
GET /dapp/rate HTTP/1.1
Host: api-a.meroku.store
Accept: */*
200

Successful Operation

{
  "status": 1,
  "id": "text",
  "dappId": "text",
  "rating": 1,
  "comment": "text",
  "userId": "text",
  "userAddress": "text",
  "version": "text"
}

Rate the dApp

post

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

Body
dappIdstringRequired
ratingnumberRequired
commentstringOptional
userIdstringOptional
userAddressstringOptional
versionstringOptional
Responses
200
successful operation
application/json
post
POST /dapp/rate HTTP/1.1
Host: api-a.meroku.store
Content-Type: application/json
Accept: */*
Content-Length: 99

{
  "dappId": "text",
  "rating": 1,
  "comment": "text",
  "userId": "text",
  "userAddress": "text",
  "version": "text"
}
200

successful operation

{
  "status": 1,
  "id": "text",
  "dappId": "text",
  "rating": 1,
  "comment": "text",
  "userId": "text",
  "userAddress": "text",
  "version": "text"
}