tator icon indicating copy to clipboard operation
tator copied to clipboard

Include objects in rest responses for POST and PATCH

Open jrtcppv opened this issue 2 years ago • 0 comments

In all POST and PATCH requests, a new field object should be included in the response along with id. For list requests (localizations, states, leaves) the content of object should be controlled by a query parameter returnObjects, which would populate the list when set to 1 and return an empty list otherwise.

jrtcppv avatar Sep 15 '22 14:09 jrtcppv