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

Upload

PreviousDeleteAppNextBuild

Last updated 2 years ago

Upload dApp files

post

Uploading dapp screenshots | logo | banner | dApp file to the servers

Body
dappIdstringOptional

DApp Id is Key value of file in servers

fieldstring · enumOptional

It tells about the dAppFiles content

Possible values:
dAppFilesstring · binary[]Optional

Add files to upload

Responses
200
Successful operation
application/json
400
Operation failed
post
POST /dapp/upload HTTP/1.1
Host: api-a.meroku.store
Content-Type: multipart/form-data
Accept: */*
Content-Length: 56

{
  "dappId": "text",
  "field": "build",
  "dAppFiles": [
    "binary"
  ]
}
{
  "success": true,
  "data": [
    {
      "fileName": "text",
      "url": "text"
    }
  ]
}