mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-23 14:38:00 +00:00
74 lines
No EOL
1.4 KiB
JSON
74 lines
No EOL
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
|
|
"title": "Graphql datasource",
|
|
"description": "A schema defining graphql datasource",
|
|
"type": "api",
|
|
"source": {
|
|
"name": "GraphQL",
|
|
"kind": "graphql",
|
|
"options": {
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"headers": {
|
|
"type": "array"
|
|
},
|
|
"url_params": {
|
|
"type": "array"
|
|
},
|
|
"body": {
|
|
"type": "array"
|
|
}
|
|
},
|
|
"exposedVariables": {
|
|
"isLoading": false,
|
|
"data": {},
|
|
"rawData": {}
|
|
},
|
|
"customTesting": true
|
|
},
|
|
"defaults": {
|
|
"url": {
|
|
"value": ""
|
|
},
|
|
"headers": {
|
|
"value": [
|
|
[
|
|
"",
|
|
""
|
|
]
|
|
]
|
|
},
|
|
"url_params": {
|
|
"value": [
|
|
[
|
|
"",
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"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 graphql api"
|
|
},
|
|
"url_params": {
|
|
"label": "URL parameters",
|
|
"key": "url_params",
|
|
"type": "react-component-headers",
|
|
"description": "key-value pair url parameters for graphql api"
|
|
}
|
|
},
|
|
"required": [
|
|
"url"
|
|
]
|
|
} |