Store
Get the particular store
Query parameters
keystringRequired
unique id of a store.
Responses
200
Successful operation
application/json
get
/storeGET /store?key=text 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)
r488itaccessTokenstringRequiredExample: 
The JWT access token of the developer (from Github) for user to server API Calls
ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkEgithubIDstringRequiredExample: 
The GitHub ID of the developer
r488itorgstringOptional
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
/storePOST /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"
}textFor updating the existing store
Body
namestringRequiredExample: 
The name of the developer (from GitHub)
r488itaccessTokenstringRequiredExample: 
The JWT access token of the developer (from Github) for user to server API Calls
ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkEgithubIDstringRequiredExample: 
The GitHub ID of the developer
r488itorgstringOptional
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
/storePUT /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"
}textLast updated