Skip to content
Snippets Groups Projects
Commit b6938588 authored by Nathan Chambron's avatar Nathan Chambron
Browse files

modify api to give deleteTrackable the trackableId through the path

parent 94d807ec
No related branches found
No related tags found
3 merge requests!3Feature/new api specs,!2Develop,!1Feature/new api specs
...@@ -57,25 +57,6 @@ paths: ...@@ -57,25 +57,6 @@ paths:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/Error' $ref: '#/components/schemas/Error'
delete:
summary: Deletes a trackable
operationId: deleteTrackable
tags:
- trackables
parameters:
- name: trackableId
in: path
description: trackable id to delete
required: true
schema:
type: string
responses:
'200':
description: OK
'400':
description: Invalid ID supplied
'404':
description: trackable not found
get: get:
summary: returns the list of all trackables defined by the world storage. summary: returns the list of all trackables defined by the world storage.
operationId: getTrackables operationId: getTrackables
...@@ -121,7 +102,26 @@ paths: ...@@ -121,7 +102,26 @@ paths:
'400': '400':
description: "Invalid ID supplied" description: "Invalid ID supplied"
'404': '404':
description: "Trackable not found" description: "Trackable not found"
delete:
summary: Deletes a trackable
operationId: deleteTrackable
tags:
- trackables
parameters:
- name: trackableId
in: path
description: trackable id to delete
required: true
schema:
type: string
responses:
'200':
description: OK
'400':
description: Invalid ID supplied
'404':
description: trackable not found
components: components:
schemas: schemas:
trackable: trackable:
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment