g3w-admin icon indicating copy to clipboard operation
g3w-admin copied to clipboard

:sparkles: Add new REST API parameter: `ftod` (fields to download)

Open wlorenzetti opened this issue 1 year ago • 1 comments

Closes: #618

Add the capability to the end user to choose how many and which attributes get on /vector/api download REST API.

Adding a new URL parameter ftod=<fields_to_download> inside of wich set the name of attributes to get.

Before

/vector/api/xls/qdjango/338/buildings_2f43dc1d_6725_42d2_a09b_dd446220104a/

Screenshot_20231011_154723

After

/vector/api/xls/qdjango/338/buildings_2f43dc1d_6725_42d2_a09b_dd446220104a/?ftod=fid,name

Screenshot_20231011_154748

wlorenzetti avatar Oct 11 '23 13:10 wlorenzetti