Open API specs for Meroku DApp store. This documentation is the guide to Backend API. These APIs are required to build the frontend.
The endpoints themselves are public. The CORS policy restricts browser usage beyond
*.meroku.store. This means that you can use these APIs in your backend services, but if called directly from frontend, it has to be hosted at *.meroku.store.
GETcalls are public without rate limiting.
DELETEcalls ensure that only the dApp developer can make changes to their own dApp listing. This is done by sending the Github (user - server) token in these API calls. The mechanism to get the Github access tokens is up to the frontend to decide. They can for example create a Github App or use a service like Auth0.
Use the /paths/app-ghID--installed/get to check if the required github app is installed on the account. If not, then get the URL from /paths/app-installUrl/get and visit the URL to install the app.
In this server, you will be able to see your github details on the top left. You can use those details to enter values in the update calls.
- 1.I am getting a
400 Resource not accessible by integrationerror on update calls. This can happen when the github token supplied does not have valid permissions. Ensure that you are not sending
orgparam. Right now, the fork can only happen on individual and not at org level.
- 2.I am getting a
400 Not Founderror on update calls. Ensure that you are passing the correct github ID or the user who wants to make the update.
- 3.I am getting
400 Bad Credentials. This can happen when the github token supplied is invalid. Ensure that you are sending the correct token. If the token is correct, then try signing out and signing in.