DanielCarter-stack commented on issue #10579:
URL: https://github.com/apache/seatunnel/issues/10579#issuecomment-4021622107
<!-- code-pr-reviewer -->
Thanks for the proposal. The feature does not currently exist. Zeta REST
APIs (v1/v2) lack endpoints to retrieve connector parameter definitions.
**Existing foundation:**
- `Factory.optionRule()` defines all connector params via `OptionRule`
(`seatunnel-api/src/main/java/org/apache/seatunnel/api/table/factory/Factory.java`)
- `AbstractPluginDiscovery.getAllPlugin()` and `getOptionRules()` already
expose these internally
(`seatunnel-plugin-discovery/src/main/java/org/apache/seatunnel/plugin/discovery/AbstractPluginDiscovery.java`)
**What's missing:** No REST endpoints expose this metadata—see
`RestConstant.java` and `RestHttpGetCommandProcessor.java` for current routes.
**Clarification needed:**
1. Should the API return all connectors or support filtering by type
(source/sink/transform)?
2. Required fields per parameter (name, type, defaultValue,
required/optional, description)?
3. Is connector version info required in the response?
A starting point: `GET /connectors` (list) and `GET
/connectors/{pluginName}` (detailed OptionRule as JSON).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]