New REST Resource dialog

The New REST Resource dialog allows you to add REST resources to a defined REST Service.

Access this dialog by clicking Add Resource icon on the REST Expose Editor.

The New REST Resource dialog includes the following options:

Option Description
Resource URI Specify a resource URI for the REST resource you want to create. The REST resources you add are identified with Uniform Resource Identifier (URI). The resource URI must start with "/". For example, "/<REST resource name>".
Note: In a REST resource URI, you cannot use the Java reserved words (such as int, char, or boolean) as the path or query parameter names. For more information, see Adding REST parameters.
OK Adds the REST resource to the Resources list on the REST editor.