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. Store

BannedDapps

PreviousDeleteStoreNextDapp

Last updated 2 years ago

Toggle dApps in banned list of store

post

This is to toggle the dApps from a banned list. If these dapps are not listed in the banned list, they will be added. If they are already added, they will be removed.

If the section by the key does not exist, will return a HTTP 400 error.

Body
namestringRequired

The name of the developer (from GitHub)

Example: r488it
emailstringRequired

The email of the developer (from Github)

Example: example@email.com
accessTokenstringRequired

The JWT access token of the developer (from Github) for user to server API Calls

Example: ghu_cSB18uvyUKmNaC0adq3aAwIQTRY9U53RgMI
githubIDstringRequired

The GitHub ID of the developer

Example: r4881t
dappIdsstring[]RequiredExample: example.store.dapp
storeKeystringRequired

Unique Id of a particular store. provide only if you want to add dapps to feature section in the particular store.

Example: example.dappstore
Responses
200
successful operation
application/json
Responsestring
400
Invalid ID supplied
404
DApp not found
405
Validation exception
post
POST /store/bannedDapps HTTP/1.1
Host: api-a.meroku.store
Content-Type: application/json
Accept: */*
Content-Length: 185

{
  "name": "r488it",
  "email": "example@email.com",
  "accessToken": "ghu_cSB18uvyUKmNaC0adq3aAwIQTRY9U53RgMI",
  "githubID": "r4881t",
  "dappIds": [
    "example.store.dapp"
  ],
  "storeKey": "example.dappstore"
}
text