Json response / records without "resource" and document id

Hi @m_menon,

To remove the “resource” wrapper, set always_wrap_resources to false in this two files:
{DF_ INSTALATION}/apps/dreamfactory/htdocs/config/df.php
and
{DF_ INSTALATION}/apps/dreamfactory/htdocs/bootstrap/cache/config.php

To receive just the fields you want, use the fields param in your REST URL ex.:
GET http://localhost:8080/api/v2/mongodb/_table/teste?fields=coordinates,type

I hope this helps! :slight_smile:

1 Like