RESTAPI:Open API Documentation Endpoint: Unterschied zwischen den Versionen
Aus Cryptshare Documentation
K (Frorathm verschob die Seite RESTAPI:Open API Documentation nach RESTAPI:Open API Documentation Endpoint) |
Keine Bearbeitungszusammenfassung |
||
Zeile 6: | Zeile 6: | ||
After adding this entry in the file, please restart the Cryptshare server. | After adding this entry in the file, please restart the Cryptshare server. | ||
Based on the Cryptshare server version, the OpenAPI documentation is then available via a specific URL: | |||
* Cryptshare Server version 6.0.0 and 6.1.0: '''https://<your-url>/api/api-docs?group=cryptshare-ui-api-1''' | |||
* Cryptshare Server version 6.2.0 and newer: '''https://<your-url>/api/api-docs/cryptshare-ui-api-1''' | |||
Further details how the cryptshare.properties file has to be configured can be found in the chapter [[CSSCurrent en:Advanced Configuration|Cryptshare Server - Advanced Configuration]]. | Further details how the cryptshare.properties file has to be configured can be found in the chapter [[CSSCurrent en:Advanced Configuration|Cryptshare Server - Advanced Configuration]]. |
Aktuelle Version vom 13. Februar 2024, 12:35 Uhr
Cryptshare servers offer the possibility to generate an OpenAPI documentation. This may come in handy if the Cryptshare server is not up-to-date and this documentation only applies to the most recent Cryptshare server version.
Activate the OpenAPI endpoint
For activating the OpenAPI endpoint, the file cryptshare.properties has to be created or modified to contain the following line:
api.rest.openApiEndpoint=true
After adding this entry in the file, please restart the Cryptshare server.
Based on the Cryptshare server version, the OpenAPI documentation is then available via a specific URL:
- Cryptshare Server version 6.0.0 and 6.1.0: https://<your-url>/api/api-docs?group=cryptshare-ui-api-1
- Cryptshare Server version 6.2.0 and newer: https://<your-url>/api/api-docs/cryptshare-ui-api-1
Further details how the cryptshare.properties file has to be configured can be found in the chapter Cryptshare Server - Advanced Configuration.