Calling https://api.freeagent.com/v2/projects?nested=false returns nested contacts, the same response structure as if calling nested=true
Only excluding the nested parameter returns the expected response (no nested contacts).
Calling https://api.freeagent.com/v2/projects?nested=false returns nested contacts, the same response structure as if calling nested=true
Only excluding the nested parameter returns the expected response (no nested contacts).
Hi @matt.groves,
Thanks a lot for your message on our forum, and for flagging this inconsistency! I’ve submitted it to our engineering team to be triaged and fixed. As you’ve noticed, for the time being omitting this parameter from the request URL is the way forward if you don’t wish to obtain contact information as a nested JSON object.
Best wishes,
Ewa
Thanks Ewa. I look forward to an update being released.
Hi Matt,
Just to let you know this behaviour is now fixed, so you can use nested=false
in your requests if you wish to.
Best wishes,
Ewa
Thanks Ewa - this is now behaving as expected.