Home Applications Interoperability REST API Template

Interoperability REST API Template

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
0
0 reviews
0
Awards
7
Views
0
IPM installs
0
0
Details
Releases (1)
Reviews
Issues
Yet another API template for the InterSystems IRIS Data platform

What's new in this version

Initial Release

Production

About

Features from the box:

  • Adds online OpenAPI 2.0 specification (see /swagger endpoint) to your APIs
  • Adds /healthcheck endpoint - a simple way to check API publication
  • And main: adds to all your API common entry point in Interoperability (Production). That, in turn, allows you to use the best IRIS feature - visual traces!

Quick start

  1. Implement the needed API using a specification-first way
  2. Add to your .disp class routes /swagger and /healthcheck (see Sample.API.disp for example)
  3. Add calls REST.Service.API to your .impl class (see example in Sample.API.impl)
Quit ##class(REST.Service.API).Call(body, $$$CurrentMethod, $CLASSNAME())
  1. Add to Production REST.Service.API service
  2. Create and add to Production handlers for the methods of your custom API. Set REST.Process.CallHandler as the parent class if you need correct links building in Production UI. You can find a sample of handler in the Sample.Process.TestPost class
  3. Add routes for API methods to the RESTRoutes lookup table (sample RESTRoutes.LUT)
  4. Enjoy!
Version
1.0.029 Jun, 2025
Category
Template
Works with
InterSystems IRISInterSystems IRIS for Health
First published
29 Jun, 2025
Last edited
29 Jun, 2025