description changes
This commit is contained in:
parent
5382df7722
commit
23ef0e725a
16
input.yml
16
input.yml
@ -25,7 +25,7 @@ paths:
|
|||||||
- input
|
- input
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Array of decision objects
|
description: Array of input objects
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/InputResponse'
|
$ref: '#/definitions/InputResponse'
|
||||||
"404":
|
"404":
|
||||||
@ -44,18 +44,12 @@ paths:
|
|||||||
produces:
|
produces:
|
||||||
- "application/json"
|
- "application/json"
|
||||||
parameters:
|
parameters:
|
||||||
- name: "date"
|
- name: "description"
|
||||||
in: "formData"
|
in: "formData"
|
||||||
description: "Date of recording"
|
description: "JSON"
|
||||||
required: true
|
required: true
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date"
|
format: "date"
|
||||||
- name: "device_id"
|
|
||||||
in: "formData"
|
|
||||||
description: "ID of recording device"
|
|
||||||
required: true
|
|
||||||
type: "integer"
|
|
||||||
format: "int64"
|
|
||||||
- name: "file"
|
- name: "file"
|
||||||
in: "formData"
|
in: "formData"
|
||||||
description: "Wave file to upload"
|
description: "Wave file to upload"
|
||||||
@ -89,7 +83,7 @@ paths:
|
|||||||
|
|
||||||
/output/{tagID}:
|
/output/{tagID}:
|
||||||
get:
|
get:
|
||||||
summary: Get decision by ID
|
summary: Get input object by ID
|
||||||
operationId: getInput
|
operationId: getInput
|
||||||
tags:
|
tags:
|
||||||
- input
|
- input
|
||||||
@ -102,7 +96,7 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Decision object
|
description: input object
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/InputSingeResponse'
|
$ref: '#/definitions/InputSingeResponse'
|
||||||
"404":
|
"404":
|
||||||
|
Loading…
Reference in New Issue
Block a user