Integrations

SpinetiX REST API Integration Guide

· By Media La Vista

The SpinetiX REST API turns every player into a programmable endpoint. External systems — monitoring dashboards, automation scripts, enterprise IT tools — interact with players through standard HTTP requests. Query player status, upload content, capture screenshots, read configuration, and trigger reboots — all via RESTful endpoints authenticated with Basic auth over HTTPS. This guide covers every integration pattern.

API Endpoint Categories

Player Status

GET /api/status returns a JSON object with player model, firmware version, serial number, uptime, storage capacity and usage, CPU temperature, network configuration, and current content project name. Poll this endpoint for fleet monitoring — aggregate responses into dashboards showing health across all players.

Content Management

The player's WebDAV interface enables content operations via HTTP: PUT uploads files, DELETE removes files, PROPFIND lists directory contents. Automated pipelines use these endpoints to deploy content without Elementi: a script generates updated data files, uploads them via WebDAV, and the player renders the new data immediately.

Screenshot Capture

GET /api/screenshot returns a JPEG of the player's current output — exactly what's displayed on the connected screen. Use this for remote visual verification: is the content displaying correctly? Is the layout rendering properly? Automated monitoring can capture screenshots hourly and compare for unexpected changes.

Configuration

GET /api/config reads player configuration, POST /api/config updates settings. Network parameters, display resolution, serial port settings, and scheduling configuration are all accessible via API — enabling mass configuration of player fleets from scripts.

Integration Patterns

PatternMethodEndpointUse Case
Health checkGET/api/statusMonitoring dashboard
Content deployPUT/content/ (WebDAV)CI/CD pipeline
Visual verifyGET/api/screenshotRemote content audit
ConfigurationGET/POST/api/configMass fleet settings
RebootPOST/api/control/rebootRemote maintenance
Firmware infoGET/api/statusVersion compliance check

Key Parameters

ParameterValueWhy It Matters
ProtocolHTTP / HTTPSStandard web protocols, no SDK needed
AuthenticationBasic authSimple credential-based access
Response formatJSONUniversal parsing in any language
Rate limitingNone (player-side)Poll responsibly — 30s minimum interval
CORSNot applicable (server-to-server)API calls from backend, not browser

Common Mistakes

  1. Polling too frequently. Hitting the status API every second from 100 monitoring agents creates unnecessary load. Poll every 30–60 seconds for status, every 5 minutes for screenshots. The player handles it, but it's wasteful.
  2. No HTTPS. Basic auth credentials in plain HTTP are interceptable. Always use HTTPS when API calls traverse networks beyond the local switch.
  3. Hardcoded player IPs. Referencing players by IP in scripts breaks when DHCP assigns a new address. Use DNS names or maintain a player registry that maps logical names to IPs via discovery.
  4. Ignoring error responses. When a player is rebooting or offline, API calls return errors. Scripts must handle HTTP 503, connection timeouts, and authentication failures gracefully — retry with backoff, not crash.
SpinetiX Reference
Complete REST API documentation, endpoint reference, and integration examples.

SpinetiX REST API Integration Guide FAQ

What REST API does SpinetiX expose?

SpinetiX players expose a REST API on their built-in web server. Endpoints include: content management (upload, list, delete files), player status (model, firmware, uptime, temperature), screenshot capture, configuration read/write, and reboot. All accessed via HTTP/HTTPS with Basic authentication.

How do I make API calls to a player?

HTTP requests to the player's IP address. Example: GET http://192.168.1.100/api/status returns JSON with player model, firmware version, uptime, and storage usage. POST http://192.168.1.100/api/control/reboot triggers a restart. Authentication via Basic auth header.

Can I upload content via API?

Yes. PUT requests to the player's WebDAV endpoint upload files directly. This enables automated content deployment from CI/CD pipelines, scripts, and third-party systems without using Elementi or Arya.

Is HTTPS supported?

Yes. SpinetiX players support HTTPS with self-signed certificates (built-in) or custom CA-signed certificates. HTTPS encrypts all API communication, preventing credential interception on the network.

Can I integrate multiple players into a monitoring dashboard?

Yes. Poll each player's status API endpoint at regular intervals, aggregate the JSON responses into a monitoring dashboard (Grafana, Nagios, Zabbix, custom). Track uptime, storage usage, temperature, and content version across the entire fleet.

Need Help With Your Project?

Media La Vista provides Tier 1–3 local support across the Middle East. 10-minute response for Partner Club members.

This page is available in English only
هذه الصفحة متوفرة باللغة الإنجليزية فقط
NS
Media La Vista support
Typically replies natively
مرحباً بكم في دعم SpinetiX عبر واتساب

كيف يمكنني مساعدتكم في حلول اللوحات الرقمية، أو البنية التحتية AV/IT، أو منتجات SpinetiX؟
Hello and welcome to SpinetiX Support on WhatsApp.

How can I help you with digital signage solutions, AV/IT infrastructure, or SpinetiX products?