Add .env.example with configuration for database, Redis, security, SMTP, workers, and plugins. Add .gitignore for Python, Node.js, Next.js, Docker volumes, and IDE files. Add MIT License. Update README.md with feature overview, quick start guide, architecture description, plugin system documentation, security details, backup/restore instructions, and developer setup. Add Alembic configuration files and placeholder directories for API, web, worker, and plugin components
68 lines
1.6 KiB
JSON
68 lines
1.6 KiB
JSON
{
|
|
"id": "generic-http",
|
|
"name": "Generic HTTP",
|
|
"version": "1.0.0",
|
|
"nexadashPluginApi": "1.0",
|
|
"description": "HTTP status checks, JSON API polling, custom headers and auth.",
|
|
"author": "NexaDash",
|
|
"category": "Generic",
|
|
"permissions": ["network:outbound", "secrets:read"],
|
|
"credentialsSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"bearer_token": {
|
|
"type": "string",
|
|
"title": "Bearer Token",
|
|
"format": "password"
|
|
},
|
|
"api_key": {
|
|
"type": "string",
|
|
"title": "API Key"
|
|
}
|
|
}
|
|
},
|
|
"widgets": [
|
|
{
|
|
"id": "http-status",
|
|
"name": "HTTP Status",
|
|
"description": "Status code and latency check",
|
|
"defaultWidth": 2,
|
|
"defaultHeight": 1,
|
|
"settingsSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"title": "URL",
|
|
"format": "uri"
|
|
},
|
|
"method": {
|
|
"type": "string",
|
|
"title": "Method",
|
|
"enum": ["GET", "POST"],
|
|
"default": "GET"
|
|
},
|
|
"expected_status": {
|
|
"type": "integer",
|
|
"title": "Expected Status",
|
|
"default": 200
|
|
},
|
|
"headers": {
|
|
"type": "object",
|
|
"title": "Headers"
|
|
},
|
|
"json_path": {
|
|
"type": "string",
|
|
"title": "JSON Path"
|
|
},
|
|
"regex": {
|
|
"type": "string",
|
|
"title": "Regex"
|
|
}
|
|
},
|
|
"required": ["url"]
|
|
}
|
|
}
|
|
]
|
|
}
|