BannedDapps
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
namestringRequiredExample:
The name of the developer (from GitHub)
r488it
accessTokenstringRequiredExample:
The JWT access token of the developer (from Github) for user to server API Calls
ghu_cSB18uvyUKmNaC0adq3aAwIQTRY9U53RgMI
githubIDstringRequiredExample:
The GitHub ID of the developer
r4881t
dappIdsstring[]RequiredExample:
example.store.dapp
storeKeystringRequiredExample:
Unique Id of a particular store. provide only if you want to add dapps to feature section in the particular store.
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": "[email protected]",
"accessToken": "ghu_cSB18uvyUKmNaC0adq3aAwIQTRY9U53RgMI",
"githubID": "r4881t",
"dappIds": [
"example.store.dapp"
],
"storeKey": "example.dappstore"
}
text
Last updated