dhis2_configure_app_manifest
Generate or update the manifest.webapp file for a DHIS2 application by providing app details such as name, version, developer, activities, and required authorities.
Instructions
Generate or update manifest.webapp file for DHIS2 app
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activities | Yes | ||
appType | No | Type of DHIS2 application | |
authorities | No | Required DHIS2 authorities/permissions | |
description | Yes | App description | |
developer | Yes | ||
icons | No | ||
launch_path | No | Launch path for the app | |
name | Yes | App name | |
version | Yes | App version (e.g., "1.0.0") |
Input Schema (JSON Schema)
{
"properties": {
"activities": {
"properties": {
"dhis": {
"properties": {
"href": {
"description": "Entry point URL (e.g., \"./index.html\")",
"type": "string"
},
"namespace": {
"description": "App namespace",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
}
},
"required": [
"dhis"
],
"type": "object"
},
"appType": {
"description": "Type of DHIS2 application",
"enum": [
"APP",
"DASHBOARD_WIDGET",
"TRACKER_DASHBOARD_WIDGET"
],
"type": "string"
},
"authorities": {
"description": "Required DHIS2 authorities/permissions",
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "App description",
"type": "string"
},
"developer": {
"properties": {
"email": {
"description": "Developer email",
"format": "email",
"type": "string"
},
"name": {
"description": "Developer name",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"icons": {
"properties": {
"128": {
"description": "Path to 128x128 icon",
"type": "string"
},
"48": {
"description": "Path to 48x48 icon",
"type": "string"
}
},
"type": "object"
},
"launch_path": {
"description": "Launch path for the app",
"type": "string"
},
"name": {
"description": "App name",
"type": "string"
},
"version": {
"description": "App version (e.g., \"1.0.0\")",
"type": "string"
}
},
"required": [
"name",
"version",
"description",
"developer",
"activities"
],
"type": "object"
}