202201031433 RESTful API for instrument control

First published:

Last Edited:

Number of edits:

It is possible to control instruments through a web interface based on a RESTful API. Particularly, the methods defined seem very appropriate:

  • GET
  • PUT
  • POST

Wonder what Delete could mean. The authors propose a specific URI pattern like:


I don't fully understand what Context means in this architecture, it is stated as:

Context represents a configuration of the instrument itself

The FSM is the Finite State Machine of the instrument, which should represent the current status of the device and the possible transitions.

The data exchange can be achieved through XML (ATOM) although the authors also mention JSON.

It is worth noting that in the past 10 years some changes have happened in the online world. Especially the clear domination of JSON for data exchange between restful services. Also, the emergence of GraphQL as layer for standardization of information between services.


These are the other notes that link to this one.


Share your thoughts on this note
Aquiles Carattino
Aquiles Carattino
This note you are reading is part of my digital garden. Follow the links to learn more, and remember that these notes evolve over time. After all, this website is not a blog.
© 2021 Aquiles Carattino
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Privacy Policy