Upload

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

Last updated