GET /api/tools and /api/tool_panels/{view} return the same panel entries as on dev again; the Explore tab reads the field from GET /api/tools/data_inputs. The index entry keeps it so the cached toolbox serves that route without parsing tools.
Co-authored-by: mvdbeek <m.vandenbeek@gmail.com>
Returns {tool_id: data_inputs} for the tools the flat tool listing shows, with the same visibility filters, so the bulk listing does not have to carry the field. The tool_type query parameter limits it to one kind of tool; the Explore tab asks for tool_type=interactive.
Co-authored-by: mvdbeek <m.vandenbeek@gmail.com>
Each `data_inputs` item now carries `type` (`data` or `data_collection`) and `collection_type`, both mirroring the tool parameter models, so a later collection input can be told apart from a dataset input. `collection_type` alone cannot do that: a collection input without one accepts any collection type and is also null. The new fields change the index schema hash.