USACE / instrumentation

Instrumentation project issue tracking and project planning
MIT License
5 stars 1 forks source link

API: Delete endpoints need to return 204 #10

Closed KevinJJackson closed 3 years ago

KevinJJackson commented 3 years ago

Delete Endpoints (or any endpoints that do not return content) need to have the correct status code of 204 or return at minimum an empty object {}

cc @brettpalmberg

brettpalmberg commented 3 years ago

Any endpoints previously returning NoContent() (200 - StatusOK) have been modified to return an empty object {} (200 - StatusOK). Changes merged to develop - @KevinJJackson - feel free to re-open if switching 200 --> 204 is critical.