Skip to content

Generic

Generic command for testing
This not an actual endpoint, but a means to test for commands not explicitly defined in the HTTP API.


Generic command

GET
/{command}

Generic command to the device. All calls will follow the format /httpapi.asp?command={command}.

The actual command is passed as a path parameter. With this, you can test out any command that is not explicitly defined in this API.

The response could be a simple 'OK' or an object with data. The actual response will depend on the command sent. If you get an 'unknown command' response, the command is not supported by the device.

Examples:

  • 'getStatusEx' will do an /httpapi.asp?command=getStatusEx
  • 'setPlayerCmd:pause' will do an /httpapi.asp?command=setPlayerCmd:pause
  • 'setPlayerCmd:resume' will do an /httpapi.asp?command=setPlayerCmd:resume

Parameters

Path Parameters

command*

The actual command to send to the device. Note that the command is case-sensitive.

Type
string
Required
Example"getStatusEx"

Responses

Successful response

text/html
JSON
"OK"

Playground

Variables
Key
Value

Samples


Powered by VitePress OpenAPI