It seems that Model.setup doesn't take into account when a model is not shared - the REST API endpoints are created regardless. Also, setting the generated relation method to shared = false has no effect (this is the method outlined in the docs):
Project.prototype['__create__history'].shared = false;
It seems that
Model.setupdoesn't take into account when a model is not shared - the REST API endpoints are created regardless. Also, setting the generated relation method to shared = false has no effect (this is the method outlined in the docs):