You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-3Lines changed: 61 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ Now use _docker compose_ to start the system (in daemon mode):
44
44
> [!NOTE]
45
45
> Initially, the property _MB_DB_INIT_ is set to _true_. Change that value to _false_ after the database was filled within the first start. The database filling takes some time. The _mb3tool_ service is responsible for that and stops after finishing that task.
46
46
47
-
The frontend can (by default) be accessed in the webbrowser at http://localhost:8080/MassBank3/.
47
+
The frontend can (by default) be accessed in the webbrowser at http://localhost:8080/MassBank/.
48
48
49
49
To stop the system use:
50
50
@@ -80,6 +80,64 @@ Description is coming soon.
80
80
81
81
# REST API
82
82
83
-
There is a [graphical interface](https://msbi.ipb-halle.de/MassBank-api/ui/)via Swagger UI to have insights into the different API endpoints and their specifications.
83
+
There is a [graphical interface](https://msbi.ipb-halle.de/MassBank-api/ui/)by means of Swagger UI to have insights into the different API endpoints and their specifications at our test instance.
84
84
85
-
Further descriptions will be available soon.
85
+
To access this on your running instance, just visit the API URL in the browser. By default it is http://localhost:8081 and is definded by the environment variable _MB3_API_URL_.
86
+
87
+
## Examples
88
+
89
+
### _/records_ Endpoint
90
+
91
+
#### InChIKey
92
+
93
+
In order to get all records from the running instance at the API URL with an InChIKey of _KWILGNNWGSNMPA-UHFFFAOYSA-N_ call the following URL:
The result is a set of MassBank record IDs (accessions) and the corresponding similarity score in JSON format. The calculation is done by the [matchms](https://github.com/matchms/matchms) package used in our [similarity service](https://github.com/MassBank/MassBank3-similarity-service).
0 commit comments