The WebAPI of Mentix supports both importing and exporting of mesh data via an HTTP endpoint. Both the im- and exporter are configured separately.
The WebAPI importer receives a single plain Mentix site through an HTTP
POST request; service types are currently not supported.
The importer supports two actions that must be passed in the URL:
Currently, the following actions are supported:
register: Registers a new site
unregister: Unregisters an existing site
For all actions, the site data must be sent as JSON data. If the call succeeded, status 200 is returned.
The endpoint where the mesh data can be sent to.
[http.services.mentix.importers.webapi] endpoint = "/data"
A list of all enabled connectors for the importer. Must always be provided.
[http.services.mentix.importers.webapi] enabled_connectors = ["localfile"]
The WebAPI exporter exposes the plain Mentix data via an HTTP endpoint.
The endpoint where the mesh data can be queried.
[http.services.mentix.exporters.webapi] endpoint = "/data"
A list of all enabled connectors for the exporter.
[http.services.mentix.exporters.webapi] enabled_connectors = ["gocdb"]