Get connector config schema
GET
/api/connectors/{type}/schema
const url = 'http://localhost:8080/api/connectors/example/schema';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/connectors/example/schemaReturns the JSON schema describing a connector’s configuration fields.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”type
required
string
Responses
Section titled “Responses”Connector configuration schema.
Media typeapplication/json
object
success
required
boolean
data
required
object
key
additional properties
Example
{ "success": true}Connector or schema not found
Media typeapplication/json
object
success
boolean
error
required
string
Example
{ "error": "Human-readable error message"}