When in content stack I setup a single reference in a Content Type to another Content Type that is coming back from the API as an array. Simple example: I have a Content Type called Dog, which has a single reference to an Owner (another Content Type). When I retrieve a dog from the api (/dog/entries?environment=nonprod&locale=en-us&include[]=owner&include_branch=false) I get back a response where owner is an array (this doesn’t make sense to me). Even though in the Content Type settings I can set the reference to 1 or many and have set it to 1. I am wondering if I’m doing something wrong or if this is expected behavior.
Best answer by nick.nguyen
View original