Synapse REST API. Please refer to FAQs before using the API or opening a discord ticket
npm inpm start
docker build . -t syn-apidocker run -d -p 8080:8080 syn-api
- Documentation is hosted at the
/apidocendpoint for all hosted API instances. - Generating documentation locally:
npm run gendoc- Note: The
gendocscript first temporarily sets thetypeattribute forpackage.jsontocommonjsas apidoc.js is incompatible with ES6 syntax. It then generates documentation without the template (to generate themain.bundle.jsfile, which is not generated with when using the template flag), then finally uses the template to generate stylized documentation inside ofdocs/apidocand reverts thetypeattribute.
- Note: The