Generating a REST Resource Using the Legacy Approach
You can use the legacy approach to create a REST resource, including the REST resource folder, the flow services that correspond to HTTP methods, and, if selected, the _default flow service. When Designer generates the REST resource folder and services, Designer assigns each service the required names and creates an input signature that accepts the predefined parameters for a REST request.
REST resources generated using the legacy approach are invoked with the rest directive.