# blaulichtsms/docs architecture

> Architecture diagram of the GitHub repository blaulichtsms/docs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/blaulichtsms/docs
- Repository: https://github.com/blaulichtsms/docs

## Overview

This repository documents blaulichtSMS APIs and provides client examples; it is not the API service implementation. Its main workflows are creating alarms through the Alarm or SMS APIs, viewing recent alarms through the Dashboard API, and importing or exporting data. The README also documents dashboard login prerequisites. No source excerpts were provided, so the graph reflects documented capabilities and README-listed examples only; it does not infer backend components or request-level call paths.

Main entry points: [`dashboard_api_v1.md`](https://github.com/blaulichtsms/docs/blob/master/dashboard_api_v1.md) (Dashboard API specification), [`alarm_api_v1.md`](https://github.com/blaulichtsms/docs/blob/master/alarm_api_v1.md) (Alarm API specification), [`examples/alarm-api/php/alarm-api-example.php`](https://github.com/blaulichtsms/docs/blob/master/examples/alarm-api/php/alarm-api-example.php) (Alarm PHP example), [`sms_api_v1.md`](https://github.com/blaulichtsms/docs/blob/master/sms_api_v1.md) (SMS API specification)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_alarm["Alarm APIs"]
  node_alarm_api["Alarm API specification<br/>[alarm_api_v1.md]"]
  node_alarm_example["Alarm PHP example"]
  node_sms_api["SMS API specification<br/>[sms_api_v1.md]"]
end

subgraph group_dashboard["Dashboard API"]
  node_dashboard_api["Dashboard API specification"]
  node_dashboard_js["Dashboard JavaScript example"]
  node_dashboard_php["Dashboard PHP examples"]
end

subgraph group_data["Data APIs"]
  node_import_api["Import API specification<br/>[import_api_v1.md]"]
  node_export_api["Export API specification<br/>[export_api_v1.md]"]
end

node_developers(("API integrators"))
node_web_platform["blaulichtSMS web platform"]
node_admins(("Dashboard admins"))

node_developers -->|"consults"| node_alarm_api
node_alarm_api -->|"has example"| node_alarm_example
node_developers -->|"consults"| node_sms_api
node_developers -->|"consults"| node_dashboard_api
node_dashboard_api -->|"has example"| node_dashboard_js
node_dashboard_api -->|"has examples"| node_dashboard_php
node_admins -->|"creates dashboard"| node_web_platform
node_web_platform -->|"provides login data"| node_dashboard_api
node_developers -->|"consults"| node_import_api
node_developers -->|"consults"| node_export_api

click node_alarm_api "https://github.com/blaulichtsms/docs/blob/master/alarm_api_v1.md"
click node_alarm_example "https://github.com/blaulichtsms/docs/blob/master/examples/alarm-api/php/alarm-api-example.php"
click node_sms_api "https://github.com/blaulichtsms/docs/blob/master/sms_api_v1.md"
click node_dashboard_api "https://github.com/blaulichtsms/docs/blob/master/dashboard_api_v1.md"
click node_dashboard_js "https://github.com/blaulichtsms/docs/blob/master/examples/dashboard-api/javascript/dashboard-api-example.html"
click node_dashboard_php "https://github.com/blaulichtsms/docs/tree/master/examples/dashboard-api/php"
click node_import_api "https://github.com/blaulichtsms/docs/blob/master/import_api_v1.md"
click node_export_api "https://github.com/blaulichtsms/docs/blob/master/export_api_v1.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_alarm_api,node_alarm_example,node_sms_api toneBlue
class node_dashboard_api,node_dashboard_js,node_dashboard_php toneAmber
class node_import_api,node_export_api,node_developers toneMint
class node_web_platform,node_admins toneIndigo
```

## Components

### Alarm APIs

- [Alarm API specification](https://github.com/blaulichtsms/docs/blob/master/alarm_api_v1.md): `alarm_api_v1.md`
- [Alarm PHP example](https://github.com/blaulichtsms/docs/blob/master/examples/alarm-api/php/alarm-api-example.php): `examples/alarm-api/php/alarm-api-example.php`
- [SMS API specification](https://github.com/blaulichtsms/docs/blob/master/sms_api_v1.md): `sms_api_v1.md`

### Dashboard API

- [Dashboard API specification](https://github.com/blaulichtsms/docs/blob/master/dashboard_api_v1.md): `dashboard_api_v1.md`
- [Dashboard JavaScript example](https://github.com/blaulichtsms/docs/blob/master/examples/dashboard-api/javascript/dashboard-api-example.html): `examples/dashboard-api/javascript/dashboard-api-example.html`
- [Dashboard PHP examples](https://github.com/blaulichtsms/docs/tree/master/examples/dashboard-api/php): `examples/dashboard-api/php`

### Data APIs

- [Import API specification](https://github.com/blaulichtsms/docs/blob/master/import_api_v1.md): `import_api_v1.md`
- [Export API specification](https://github.com/blaulichtsms/docs/blob/master/export_api_v1.md): `export_api_v1.md`

### Other components

- **API integrators**
- **blaulichtSMS web platform**
- **Dashboard admins**

## Connections

- API integrators → Alarm API specification: consults (evidence: `README.md`)
- Alarm API specification → Alarm PHP example: has example (evidence: `README.md`)
- API integrators → SMS API specification: consults (evidence: `README.md`)
- API integrators → Dashboard API specification: consults (evidence: `README.md`)
- Dashboard API specification → Dashboard JavaScript example: has example (evidence: `README.md`)
- Dashboard API specification → Dashboard PHP examples: has examples (evidence: `README.md`)
- Dashboard admins → blaulichtSMS web platform: creates dashboard (evidence: `README.md`)
- blaulichtSMS web platform → Dashboard API specification: provides login data (evidence: `README.md`)
- API integrators → Import API specification: consults (evidence: `README.md`)
- API integrators → Export API specification: consults (evidence: `README.md`)
