Changes to /api/queries/{id}

get/api/queries/{id}