How to access that Swagger of new API.
The way how to access the Swagger of the new API is changed from before. Please refer to the screenshot below.
- [BioStar 2 address] + '/swagger/index.html'
eg,) BioStar 2 address> https://192.168.16.35:456
New BioStar 2 API Swagger> https://192.168.16.35:456/swagger/index.html
Also, there are 2 main differences between the old API Swagger and the new API.
1. Need to additional save cookie information after login.
> How to save cookie information?
If you are the success that saves the cookie, you can find the lock icon's share is changed.
* If you have the issue about 'session-id', please refer to the article below.
[BioStar 2 API] LOGIN REQUIRED error - Session is expired
2. Expanded that available features with API
Before in the old API, the API supported the restricted features of BioStar 2's AC.
But, the new API supports all of BioStar 2's AC features. For more information, please refer to the new API Swagger.
* If you are using the port 443 to connect BioStar 2, please click the below link to connect to the new API Swagger.