Try OpenEdge Now
skip to main content
Online Help
Introducing OpenEdge REST : Reference : REST Expose Editor dialogs : REST Expose Editor
 
REST Expose Editor
The REST Expose Editor allows you to define mapping between an REST-annotated ABL class and procedure file and a defined REST service.
Note: The REST Expose Editor opens after you have successfully defined a REST service. If you have closed the REST editor, you can re-open the editor by choosing Edit on the REST Service right-click context menu or double-clicking the REST Service. See Opening the REST Expose Editor.
The REST Expose Editor includes the following options:
Option
Description
Service relative URI
Displays the relative URI of the current REST Service open in the REST editor. You can modify the relative path by clicking Edit which opens the Edit Service Relative URI dialog.
Note: The relative URL must start with "/", for example, /<application relative path>.
Add Resource
Opens the New REST Resource dialog which allows you to add a REST resource to the REST service currently open in the REST editor. Each REST resource you add is associated with these four REST (HTTP) verbs: Get, Put, Post, and Delete.
Delete Resource
Deletes a selected REST resource.
Note: When you delete a REST resource, all its child resources are deleted.
Resources
Displays a list of the REST resources added to the current REST Service.
Verb Association
Displays the REST verbs (HTTP methods) for a REST resource selected on the Resources list.
Opens the Associate Operation With Verb dialog which allows you to associate a REST verb with an operation (REST interface-annotated ABL class or procedure file).
Deletes the operation associated with a REST verb.
Mapping Definitions
Displays the parameter mapping section for a selected REST resource verb. This section contains the following two tabs:
*Input – Allows you to map the REST input parameters to the input parameters of the associated ABL routine (interface parameters).
*Output – Allows you to map the REST output parameters to output parameters of the associated ABL routine (interface parameters).
Note: You must associate a REST resource verb with a REST-annotated ABL class or procedure file, to populate the Mapping Definitions section with the interface parameters.