Store
Get the particular store
Query parameters
keystringRequired
unique id of a store.
Responses
200
Successful operation
application/json
get
GET /store HTTP/1.1
Host: api-a.meroku.store
Accept: */*
200
Successful operation
{
"githubId": "reeshi",
"featuredSections": {
"title": "Our Curated list",
"description": "This is a curated list of dApps that we think you will like. Our curators have used these dApps and found them worthy of your attention.",
"key": "curated-list-1",
"dappIds": [
"example.store.dapp"
]
},
"key": "example.dappstore",
"bannedDAppIds": "example.store.dapp"
}
Adding a new store
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_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE
githubIDstringRequiredExample:
The GitHub ID of the developer
r488it
orgstringOptional
The GitHub organization to fork the repo to.
Responses
200
Successful operation
application/json
Responsestring
400
Invalid ID supplied
404
DApp not found
405
Validation exception
post
POST /store HTTP/1.1
Host: api-a.meroku.store
Content-Type: application/json
Accept: */*
Content-Length: 482
{
"name": "r488it",
"email": "[email protected]",
"accessToken": "ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE",
"githubID": "r488it",
"store": {
"githubId": "reeshi",
"featuredSections": {
"title": "Our Curated list",
"description": "This is a curated list of dApps that we think you will like. Our curators have used these dApps and found them worthy of your attention.",
"key": "curated-list-1",
"dappIds": [
"example.store.dapp"
]
},
"key": "example.dappstore",
"bannedDAppIds": "example.store.dapp"
},
"org": "text"
}
text
For updating the existing store
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_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE
githubIDstringRequiredExample:
The GitHub ID of the developer
r488it
orgstringOptional
The GitHub organization to fork the repo to.
Responses
200
successful operation
application/json
Responsestring
400
Invalid ID supplied
404
DApp not found
405
Validation exception
put
PUT /store HTTP/1.1
Host: api-a.meroku.store
Content-Type: application/json
Accept: */*
Content-Length: 482
{
"name": "r488it",
"email": "[email protected]",
"accessToken": "ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE",
"githubID": "r488it",
"store": {
"githubId": "reeshi",
"featuredSections": {
"title": "Our Curated list",
"description": "This is a curated list of dApps that we think you will like. Our curators have used these dApps and found them worthy of your attention.",
"key": "curated-list-1",
"dappIds": [
"example.store.dapp"
]
},
"key": "example.dappstore",
"bannedDAppIds": "example.store.dapp"
},
"org": "text"
}
text
Last updated