# Rhombus Developer Documentation - Complete Reference This is the comprehensive reference for the Rhombus Developer Documentation project, a Mintlify-based documentation site providing complete API documentation for the Rhombus security platform. ## Project Overview ### Mission & Purpose The Rhombus Developer Documentation serves as the primary resource for developers integrating with Rhombus security infrastructure. It provides comprehensive API documentation, interactive examples, and development resources for building applications that leverage Rhombus cameras, sensors, access control systems, and analytics. ### Target Audience - **API Developers**: Building integrations with Rhombus security platform - **System Integrators**: Connecting Rhombus with existing security systems - **Enterprise Developers**: Creating custom security applications - **Partner Developers**: Building solutions on the Rhombus platform ### Platform Details - **Framework**: Mintlify documentation platform - **Language**: MDX (Markdown with JSX components) - **Deployment**: Automatic via Mintlify GitHub app integration - **API Coverage**: 863+ endpoints across multiple service categories - **Update Frequency**: Nightly automated sync with production API ## Technical Architecture ### Project Structure ``` docs/ ├── .windsurf/ │ └── rules.md # Windsurf AI editor rules ├── api-reference/ │ ├── endpoint/ # Generated API endpoint docs │ │ ├── access-control-integrations/ # Access Control Integrations endpoints (75) │ │ ├── access-control/ # Access Control endpoints (62) │ │ ├── camera/ # Camera endpoints (59) │ │ ├── component/ # Component endpoints (59) │ │ ├── policy/ # Policy endpoints (49) │ │ ├── event/ # Event endpoints (42) │ │ ├── org/ # Org endpoints (42) │ │ ├── incident-management-integrations/ # Incident Management Integrations endpoints (34) │ │ ├── integrations/ # Integrations endpoints (32) │ │ ├── report/ # Report endpoints (26) │ │ ├── partner/ # Partner endpoints (21) │ │ ├── video/ # Video endpoints (19) │ │ ├── storage-integrations/ # Storage Integrations endpoints (18) │ │ ├── lockdown-plan/ # Lockdown Plan endpoints (17) │ │ ├── export/ # Export endpoints (16) │ │ ├── service-management-integrations/ # Service Management Integrations endpoints (14) │ │ ├── location/ # Location endpoints (13) │ │ ├── climate/ # Climate endpoints (12) │ │ ├── user/ # User endpoints (12) │ │ ├── license/ # License endpoints (12) │ │ ├── schedule/ # Schedule endpoints (12) │ │ ├── vehicle/ # Vehicle endpoints (12) │ │ ├── alert-monitoring/ # Alert Monitoring endpoints (11) │ │ ├── audiogateway/ # AudioGateway endpoints (10) │ │ ├── doorbell-camera/ # Doorbell Camera endpoints (10) │ │ ├── iot-integrations/ # IoT Integrations endpoints (10) │ │ ├── permission/ # Permission endpoints (10) │ │ ├── face-recognition-matchmaker/ # Face Recognition Matchmaker endpoints (9) │ │ ├── scene-query/ # Scene Query endpoints (9) │ │ ├── button/ # Button endpoints (8) │ │ ├── face-recognition-person/ # Face Recognition Person endpoints (8) │ │ ├── rules/ # Rules endpoints (8) │ │ ├── help/ # Help endpoints (7) │ │ ├── webhook-integrations/ # Webhook Integrations endpoints (7) │ │ ├── user-metadata/ # User Metadata endpoints (7) │ │ ├── audioplayback/ # AudioPlayback endpoints (6) │ │ ├── elevator/ # Elevator endpoints (6) │ │ ├── oauth/ # OAuth endpoints (6) │ │ ├── upload/ # Upload endpoints (6) │ │ ├── customer/ # Customer endpoints (5) │ │ ├── feature/ # Feature endpoints (5) │ │ ├── alarm-monitoring-keypad/ # Alarm Monitoring Keypad endpoints (5) │ │ ├── developer/ # Developer endpoints (4) │ │ ├── door/ # Door endpoints (4) │ │ ├── face-recognition-event/ # Face Recognition Event endpoints (4) │ │ ├── org-integrations/ # Org Integrations endpoints (4) │ │ ├── occupancy/ # Occupancy endpoints (4) │ │ ├── proximity/ # Proximity endpoints (4) │ │ ├── search/ # Search endpoints (4) │ │ ├── logistics/ # Logistics endpoints (3) │ │ ├── rules-records/ # Rules Records endpoints (3) │ │ ├── sensor/ # Sensor endpoints (3) │ │ ├── tvos-config/ # TvOs Config endpoints (3) │ │ ├── badge-reader/ # Badge Reader endpoints (2) │ │ ├── device-config/ # Device Config endpoints (2) │ │ ├── door-controller/ # Door Controller endpoints (2) │ │ ├── event-search/ # Event Search endpoints (2) │ │ ├── ble/ # BLE endpoints (1) │ │ ├── guest-management-kiosk/ # Guest Management Kiosk endpoints (1) │ │ ├── media-device/ # Media Device endpoints (1) │ │ ├── rapidsos/ # RapidSOS endpoints (1) │ ├── openapi-split/ # Split OpenAPI spec files │ │ ├── schemas/ # API schema definitions │ │ ├── _base.json # Base OpenAPI configuration │ │ └── _index.json # Category index │ ├── README.md # API reference documentation │ └── openapi.json # Complete OpenAPI specification ├── implementations/ # Implementation examples │ ├── video-player.mdx # Video streaming implementation │ ├── advanced-implementation.mdx # Advanced patterns │ └── webhook-listener.mdx # Webhook integration ├── low-code-no-code/ # No-code integration guides │ └── zapier.mdx # Zapier integration ├── scripts/ # Automation scripts │ ├── update-openapi.sh # Fetch & update OpenAPI spec │ ├── split-openapi.sh # Split spec into category files │ └── update-llms-files.py # Update LLMs context files ├── logo/ # Brand assets │ ├── dark.svg # Dark theme logo │ └── light.svg # Light theme logo ├── images/ # Documentation assets ├── .gitignore # Git ignore patterns ├── CLAUDE.md # Claude AI assistant guidance ├── LICENSE # Project license ├── README.md # Project overview ├── docs.json # Mintlify configuration ├── favicon.svg # Site favicon ├── index.mdx # Homepage ├── quickstart.mdx # Quick start guide ├── llms.txt # Concise AI context └── llms-full.txt # Comprehensive AI context ``` ### Configuration Details #### Mintlify Configuration (`docs.json`) ```json { "$schema": "https://mintlify.com/docs.json", "theme": "mint", "name": "Rhombus Developer Documentation", "colors": { "primary": "#2563EB", "light": "#60A5FA", "dark": "#1D4ED8" }, "favicon": "/favicon.svg", "navigation": { "products": [] } } ``` ## API Documentation Structure ### Endpoint Distribution ### Core Services - **Access Control**: 62 endpoints - **Camera**: 59 endpoints - **Component**: 59 endpoints - **Policy**: 49 endpoints - **Org**: 42 endpoints - **Report**: 26 endpoints - **Partner**: 21 endpoints - **Video**: 19 endpoints - **Lockdown Plan**: 17 endpoints - **Export**: 16 endpoints - **Location**: 13 endpoints - **Climate**: 12 endpoints - **User**: 12 endpoints - **License**: 12 endpoints - **Schedule**: 12 endpoints - **Vehicle**: 12 endpoints - **AudioGateway**: 10 endpoints - **Permission**: 10 endpoints - **Scene Query**: 9 endpoints - **Rules**: 8 endpoints - **Help**: 7 endpoints - **User Metadata**: 7 endpoints - **AudioPlayback**: 6 endpoints - **Elevator**: 6 endpoints - **OAuth**: 6 endpoints - **Upload**: 6 endpoints - **Customer**: 5 endpoints - **Feature**: 5 endpoints - **Developer**: 4 endpoints - **Door**: 4 endpoints - **Search**: 4 endpoints - **Logistics**: 3 endpoints - **Rules Records**: 3 endpoints - **TvOs Config**: 3 endpoints - **Device Config**: 2 endpoints - **Door Controller**: 2 endpoints - **BLE**: 1 endpoints - **Guest Management Kiosk**: 1 endpoints - **Media Device**: 1 endpoints - **RapidSOS**: 1 endpoints ### Events & Monitoring - **Event**: 42 endpoints - **Alert Monitoring**: 11 endpoints - **Face Recognition Matchmaker**: 9 endpoints - **Face Recognition Person**: 8 endpoints - **Face Recognition Event**: 4 endpoints - **Occupancy**: 4 endpoints - **Proximity**: 4 endpoints - **Event Search**: 2 endpoints ### Integrations - **Access Control Integrations**: 75 endpoints - **Incident Management Integrations**: 34 endpoints - **Integrations**: 32 endpoints - **Storage Integrations**: 18 endpoints - **Service Management Integrations**: 14 endpoints - **IoT Integrations**: 10 endpoints - **Webhook Integrations**: 7 endpoints - **Alarm Monitoring Keypad**: 5 endpoints - **Org Integrations**: 4 endpoints ### Device Management - **Doorbell Camera**: 10 endpoints - **Button**: 8 endpoints - **Sensor**: 3 endpoints - **Badge Reader**: 2 endpoints ## Development Workflow ### Local Development Setup ```bash # Prerequisites # - Node.js 19+ # - Git access to repository # 1. Install Mintlify CLI npm i -g mint # 2. Clone and navigate to project git clone [repository-url] cd Developer-Documentation-Mintlify/docs # 3. Start development server mint dev # Default port 3000 mint dev --port 3333 # Custom port # 4. Access local preview open http://localhost:3000 ``` ### Maintenance Commands ```bash # Update Mintlify CLI mint update # Validate documentation links mint broken-links # Update API specification manually ./scripts/update-openapi.sh # Update LLMs context files python3 scripts/update-llms-files.py ``` ## Content Creation Guidelines ### MDX File Structure Every documentation page must include YAML frontmatter: ```yaml --- title: "Descriptive Page Title" description: "Brief, informative description for SEO and navigation" icon: "icon-name" # Optional Mintlify icon --- # Page Content Content goes here using MDX syntax... ``` ### Mintlify Component Library #### Callout Components ```mdx General information or context Helpful suggestions or best practices Important cautions or potential issues Additional context or background information Confirmation or success indicators ``` #### Structural Components ```mdx Content Content Content Content Content Card description ``` #### Code Examples ```mdx ```bash cURL curl -X POST "https://api2.rhombussystems.com/api/endpoint" \ -H "x-auth-apikey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"key": "value"}' ``` ```python Python import requests headers = {"x-auth-apikey": "YOUR_API_KEY"} response = requests.post( "https://api2.rhombussystems.com/api/endpoint", headers=headers, json={"key": "value"} ) ``` ```javascript JavaScript const response = await fetch('https://api2.rhombussystems.com/api/endpoint', { method: 'POST', headers: { 'x-auth-apikey': 'YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({key: 'value'}) }); ``` ``` #### API Documentation Components ```mdx Parameter description Response field description Additional configuration details ``` #### Media Components ```mdx Description