ToolJet/frontend/src/Editor/DataSourceManager/SourceComponents/Api/Restapi.schema.json

29 lines
768 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/",
"$id": "https://tooljet.io/Restapi.schema.json",
"title": "Restapi datasource",
"description": "A schema defining restapi datasource",
"type": "object",
"properties": {
"url": {
"$label": "URL",
"$key": "url",
"type": "text",
"description": "https://api.example.com/v1/"
},
"headers": {
"$label": "Headers",
"$key": "headers",
"type": "react-component-headers",
"description": "key-value pair headers for rest api"
},
"auth_type": {
"$label": "Authentication Type",
"$key": "auth_type",
"type": "react-component-oauth-authentication",
"description": "key-value pair headers for rest api"
}
},
"required": ["url"]
}