-
-
Notifications
You must be signed in to change notification settings - Fork 311
Closed
Labels
OGC API - FeaturesOGC API - FeaturesOGC API - FeaturesOGC API - RecordsOGC API - RecordsOGC API - RecordsbugSomething isn't workingSomething isn't working
Milestone
Description
Description
Running an API DELETE query on a repository where a given identifier does not exist does not return a 404 (but should).
Steps to Reproduce
- run pygeoapi with a collection that has a provider with transactional capabilities (then setting provider
editable: true) - issue
curl -X 'DELETE' \ 'http://localhost:5000/collections/some-collection/items/id-notfound' \ -H 'accept: */*'
Expected behavior
API should return 404, not 201.
Screenshots/Tracebacks
If applicable, add screenshots to help explain your problem.
Environment
- OS: any
- Python version: 3.12
- pygeoapi version: master
Additional context
Discovered as part of #2220 (review)
Metadata
Metadata
Assignees
Labels
OGC API - FeaturesOGC API - FeaturesOGC API - FeaturesOGC API - RecordsOGC API - RecordsOGC API - RecordsbugSomething isn't workingSomething isn't working