Store

Get Store

get

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"
}

Add store

post

Adding a new store

Body
namestringRequired

The name of the developer (from GitHub)

Example: r488it
emailstringRequired

The email of the developer (from Github)

Example: [email protected]
accessTokenstringRequired

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

Example: ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE
githubIDstringRequired

The GitHub ID of the developer

Example: r488it
orgstringOptional

The GitHub organization to fork the repo to.

Responses
200
Successful operation
application/json
Responsestring
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

Update store

put

For updating the existing store

Body
namestringRequired

The name of the developer (from GitHub)

Example: r488it
emailstringRequired

The email of the developer (from Github)

Example: [email protected]
accessTokenstringRequired

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

Example: ghu_clhzH0E07dPHKLCxnIC3okyITV0BVk18XwkE
githubIDstringRequired

The GitHub ID of the developer

Example: r488it
orgstringOptional

The GitHub organization to fork the repo to.

Responses
200
successful operation
application/json
Responsestring
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