From d5e2446475994d1787fc5bbd5c50f9c0d638da9c Mon Sep 17 00:00:00 2001 From: badaix Date: Sun, 26 Feb 2017 00:56:25 +0100 Subject: [PATCH] remove outdated json files --- doc/json_rpc_api/client.json | 28 ------ doc/json_rpc_api/client.schema.json | 112 --------------------- doc/json_rpc_api/server.json | 15 --- doc/json_rpc_api/server.schema.json | 60 ----------- doc/json_rpc_api/server_status.json | 99 ------------------ doc/json_rpc_api/server_status.schema.json | 42 -------- doc/json_rpc_api/stream.json | 18 ---- doc/json_rpc_api/stream.schema.json | 72 ------------- 8 files changed, 446 deletions(-) delete mode 100644 doc/json_rpc_api/client.json delete mode 100644 doc/json_rpc_api/client.schema.json delete mode 100644 doc/json_rpc_api/server.json delete mode 100644 doc/json_rpc_api/server.schema.json delete mode 100644 doc/json_rpc_api/server_status.json delete mode 100644 doc/json_rpc_api/server_status.schema.json delete mode 100644 doc/json_rpc_api/stream.json delete mode 100644 doc/json_rpc_api/stream.schema.json diff --git a/doc/json_rpc_api/client.json b/doc/json_rpc_api/client.json deleted file mode 100644 index a2737dc9..00000000 --- a/doc/json_rpc_api/client.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "config": { - "latency": 0, - "name": "Schlafzimmer", - "stream": "pipe:///tmp/snapfifo", - "volume": { - "muted": false, - "percent": 100 - } - }, - "connected": false, - "host": { - "arch": "armv6l", - "ip": "192.168.0.24", - "mac": "80:1f:02:ed:fd:e0", - "name": "wohnzimmer", - "os": "Raspbian GNU/Linux 8.0 (jessie)" - }, - "lastSeen": { - "sec": 1464339375, - "usec": 480894 - }, - "snapclient": { - "name": "Snapclient", - "protocolVersion": 2, - "version": "0.7.0" - } -} diff --git a/doc/json_rpc_api/client.schema.json b/doc/json_rpc_api/client.schema.json deleted file mode 100644 index 989f6e29..00000000 --- a/doc/json_rpc_api/client.schema.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "config": { - "type": "object", - "properties": { - "latency": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "stream": { - "type": "string" - }, - "volume": { - "type": "object", - "properties": { - "muted": { - "type": "boolean" - }, - "percent": { - "type": "integer" - } - }, - "required": [ - "muted", - "percent" - ] - } - }, - "required": [ - "latency", - "name", - "stream", - "volume" - ] - }, - "connected": { - "type": "boolean" - }, - "host": { - "type": "object", - "properties": { - "arch": { - "type": "string" - }, - "ip": { - "type": "string" - }, - "mac": { - "type": "string" - }, - "name": { - "type": "string" - }, - "os": { - "type": "string" - } - }, - "required": [ - "arch", - "ip", - "mac", - "name", - "os" - ] - }, - "lastSeen": { - "type": "object", - "properties": { - "sec": { - "type": "integer" - }, - "usec": { - "type": "integer" - } - }, - "required": [ - "sec", - "usec" - ] - }, - "snapclient": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "protocolVersion": { - "type": "integer" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "protocolVersion", - "version" - ] - } - }, - "required": [ - "config", - "connected", - "host", - "lastSeen", - "snapclient" - ] -} diff --git a/doc/json_rpc_api/server.json b/doc/json_rpc_api/server.json deleted file mode 100644 index 511b9931..00000000 --- a/doc/json_rpc_api/server.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "host": { - "arch": "x86_64", - "ip": "", - "mac": "", - "name": "elaine", - "os": "Linux Mint 17.3 Rosa" - }, - "snapserver": { - "controlProtocolVersion": 1, - "name": "Snapserver", - "protocolVersion": 1, - "version": "0.7.0" - } -} diff --git a/doc/json_rpc_api/server.schema.json b/doc/json_rpc_api/server.schema.json deleted file mode 100644 index cfb638fc..00000000 --- a/doc/json_rpc_api/server.schema.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "host": { - "type": "object", - "properties": { - "arch": { - "type": "string" - }, - "ip": { - "type": "string" - }, - "mac": { - "type": "string" - }, - "name": { - "type": "string" - }, - "os": { - "type": "string" - } - }, - "required": [ - "arch", - "ip", - "mac", - "name", - "os" - ] - }, - "snapserver": { - "type": "object", - "properties": { - "controlProtocolVersion": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "protocolVersion": { - "type": "integer" - }, - "version": { - "type": "string" - } - }, - "required": [ - "controlProtocolVersion", - "name", - "protocolVersion", - "version" - ] - } - }, - "required": [ - "host", - "snapserver" - ] -} diff --git a/doc/json_rpc_api/server_status.json b/doc/json_rpc_api/server_status.json deleted file mode 100644 index 0640eecd..00000000 --- a/doc/json_rpc_api/server_status.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "id": 1, - "jsonrpc": "2.0", - "result": { - "clients": [ - { - "config": { - "latency": 0, - "name": "Schlafzimmer", - "stream": "pipe:///tmp/snapfifo", - "volume": { - "muted": false, - "percent": 100 - } - }, - "connected": false, - "host": { - "arch": "armv6l", - "ip": "192.168.0.24", - "mac": "80:1f:02:ed:fd:e0", - "name": "wohnzimmer", - "os": "Raspbian GNU/Linux 8.0 (jessie)" - }, - "lastSeen": { - "sec": 1464339375, - "usec": 480894 - }, - "snapclient": { - "name": "Snapclient", - "protocolVersion": 2, - "version": "0.7.0" - } - }, - { - "config": { - "latency": 0, - "name": "Küche", - "stream": "pipe:///tmp/snapfifo", - "volume": { - "muted": false, - "percent": 100 - } - }, - "connected": true, - "host": { - "arch": "armv6l", - "ip": "192.168.0.31", - "mac": "80:1f:02:ff:79:6e", - "name": "kueche", - "os": "Raspbian GNU/Linux 8 (jessie)" - }, - "lastSeen": { - "sec": 1464358728, - "usec": 910393 - }, - "snapclient": { - "name": "Snapclient", - "protocolVersion": 2, - "version": "0.7.0" - } - } - ], - "server": { - "host": { - "arch": "x86_64", - "ip": "", - "mac": "", - "name": "elaine", - "os": "Linux Mint 17.3 Rosa" - }, - "snapserver": { - "controlProtocolVersion": 1, - "name": "Snapserver", - "protocolVersion": 1, - "version": "0.7.0" - } - }, - "streams": [ - { - "id": "pipe:///tmp/snapfifo", - "status": "playing", - "uri": { - "fragment": "", - "host": "", - "path": "/tmp/snapfifo", - "query": { - "buffer_ms": "20", - "codec": "flac", - "mode": "", - "name": "Radio", - "sampleformat": "48000:16:2" - }, - "raw": "pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:16:2", - "scheme": "pipe" - } - } - ] - } -} diff --git a/doc/json_rpc_api/server_status.schema.json b/doc/json_rpc_api/server_status.schema.json deleted file mode 100644 index 764f73ce..00000000 --- a/doc/json_rpc_api/server_status.schema.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "jsonrpc": { - "type": "string" - }, - "result": { - "type": "object", - "properties": { - "clients": { - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/badaix/snapcast/master/doc/json_rpc_api/client.schema.json" - } - }, - "server": { - "$ref": "https://raw.githubusercontent.com/badaix/snapcast/master/doc/json_rpc_api/server.schema.json" - }, - "streams": { - "type": "array", - "items": { - "$ref": "https://raw.githubusercontent.com/badaix/snapcast/master/doc/json_rpc_api/stream.schema.json" - } - } - }, - "required": [ - "clients", - "server", - "streams" - ] - } - }, - "required": [ - "id", - "jsonrpc", - "result" - ] -} diff --git a/doc/json_rpc_api/stream.json b/doc/json_rpc_api/stream.json deleted file mode 100644 index 60b1086f..00000000 --- a/doc/json_rpc_api/stream.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "id": "pipe:///tmp/snapfifo", - "status": "playing", - "uri": { - "fragment": "", - "host": "", - "path": "/tmp/snapfifo", - "query": { - "buffer_ms": "20", - "codec": "flac", - "mode": "", - "name": "Radio", - "sampleformat": "48000:16:2" - }, - "raw": "pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:16:2", - "scheme": "pipe" - } -} diff --git a/doc/json_rpc_api/stream.schema.json b/doc/json_rpc_api/stream.schema.json deleted file mode 100644 index 06d7fc54..00000000 --- a/doc/json_rpc_api/stream.schema.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "uri": { - "type": "object", - "properties": { - "fragment": { - "type": "string" - }, - "host": { - "type": "string" - }, - "path": { - "type": "string" - }, - "query": { - "type": "object", - "properties": { - "buffer_ms": { - "type": "string" - }, - "codec": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "name": { - "type": "string" - }, - "sampleformat": { - "type": "string" - } - }, - "required": [ - "buffer_ms", - "codec", - "mode", - "name", - "sampleformat" - ] - }, - "raw": { - "type": "string" - }, - "scheme": { - "type": "string" - } - }, - "required": [ - "fragment", - "host", - "path", - "query", - "raw", - "scheme" - ] - } - }, - "required": [ - "id", - "status", - "uri" - ] -}