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
d1ed951a
Commit
d1ed951a
authored
5 years ago
by
Erwan Rouchet
Committed by
Bastien Abadie
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update Ponos endpoints
parent
522e5dfc
No related branches found
No related tags found
No related merge requests found
Pipeline
#28183
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
+45
-16
45 additions, 16 deletions
arkindex/schema.yml
with
45 additions
and
16 deletions
arkindex/schema.yml
+
45
−
16
View file @
d1ed951a
components
:
securitySchemes
:
agentAuth
:
scheme
:
Agent
type
:
http
sessionAuth
:
in
:
cookie
name
:
arkindex.auth
...
...
@@ -6036,6 +6039,7 @@ paths:
-
users
/ponos/v1/agent/
:
post
:
description
:
Register a Ponos agent
operationId
:
CreateAgent
parameters
:
[]
requestBody
:
...
...
@@ -6050,6 +6054,7 @@ paths:
gpu_count
:
type
:
integer
gpu_names
:
nullable
:
true
type
:
string
hostname
:
type
:
string
...
...
@@ -6060,7 +6065,6 @@ paths:
-
hostname
-
cpu_cores
-
cpu_frequency
-
gpu_names
-
gpu_count
x-name
:
body
responses
:
...
...
@@ -6076,6 +6080,7 @@ paths:
gpu_count
:
type
:
integer
gpu_names
:
nullable
:
true
type
:
string
hostname
:
type
:
string
...
...
@@ -6089,10 +6094,13 @@ paths:
-
hostname
-
cpu_cores
-
cpu_frequency
-
gpu_names
-
gpu_count
security
:
[]
tags
:
-
ponos
/ponos/v1/agent/actions/
:
get
:
description
:
Retrieve any actions the current agent should perform
operationId
:
RetrieveAgentActions
parameters
:
[]
responses
:
...
...
@@ -6116,6 +6124,10 @@ paths:
type
:
array
required
:
-
actions
security
:
-
agentAuth
:
[]
tags
:
-
ponos
/ponos/v1/task/{id}/
:
get
:
description
:
Retrieve a Ponos task status
...
...
@@ -6143,9 +6155,11 @@ paths:
type
:
string
logs
:
type
:
string
parent
:
parents
:
items
:
type
:
string
readOnly
:
true
type
:
string
type
:
array
run
:
readOnly
:
true
type
:
integer
...
...
@@ -6213,9 +6227,11 @@ paths:
type
:
string
logs
:
type
:
string
parent
:
parents
:
items
:
type
:
string
readOnly
:
true
type
:
string
type
:
array
run
:
readOnly
:
true
type
:
integer
...
...
@@ -6237,6 +6253,10 @@ paths:
-
state
-
logs
-
full_log
security
:
-
agentAuth
:
[]
tags
:
-
ponos
put
:
operationId
:
UpdateTask
parameters
:
...
...
@@ -6284,9 +6304,11 @@ paths:
type
:
string
logs
:
type
:
string
parent
:
parents
:
items
:
type
:
string
readOnly
:
true
type
:
string
type
:
array
run
:
readOnly
:
true
type
:
integer
...
...
@@ -6308,6 +6330,10 @@ paths:
-
state
-
logs
-
full_log
security
:
-
agentAuth
:
[]
tags
:
-
ponos
/ponos/v1/task/{id}/artifacts/
:
get
:
operationId
:
ListTaskArtifacts
...
...
@@ -6334,9 +6360,13 @@ paths:
required
:
-
task_id
-
s3_url
security
:
-
agentAuth
:
[]
tags
:
-
ponos
/ponos/v1/task/{id}/definition/
:
get
:
operationId
:
RetrieveTask
operationId
:
RetrieveTask
Definition
parameters
:
-
description
:
A UUID string identifying this task.
in
:
path
...
...
@@ -6372,11 +6402,8 @@ paths:
-
image
-
command
-
env
/ponos/v1/task/{id}/log/
:
get
:
description
:
Retrieve the full task log as plain text
operationId
:
RetrieveTaskLog
security
:
[]
security
:
-
agentAuth
:
[]
tags
:
-
ponos
/ponos/v1/workflow/{id}/
:
...
...
@@ -6419,9 +6446,11 @@ paths:
id
:
readOnly
:
true
type
:
string
parent
:
parents
:
items
:
type
:
string
readOnly
:
true
type
:
string
type
:
array
run
:
readOnly
:
true
type
:
integer
...
...
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