Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
api-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
api-client
Merge requests
!100
add new endpoint to select element
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add new endpoint to select element
shopping-cart-elements
into
master
Overview
0
Commits
3
Pipelines
1
Changes
1
Merged
Manon Blanco
requested to merge
shopping-cart-elements
into
master
5 years ago
Overview
0
Commits
3
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fbdc3dbd
3 commits,
5 years ago
1 file
+
251
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
arkindex/schema.yml
+
251
−
0
Options
@@ -3431,6 +3431,257 @@ paths:
security
:
[]
tags
:
-
search
/api/v1/elements/selection/
:
delete
:
description
:
Remove a specific element or delete any selection
operationId
:
RemoveSelection
parameters
:
[]
requestBody
:
content
:
application/json
:
schema
:
properties
:
id
:
format
:
uuid
type
:
string
x-name
:
body
responses
:
'
204'
:
description
:
'
'
tags
:
-
elements
get
:
description
:
List all elements selected
operationId
:
ListSelection
parameters
:
-
description
:
A page number within the paginated result set.
in
:
query
name
:
page
required
:
false
schema
:
type
:
integer
-
description
:
Number of results to return per page.
in
:
query
name
:
page_size
required
:
false
schema
:
type
:
integer
responses
:
'
200'
:
content
:
application/json
:
schema
:
properties
:
count
:
example
:
123
type
:
integer
next
:
nullable
:
true
type
:
string
number
:
example
:
123
type
:
integer
previous
:
nullable
:
true
type
:
string
results
:
items
:
properties
:
corpus
:
properties
:
id
:
format
:
uuid
type
:
string
name
:
maxLength
:
250
type
:
string
public
:
type
:
boolean
readOnly
:
true
required
:
-
name
type
:
object
id
:
format
:
uuid
readOnly
:
true
type
:
string
name
:
maxLength
:
250
type
:
string
thumbnail_put_url
:
readOnly
:
true
type
:
string
thumbnail_url
:
readOnly
:
true
type
:
string
type
:
type
:
string
zone
:
properties
:
center
:
items
:
type
:
integer
type
:
array
id
:
format
:
uuid
type
:
string
image
:
properties
:
height
:
readOnly
:
true
type
:
integer
id
:
format
:
uuid
readOnly
:
true
type
:
string
path
:
readOnly
:
true
type
:
string
s3_url
:
readOnly
:
true
type
:
string
status
:
enum
:
-
checked
-
unchecked
-
error
url
:
readOnly
:
true
type
:
string
width
:
readOnly
:
true
type
:
integer
required
:
-
status
type
:
object
polygon
:
items
:
type
:
array
type
:
array
url
:
readOnly
:
true
type
:
string
readOnly
:
true
required
:
-
polygon
-
center
-
image
type
:
object
required
:
-
type
-
name
type
:
array
type
:
object
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'
:
content
:
application/json
:
schema
:
properties
:
corpus
:
properties
:
id
:
format
:
uuid
type
:
string
name
:
maxLength
:
250
type
:
string
public
:
type
:
boolean
readOnly
:
true
required
:
-
name
type
:
object
id
:
format
:
uuid
readOnly
:
true
type
:
string
name
:
maxLength
:
250
type
:
string
thumbnail_put_url
:
readOnly
:
true
type
:
string
thumbnail_url
:
readOnly
:
true
type
:
string
type
:
type
:
string
zone
:
properties
:
center
:
items
:
type
:
integer
type
:
array
id
:
format
:
uuid
type
:
string
image
:
properties
:
height
:
readOnly
:
true
type
:
integer
id
:
format
:
uuid
readOnly
:
true
type
:
string
path
:
readOnly
:
true
type
:
string
s3_url
:
readOnly
:
true
type
:
string
status
:
enum
:
-
checked
-
unchecked
-
error
url
:
readOnly
:
true
type
:
string
width
:
readOnly
:
true
type
:
integer
required
:
-
status
type
:
object
polygon
:
items
:
type
:
array
type
:
array
url
:
readOnly
:
true
type
:
string
readOnly
:
true
required
:
-
polygon
-
center
-
image
type
:
object
required
:
-
type
-
name
description
:
'
'
tags
:
-
elements
/api/v1/elements/{id}/
:
get
:
description
:
List all parents and children of a single element
Loading