From 92fe0c94ec026b898e3d937beb61ed980585178a Mon Sep 17 00:00:00 2001 From: Rebecca Wheeler <rebecca.wheeler@wisc.edu> Date: Mon, 24 Mar 2025 17:25:33 -0500 Subject: [PATCH] Edit POST_cert.json --- EI-IICS-Team/SSN_POC/POST_cert.json | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/EI-IICS-Team/SSN_POC/POST_cert.json b/EI-IICS-Team/SSN_POC/POST_cert.json index 389bac4..34df266 100644 --- a/EI-IICS-Team/SSN_POC/POST_cert.json +++ b/EI-IICS-Team/SSN_POC/POST_cert.json @@ -18,13 +18,18 @@ "summary" : null, "description" : null, "operationId" : "POST_cert", - "produces" : [ "application/json" ], - "consumes" : [ "application/json" ], + "produces" : [ "application/vnd.api+json" ], + "consumes" : [ "application/vnd.api+json" ], "parameters" : [ { - "data": { - "type": "certificates", - "attributes": { - "certificate": "payloadFromFile" + "name" : "certificates", + "in" : "body", + "description" : null, + "required" : false, + "type" : "string", + "data": { + "type": "certificates", + "attributes": { + "certificate": "payloadFromFile" } } } ], -- GitLab