Skip to content
Snippets Groups Projects

add new endpoint to select element

Merged Manon Blanco requested to merge shopping-cart-elements into master
1 file
+ 29
0
Compare changes
  • Side-by-side
  • Inline
+ 29
0
@@ -3432,6 +3432,15 @@ paths:
tags:
- search
/api/v1/elements/selection/:
delete:
description: Remove a specific element or delete any selection
operationId: RemoveSelection
parameters: []
responses:
'204':
description: ''
tags:
- elements
get:
description: List all elements selected
operationId: ListSelection
@@ -3557,6 +3566,26 @@ paths:
description: ''
tags:
- elements
post:
description: Add a specific element
operationId: AddSelection
parameters: []
requestBody:
content:
application/json:
schema:
properties:
id:
format: uuid
type: string
required:
- id
x-name: body
responses:
'200':
description: ''
tags:
- elements
/api/v1/elements/{id}/:
get:
description: List all parents and children of a single element
Loading