Add REST API Definitions
You must add the REST definition files to the src/main/resources/rest directory of the RS Gateway Extension module to group the REST APIs together. This directory can contain multiple files, each of which can contain multiple REST definitions.
About this task
SubscriberSearchTerm
of type RestQueryTerm
is
included. This is a specific type that is defined in the MATRIXX Extensions
SDK.Procedure
- Create a file rsgwextension/src/main/resources/rest/extensions.xml.
-
Add the REST definitions to the file.
See the GET API and POST API examples for more information.
- Save the file.