add updates to results and sample services

This commit is contained in:
2021-08-17 16:28:27 +02:00
parent 06df9ec4eb
commit dba9c3b11b
2 changed files with 238 additions and 0 deletions

View File

@@ -33,6 +33,40 @@ paths:
'application/JSON':
schema:
$ref: '#/components/schemas/ApiResponse'
/output/count:
get:
tags:
- output
summary: Get number of decision objects
operationId: getcount
responses:
200:
description: Number of decision objects
content:
'application/JSON':
schema:
$ref: '#/components/schemas/Count'
/output/page/{pageNum}:
get:
tags:
- output
summary: Get decision objects (paginated, filter is always 10)
operationId: getpage
parameters:
- name: pageNum
in: path
description: Number of page
required: true
schema:
type: integer
minimum: 0
responses:
200:
description: Array of decision objects
content:
'application/JSON':
schema:
$ref: '#/components/schemas/ResultObjects'
/output/filter/negative:
get:
tags:
@@ -172,3 +206,7 @@ components:
type: string
message:
type: string
Count:
type: integer
properties:
minimum: 0