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
Commits
e19ad65b
Commit
e19ad65b
authored
5 years ago
by
Erwan Rouchet
Committed by
Bastien Abadie
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add region endpoints
parent
d1ed951a
No related branches found
No related tags found
No related merge requests found
Pipeline
#28189
passed
5 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arkindex/schema.yml
+259
-0
259 additions, 0 deletions
arkindex/schema.yml
with
259 additions
and
0 deletions
arkindex/schema.yml
+
259
−
0
View file @
e19ad65b
...
...
@@ -163,6 +163,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -346,6 +347,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -397,6 +399,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -456,6 +459,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -507,6 +511,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -844,6 +849,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -1735,6 +1741,150 @@ paths:
security
:
[]
tags
:
-
elements
/api/v1/element/{id}/region/
:
post
:
description
:
Create a region on an element
operationId
:
CreateRegion
parameters
:
-
description
:
'
'
in
:
path
name
:
id
required
:
true
schema
:
type
:
string
requestBody
:
content
:
application/json
:
schema
:
properties
:
analyser
:
type
:
string
class_name
:
type
:
string
confidence
:
type
:
number
polygon
:
type
:
array
required
:
-
class_name
-
confidence
-
polygon
-
analyser
x-name
:
body
responses
:
'
200'
:
content
:
application/json
:
schema
:
properties
:
analyser
:
type
:
string
class_name
:
type
:
string
confidence
:
type
:
number
id
:
readOnly
:
true
type
:
string
polygon
:
type
:
array
required
:
-
class_name
-
confidence
-
polygon
-
analyser
tags
:
-
elements
/api/v1/element/{id}/regions/
:
get
:
description
:
List all regions on an element
operationId
:
ListElementRegions
parameters
:
-
description
:
'
'
in
:
path
name
:
id
required
:
true
schema
:
type
:
string
-
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
:
confidence
:
nullable
:
true
type
:
number
id
:
type
:
string
ml_class
:
properties
:
id
:
type
:
string
name
:
type
:
string
required
:
-
name
type
:
object
source
:
properties
:
id
:
type
:
string
internal
:
type
:
boolean
revision
:
type
:
string
slug
:
type
:
string
type
:
enum
:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
-
revision
-
internal
type
:
object
zone
:
properties
:
center
:
type
:
array
id
:
type
:
string
image_url
:
type
:
string
polygon
:
type
:
array
url
:
readOnly
:
true
type
:
string
required
:
-
polygon
-
center
-
image_url
type
:
object
required
:
-
source
-
ml_class
-
zone
security
:
[]
tags
:
-
elements
/api/v1/element/{id}/transcriptions/
:
get
:
description
:
List all transcriptions for an element, filtered by type
...
...
@@ -1790,6 +1940,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -2073,6 +2224,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -3812,6 +3964,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -3823,6 +3976,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -3869,6 +4023,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -3880,6 +4035,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -3944,6 +4100,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
version
:
type
:
string
required
:
...
...
@@ -4936,6 +5093,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -5038,6 +5196,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -5186,6 +5345,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -5236,6 +5396,103 @@ paths:
security
:
[]
tags
:
-
search
/api/v1/region/{id}/
:
get
:
description
:
Retrieve detailed information about a region
operationId
:
RetrieveRegion
parameters
:
-
description
:
'
'
in
:
path
name
:
id
required
:
true
schema
:
type
:
string
responses
:
'
200'
:
content
:
application/json
:
schema
:
properties
:
confidence
:
nullable
:
true
type
:
number
elements
:
items
:
properties
:
id
:
type
:
string
name
:
type
:
string
type
:
enum
:
-
volume
-
register
-
act
-
page
-
surface
required
:
-
type
-
name
type
:
array
id
:
type
:
string
ml_class
:
properties
:
id
:
type
:
string
name
:
type
:
string
required
:
-
name
type
:
object
source
:
properties
:
id
:
type
:
string
internal
:
type
:
boolean
revision
:
type
:
string
slug
:
type
:
string
type
:
enum
:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
-
revision
-
internal
type
:
object
zone
:
properties
:
center
:
type
:
array
id
:
type
:
string
image_url
:
type
:
string
polygon
:
type
:
array
url
:
readOnly
:
true
type
:
string
required
:
-
polygon
-
center
-
image_url
type
:
object
required
:
-
source
-
ml_class
-
zone
-
elements
security
:
[]
tags
:
-
elements
/api/v1/surface/{id}/
:
get
:
description
:
Retrieve detailed information about a surface
...
...
@@ -5291,6 +5548,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
@@ -5393,6 +5651,7 @@ paths:
-
classifier
-
recognizer
-
ner
-
dla
required
:
-
type
-
slug
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment