From ffa38b96fa789ded20dadcc6f98d0a32f0b3f605 Mon Sep 17 00:00:00 2001
From: Valentin Rigal <rigal@teklia.com>
Date: Thu, 1 Aug 2019 15:22:23 +0000
Subject: [PATCH] Update CreateImage endpoint

---
 arkindex/schema.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arkindex/schema.yml b/arkindex/schema.yml
index da9ab62..7a6b164 100644
--- a/arkindex/schema.yml
+++ b/arkindex/schema.yml
@@ -16,7 +16,7 @@ info:
     name: Teklia
     url: https://www.teklia.com/
   title: Arkindex API
-  version: 0.9.6-dev
+  version: 0.9.6.dev0
 openapi: 3.0.2
 paths:
   /api/v1/act/{id}/:
@@ -2961,6 +2961,11 @@ paths:
                   type: string
                 hash:
                   type: string
+                path:
+                  type: string
+                server:
+                  type: integer
+                  writeOnly: true
               required:
               - hash
         x-name: body
@@ -2982,7 +2987,6 @@ paths:
                     readOnly: true
                     type: string
                   path:
-                    readOnly: true
                     type: string
                   s3_put_url:
                     readOnly: true
@@ -6357,8 +6361,8 @@ paths:
       - ponos
   /ponos/v1/agent/refresh/:
     post:
-      operationId: RefreshAgentToken
       description: Refresh a Ponos agent token when it expires
+      operationId: RefreshAgentToken
       parameters: []
       requestBody:
         content:
-- 
GitLab