I have a view SQL layer with some parameters. I need to use the REST API to guess these parameters and show to the user in the interface to he/she fill the values before submit.
Going to rest/workspaces/<WS>/datastores/<DS>/featuretypes/ I can see the layer attributes but no info about the view SQL.