clearml-server/apiserver/schema/services/_common.conf

161 lines
4.1 KiB
Plaintext
Raw Normal View History

field_filter {
type: object
description: Filter on a field that includes combination of 'any' or 'all' included and excluded terms
properties {
any {
type: object
description: All the terms in 'any' condition are combined with 'or' operation
properties {
"include" {
type: array
items {type: string}
}
exclude {
type: array
items {type: string}
}
}
}
all {
type: object
description: All the terms in 'all' condition are combined with 'and' operation
properties {
"include" {
type: array
items {type: string}
}
exclude {
type: array
items {type: string}
}
}
}
op {
type: string
description: The operation between 'any' and 'all' parts of the filter if both are provided
default: and
enum: [and, or]
}
}
}
metadata_item {
type: object
properties {
key {
type: string
description: The key uniquely identifying the metadata item inside the given entity
}
type {
type: string
description: The type of the metadata item
}
value {
type: string
description: The value stored in the metadata item
}
}
}
2022-12-21 16:30:54 +00:00
task_status_enum {
type: string
enum: [
created
queued
in_progress
stopped
published
publishing
closed
failed
completed
unknown
]
}
multi_field_pattern_data {
type: object
properties {
pattern {
description: "Pattern string (regex)"
type: string
}
fields {
description: "List of field names"
type: array
items { type: string }
}
}
}
2019-06-10 21:24:35 +00:00
credentials {
type: object
properties {
access_key {
type: string
description: Credentials access key
}
secret_key {
type: string
description: Credentials secret key
}
label {
type: string
description: Optional credentials label
}
2019-06-10 21:24:35 +00:00
}
}
2021-05-03 14:52:54 +00:00
batch_operation {
request {
type: object
required: [ids]
properties {
ids {
type: array
items {type: string}
}
}
}
response {
2021-05-03 15:01:29 +00:00
type: object
properties {
2021-05-03 15:03:54 +00:00
succeeded {
2021-05-03 15:07:37 +00:00
type: array
items {
type: object
properties {
id: {
description: ID of the succeeded entity
type: string
}
}
}
2021-05-03 15:03:54 +00:00
}
2021-05-03 15:07:37 +00:00
failed {
2021-05-03 15:01:29 +00:00
type: array
items {
2021-05-03 14:52:54 +00:00
type: object
properties {
2021-05-03 15:01:29 +00:00
id: {
description: ID of the failed entity
2021-05-03 14:52:54 +00:00
type: string
}
2021-05-03 15:01:29 +00:00
error: {
description: Error info
2021-05-03 14:52:54 +00:00
type: object
2021-05-03 15:01:29 +00:00
properties {
codes {
type: array
items {type: integer}
}
msg {
type: string
}
data {
type: object
additionalProperties: True
}
}
2021-05-03 14:52:54 +00:00
}
}
}
}
}
}
}