From aad547120ae56b428d2e3ad33a9741e83fba14d0 Mon Sep 17 00:00:00 2001 From: Suyash Gupta Date: Sat, 10 Sep 2022 12:39:24 +0530 Subject: [PATCH] added callback specs --- openapi/task_execution_service.openapi.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/openapi/task_execution_service.openapi.yaml b/openapi/task_execution_service.openapi.yaml index e0dde70..7a3c74d 100644 --- a/openapi/task_execution_service.openapi.yaml +++ b/openapi/task_execution_service.openapi.yaml @@ -151,7 +151,7 @@ paths: '{$request.body#/callback_url}': post: description: |- - The API will send notifications to the callback URL, if provided, + The TES server will send notifications to the callback URL, if provided, when the task status changes. requestBody: content: @@ -675,9 +675,7 @@ components: type: string format: uri description: |- - Optional user-provided callback URL. Note that the URL can be - provided while creating a new task, but it MUST NOT be displayed when - a task or a list of tasks is returned by the TES server. + Optional user-provided callback URL. example: https://myserver.com/send/callback/here inputs: type: array @@ -772,7 +770,7 @@ components: - task_id - state properties: - task_id: + id: type: string description: Task identifier assigned by the server. example: job-0012345