Leash Response Schema¶
This is the Schema of the data the server sends back as a response.
The ‘*‘ signifies a required Field.
Schema for requests from Saxs Leash to Saxs Server
Type: | object |
---|---|
Contains: | |
Required: | True |
JSON Path: |
Example JSON:
{"data": {},"result": ""}
data¶
Type: | object |
---|---|
Contains: | cal, Error, syncplot, directory, attachments, threads, dircontent, history, fileslist, stat, filename, IntegralParameters, graphs |
Required: | True |
JSON Path: |
Example JSON:
{"data": {}}
directory¶
Directory this queue is going to use. New files in other directories are going to be ignored.
Type: | array() items: |
---|---|
Required: | False |
Default: | [u’.’, u’‘, u’‘] |
JSON Path: |
Example JSON:
{"directory": [".","",""]}
attachments¶
type: | object |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"attachments": {}}
dircontent¶
type: | object |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"dircontent": {}}
stat¶
type: | object |
---|---|
Contains: | queue length, images processed, time, start time, mergecount |
Required: | False |
JSON Path: |
Example JSON:
{"stat": {}}
queue length¶
Type: | integer |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"queue length": 0}
images processed¶
Type: | integer |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"images processed": 0}
start time¶
Type: | number |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"start time": 0}
mergecount¶
Type: | number |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"mergecount": 0}
IntegralParameters¶
type: | object |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"IntegralParameters": {}}
graphs¶
Type: | array() items: {kind, conf, columnLabels, array} |
---|---|
Required: | False |
JSON Path: |
Example JSON:
{"graphs": []}
columnLabels¶
Type: | array() items: string |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"columnLabels": []}