From 55e78b54c4383a14f163670b06380f28f8a8e6d1 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Wed, 27 Sep 2023 09:20:26 +0200 Subject: [PATCH] [ACTIVITI-4914] Add changes to activiti-api --- definitions/activiti-api.json | 55 ++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 8 deletions(-) diff --git a/definitions/activiti-api.json b/definitions/activiti-api.json index 58059f431..9dc872388 100644 --- a/definitions/activiti-api.json +++ b/definitions/activiti-api.json @@ -2469,21 +2469,40 @@ ], "parameters": [ { - "in": "body", - "name": "content", - "description": "content that workflow was started with", + "name": "sourceId", + "in": "query", + "description": "sourceId", "required": true, - "schema": { - "$ref": "#/definitions/RelatedContentRepresentation" - } + "type": "string" + }, + { + "name": "source", + "in": "query", + "description": "source", + "required": true, + "type": "string" + }, + { + "name": "size", + "in": "query", + "description": "size", + "required": false, + "type": "number" + }, + { + "name": "page", + "in": "query", + "description": "page", + "required": false, + "type": "number" } ], "responses": { "200": { "description": "OK", "schema": { - "type": "array", - "$ref": "#/definitions/RelatedProcessTask" + "type": "object", + "$ref": "#/definitions/ResultListDataRepresentationRelatedProcessTask" } } }, @@ -15042,6 +15061,26 @@ "type": "string" } } + }, + "ResultListDataRepresentationRelatedProcessTask": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/RelatedProcessTask" + } + }, + "size": { + "type": "number" + }, + "start": { + "type": "number" + }, + "total": { + "type": "number" + } + } } } }