Razer Chroma SDK  v2.12
Razer Chroma SDK REST Documentation

Introduction

This document describes the REST API (Application Programming Interface) and the core components that are required to develop and run a Chroma-enabled application.

URI

The Chroma SDK RESTful server has the following URI http://localhost:54235/razer/chromasdk and https://chromasdk.io:54236/razer/chromasdk . Send a POST with the application information to this URI to get an instance URI.

Keeping the connection alive

The Chroma SDK RESTful server has a default time out of 15 secs for each connections. The client must maintain the connection by sending commands to the server within this time out value, if not the server will close the connection. For example sending PUT periodically (1s) to http://localhost:123456/chromasdk/heartbeat .