For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Swagger-Documentation

Swagger documentation.

The documentation of the API is available on /api/swagger/index.html

Example:

docker run -d --name core -p 8080:8080 datarhei/core:latest

Open: http://127.0.0.1:8080/api/swagger/index.html

To generate the API documentation from the code, use swag:

make init swagger
make run

After the first command the swagger definition can be found at docs/swagger.json or docs/swagger.yaml.

The second command will build the core binary and start it. With the default configuration, the Swagger UI is available at http://localhost:8080/api/swagger/index.html.

Public demo:

Last updated

Was this helpful?