© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.Privacy & TermsGuaranteeSection 508Contest Terms
Added simple implementation of rate limits. Now, you can set up the maximum number of requests per minute for your APIs. Just set the value by the route key in the lookup table RESTRateLimits
, similar RESTRoutes
table. Also, you can use a wildcard (*) as a method name: Sample.API:*
Tip: If you need a more flexible and enterprise solution, I advise you to look at API Manager
Features out-of-the-box:
/swagger
endpoint) to your APIs/healthcheck
endpoint - a simple way to check API publication.disp
class routes /swagger
and /healthcheck
(see Sample.API.disp
for example)REST.Service.API
to your .impl
class (see example in Sample.API.impl
)Quit ##class(REST.Service.API).Call(body, $$$CurrentMethod, $CLASSNAME())
REST.Service.API
serviceREST.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
classRESTRoutes
lookup table (sample RESTRoutes.LUT
)