zhulijian1 commented on a change in pull request #129: wip: refactor apis
URL: https://github.com/apache/servicecomb-kie/pull/129#discussion_r399090992
 
 

 ##########
 File path: docs/api.yaml
 ##########
 @@ -190,7 +159,30 @@ paths:
           description: ""
           schema:
             $ref: '#/definitions/DocResponseSingleKey'
-  /v1/{project}/kie/revision/{key_id}:
+    delete:
+      summary: delete key by kv ID.
+      operationId: Delete
+      parameters:
+        - name: project
+          in: path
+          required: true
+          type: string
+        - name: kv_id
+          in: path
+          required: true
+          type: string
+      consumes:
+        - '*/*'
+      produces:
+        - '*/*'
+      responses:
+        "204":
+          description: delete success
+        "404":
+          description: no key value found for deletion
 
 Review comment:
   现在是delete个指定的资源了,应该404

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to