-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
effort/L🌳 L: 1-2 days (complex feature, multiple components)🌳 L: 1-2 days (complex feature, multiple components)enhancementNew feature or requestNew feature or requestphase/MVPMVP scopeMVP scopepriority/P3📋 Low priority - nice to have in phase, can be deferred📋 Low priority - nice to have in phase, can be deferred
Milestone
Description
Summary
Implement FeatureServer applyEdits endpoint for CRUD operations.
Tasks
- Create applyEdits POST endpoint
- Parse adds array from request
- Parse updates array from request
- Parse deletes array from request
- Implement feature creation logic
- Implement feature update logic
- Implement feature deletion logic
- Generate objectIds for new features
- Build success/failure response per operation
- Add validation for input features
- Add error handling for each operation type
- Add integration tests for add operations
- Add integration tests for update operations
- Add integration tests for delete operations
- Document applyEdits endpoint
Acceptance Criteria
- POST /rest/services/{serviceId}/FeatureServer/{layerIndex}/applyEdits
-
addsarray creates new features -
updatesarray updates existing features by objectId -
deletesarray removes features by objectId - Response includes success/failure per operation
Legacy Reference
- ../Honua.Server/src/protocol/geoservices/Editing/
Test Plan
- Integration test: add feature returns new objectId
- Integration test: update feature modifies attributes
- Integration test: delete feature removes from database
Metadata
Metadata
Assignees
Labels
effort/L🌳 L: 1-2 days (complex feature, multiple components)🌳 L: 1-2 days (complex feature, multiple components)enhancementNew feature or requestNew feature or requestphase/MVPMVP scopeMVP scopepriority/P3📋 Low priority - nice to have in phase, can be deferred📋 Low priority - nice to have in phase, can be deferred