From e8942179be6c3b86cd35eb86def4f568d63927f9 Mon Sep 17 00:00:00 2001
From: Eva Bardou <ebardou@teklia.com>
Date: Wed, 10 Jun 2020 13:45:24 +0000
Subject: [PATCH] Categorize new ponos endpoints thanks to patch.yml

---
 arkindex/project/openapi/patch.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arkindex/project/openapi/patch.yml b/arkindex/project/openapi/patch.yml
index 1816f04bc6..81bce500c6 100644
--- a/arkindex/project/openapi/patch.yml
+++ b/arkindex/project/openapi/patch.yml
@@ -330,6 +330,12 @@ paths:
         - agentAuth: []
       tags:
         - ponos
+    post:
+      description: List all artifacts linked to a task
+      security:
+        - agentAuth: []
+      tags:
+        - ponos
   /ponos/v1/task/{id}/definition/:
     get:
       description: Retrieve a Ponos task
@@ -352,3 +358,19 @@ paths:
       description: Update a workflow's status and tasks
       tags:
       - ponos
+  /ponos/v1/task/{id}/artifact/{path}:
+    get:
+      description: Redirect to the S3 url of an artifact in order to download it
+      operationId: DownloadArtifact
+      security:
+        - agentAuth: []
+      tags:
+        - ponos
+  /ponos/v1/task/:
+    post:
+      description: Create a task with a parent
+      operationId: CreateNewTask
+      security:
+        - agentAuth: []
+      tags:
+        - ponos
-- 
GitLab