janelia-flyem / dvid

Distributed, Versioned, Image-oriented Dataservice
http://dvid.io
Other
195 stars 33 forks source link

Disable labelmap endpoint: /split #381

Closed stuarteberg closed 1 year ago

stuarteberg commented 1 year ago

We should not be using /split any more. It looks like it was accidentally used (one time) on our production repo. This should not have happened, but since the software permits it, we're exposed to it.

Just to be clear, I'm talking about body splits:

POST <api URL>/node/<UUID>/<data name>/split/<label>
DocSavage commented 1 year ago

Simply removing it might break others' systems. We could just add a flag that ignores the /split endpoint.

DocSavage commented 1 year ago

Fixed via configuration option in commit 3199c84.