mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
started implementing support for tags
This commit is contained in:
@@ -42,11 +42,23 @@ type JobMetricStatistics {
|
||||
max: Float!
|
||||
}
|
||||
|
||||
type JobTag {
|
||||
id: ID!
|
||||
tagType: String!
|
||||
tagName: String!
|
||||
}
|
||||
|
||||
type Query {
|
||||
jobById(jobId: String!): Job
|
||||
jobs(filter: JobFilterList, page: PageRequest, order: OrderByInput): JobResultList!
|
||||
jobsStatistics(filter: JobFilterList): JobsStatistics!
|
||||
jobMetrics(jobId: String!, metrics: [String]): [JobMetricWithName]!
|
||||
|
||||
# Return all known tags or, if jobId is specified, only tags from this job
|
||||
jobTags(jobId: String): [JobTag!]!
|
||||
|
||||
# For a tag ID, return the ID's of all jobs with that tag
|
||||
jobsByTag(tag: ID!): [ID!]!
|
||||
}
|
||||
|
||||
input StartJobInput {
|
||||
|
Reference in New Issue
Block a user