BioStar 2 - New API in BioStar 2.7.10

BioStar 2 - New API in BioStar 2.7.10

A new API has been released with BioStar 2.7.10.


There is the main difference from the old API server that new API does not require a separate API server installation for using API. Just install or upgrade BioStar 2.7.10 to use a new API.


* Please note that the old Local API server(v2.6.3)is compatible with BioStar 2.7.10.


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? 

  1. Success to login using the API that '[POST] /api/login'

  2. Get the cookie from the response.
  3. Click the button named 'Authorize'
  4. Save the result of cookie what you get from the response.


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.


NEW BioStar 2 API


    • Related Articles

    • BioStar 2 - API & SDK Quick Start Guide

      Links Our API and SDK manuals are available for public view in the links below:  BioStar 2 API version 2 (for BioStar 2.4 and above) BioStar 2 Device SDK  API  In order to use our API, you must use BioStar 2 and configure BioStar 2 Cloud feature.  ...
    • BioStar 2 - API and Ecosystem

      There has been an increase in demands for multiplatform as smart devices are getting popularity in the recent it market. At the same time, applications and APIs that support these smart devices are becoming more important than ever. BioStar 2, an ...
    • BioStar 2 - How to backup and Restore the Database in BioStar 2

      BioStar 2's database has gone through a few changes since it's release.  The AC database started out with the SQLite Database and in version 2.2.1, the MariaDB T&A database was released.  Starting version 2.3, both databases became Maria DB by ...
    • Biostar - how to migrate Biostar 1 to Biostar 2

      BioStar 1 Data Migration BioStar 1.x to BioStar 2.x Migration Tool allows you to migrate user data and event logs from BioStar 1.x into BioStar 2. • BioStar 1.x to BioStar 2.x Migration Tool is available on PCs with BioStar 1 and BioStar 2 installed. ...
    • BioStar 2 - How to upgrade BioStar 1 to BioStar 2

      Are you still using Biostar 1.x software? Then please upgrade it to Biostar 2.  Biostar 1 is not supported anymore since July 2021. Below a description of how to do this. 1.      Please always upgrade to BioStar 1.93 before migrating to BioStar 2. ...