What is a REST API and why should I care?
Figure 1: Setra CEMS architecture with REST API client examples.
The awareness and utilisation of APIs has exploded in recent years. Originally the domain of the software development community, these powerful interoperability enablers are now at the forefront of web, cloud-based and mobile device application development.
Although APIs have been around for decades the upsurge in their popularity and standardisation can be ascribed in large part to two major technological and cultural game-changing events.
The upshot of these developments was the rapid establishment of REST API’s as the de facto industry standard.
REST API — stands for REpresentational State Transfer and delivers data using the lightweight JSON format. The vast majority of APIs use this standard because it offers fast performance, dependability and scalability.
Standardized APIs allow for complementary software functionality to robustly interoperate within and between applications, locally or across the internet. These applications are increasingly sourced from different suppliers, each with specialized expertise and capabilities. API stores are now commonplace where collaboration and interaction between potential API consumers and API providers occurs fostering thriving API communities and solution ecosystems. Benefiting from this interface standardization and the enormous variety of services and data sources available, developers and end- users can now pick-and-choose between best-in-class solution components and easily integrate them to deliver new capabilities and business value.
A practical example. Should you require secure, standardized access to information from a cloud database populated with data from sensors and instruments in critical environments such as cleanrooms, Setra CEMS REST API is your answer. Example client application candidates include: Historians/Data Lakes, Supervisory Control and Data Acquisition Systems (SCADA), Quality Management Systems (QMS), Manufacturing Execution Systems (MES), Statistical Process Control Systems (SPC), Laboratory Information Management Systems (LIMS), Distributed Control Systems (DCS), Mobile Apps and myriad others.
As shown in Figure 1, parameters such as temperatures, relative humidity levels, differential pressures, air velocities and particulate counts (and any 3 rd -party data sources from analog, Modbus & BACnet communications) can be aggregated and sent through the Setra Edge gateway device to the Setra cloud- based CEMS platform. This information is encrypted to ensure data integrity during transit.
The CEMS server incorporates a rich API providing suitably authorized client applications access to
operations that can be applied to a wide array of resources. These resources are accessed through HTTP
Methods such as GET and POST - see Figure 2.
Figure 2: An example GET HTTP Method to trigger a read time series data operation.
Adoption and exploitation of such powerful contemporary open software technologies underpins wide-ranging industry initiatives such as Digital Transformation and Pharma 4.0. As the industry evolves to produce smaller batch sizes and personalized medicines, the amount of attendant information required to be managed will grow substantially. APIs will break silos within and between organizations by building bridges between industry, regulators, healthcare and all other stakeholders. In practical terms, it means more connectivity, more productivity, simplified compliance, and the marshaling of production information to respond to problems as they emerge.
If you would like to evaluate the powerful capabilities of the Setra CEMS REST API by accessing a comprehensive list of resources and operations together with interactive JSON scripts, click here.
Request more information on CEMS, here.
Fielding, Roy Thomas (2000). "Architectural Styles and the Design of Network-based Software Architectures". Dissertation. University of California, Irvine. https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm