mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 19:06:55 +00:00
3272d0f31f
Support refresh flag in debug image samples Remove silent_dequeue_fail param to prevent status change in case task wasn't queued Add organizations.get_user_companies Fix reset should also reset active_duration Add api_version to server.info
105 lines
4.2 KiB
Plaintext
105 lines
4.2 KiB
Plaintext
_description: "This service provides organization level operations"
|
|
|
|
get_tags {
|
|
"2.8" {
|
|
description: "Get all the user and system tags used for the company tasks and models"
|
|
request {
|
|
type: object
|
|
properties {
|
|
include_system {
|
|
description: "If set to 'true' then the list of the system tags is also returned. The default value is 'false'"
|
|
type: boolean
|
|
default: false
|
|
}
|
|
filter {
|
|
description: "Filter on entities to collect tags from"
|
|
type: object
|
|
properties {
|
|
tags {
|
|
description: "The list of tag values to filter by. Use 'null' value to specify empty tags. Use '__Snot' value to specify that the following value should be excluded"
|
|
type: array
|
|
items {type: string}
|
|
}
|
|
system_tags {
|
|
description: "The list of system tag values to filter by. Use 'null' value to specify empty system tags. Use '__Snot' value to specify that the following value should be excluded"
|
|
type: array
|
|
items {type: string}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
response {
|
|
type: object
|
|
properties {
|
|
tags {
|
|
description: "The list of unique tag values"
|
|
type: array
|
|
items {type: string}
|
|
}
|
|
system_tags {
|
|
description: "The list of unique system tag values. Returned only if 'include_system' is set to 'true' in the request"
|
|
type: array
|
|
items {type: string}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
get_user_companies {
|
|
"2.12" {
|
|
description: "Get details for all companies associated with the current user"
|
|
request {
|
|
type: object
|
|
properties {}
|
|
additionalProperties: false
|
|
}
|
|
response {
|
|
type: object
|
|
properties {
|
|
companies {
|
|
description: "List of company information entries. First company is the user's own company"
|
|
type: array
|
|
items {
|
|
type: object
|
|
properties {
|
|
id {
|
|
description: "Company ID"
|
|
type: string
|
|
}
|
|
name {
|
|
description: "Company name"
|
|
type: string
|
|
}
|
|
allocated {
|
|
description: "Number of users allocated for company"
|
|
type: integer
|
|
}
|
|
owners {
|
|
description: "Company owners"
|
|
type: array
|
|
items {
|
|
type: object
|
|
properties {
|
|
id {
|
|
description: "User ID"
|
|
type: string
|
|
}
|
|
name {
|
|
description: "User Name"
|
|
type: string
|
|
}
|
|
avatar {
|
|
description: "User avatar (URL or base64-encoded data)"
|
|
type: string
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |