changeset 179:0c7b6db47bb9

Add "from" parameter to list request
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 02 Nov 2016 10:36:27 +0000
parents 729645a0e0ce
children 7fc204108068
files capnp/piper.capnp json/schema/listrequest.json
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/capnp/piper.capnp	Wed Oct 12 12:52:14 2016 +0100
+++ b/capnp/piper.capnp	Wed Nov 02 10:36:27 2016 +0000
@@ -119,6 +119,7 @@
       [ adaptInputDomain, adaptChannelCount, adaptBufferSize ];
 
 struct ListRequest {
+    from               @0  :List(Text);
 }
 
 struct ListResponse {
--- a/json/schema/listrequest.json	Wed Oct 12 12:52:14 2016 +0100
+++ b/json/schema/listrequest.json	Wed Nov 02 10:36:27 2016 +0000
@@ -4,6 +4,11 @@
     "description": "schema for a list request for feature extractors; may be served in the params field of a list-method rpcrequest",
     "type": "object",
     "properties": {
+        "from": {
+            "type": "array",
+            "items": { "type": "string" }
+        }
     },
+    "required": [],
     "additionalProperties": false
 }