Feature Request
Support ALTER PUBLISHED REST SERVICE to modify existing published REST services without full recreation.
Use Case
Currently the only way to modify a published REST service (e.g., change version, add/remove operations) is CREATE OR REPLACE, which drops and recreates the entire service. ALTER would allow incremental changes.
Proposed Syntax
ALTER PUBLISHED REST SERVICE Module.Name SET Version = '2.0.0';
ALTER PUBLISHED REST SERVICE Module.Name SET Path = 'api/v2';
ALTER PUBLISHED REST SERVICE Module.Name ADD RESOURCE 'orders/{id}/items' {
GET '/' MICROFLOW Module.GetOrderItems;
};
ALTER PUBLISHED REST SERVICE Module.Name DROP RESOURCE 'legacy';
Context
ALTER is already supported for OData services (ALTER ODATA SERVICE). The pattern can be reused for published REST services.
Discovered during testing of CREATE PUBLISHED REST SERVICE (PR rest branch).
Feature Request
Support
ALTER PUBLISHED REST SERVICEto modify existing published REST services without full recreation.Use Case
Currently the only way to modify a published REST service (e.g., change version, add/remove operations) is
CREATE OR REPLACE, which drops and recreates the entire service. ALTER would allow incremental changes.Proposed Syntax
Context
ALTER is already supported for OData services (
ALTER ODATA SERVICE). The pattern can be reused for published REST services.Discovered during testing of CREATE PUBLISHED REST SERVICE (PR rest branch).