Skip to content

Commit c2daffe

Browse files
chore: update api schema dump
Co-authored-by: octodog <mu001@lablup.com>
1 parent f223b39 commit c2daffe

3 files changed

Lines changed: 30 additions & 16 deletions

File tree

docs/manager/graphql-reference/supergraph.graphql

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9834,7 +9834,9 @@ type KeypairResourcePolicyV2 implements Node
98349834
"""Allowed vfolder host permissions."""
98359835
allowedVfolderHosts: [VFolderHostPermissionEntry!]!
98369836

9837-
"""Added in 26.4.4. Keypairs assigned to this resource policy."""
9837+
"""
9838+
Added in 26.4.4. Keypairs assigned to this resource policy. Superadmin only — the policy node itself is readable by its own holder.
9839+
"""
98389840
keypairs(filter: KeypairFilter = null, orderBy: [KeypairOrderBy!] = null, before: String = null, after: String = null, first: Int = null, last: Int = null, limit: Int = null, offset: Int = null): KeyPairConnection
98399841
}
98409842

@@ -10597,11 +10599,6 @@ type ModelCardV2 implements Node
1059710599
"""
1059810600
metadata: ModelCardV2Metadata!
1059910601

10600-
"""
10601-
Minimum resource requirements for serving this model. Each entry maps a resource slot (e.g. 'cpu', 'cuda.shares') to its minimum required quantity. Used to filter compatible deployment revision presets via `available_presets`.
10602-
"""
10603-
minResource: [ModelCardV2ResourceSlotEntry!]
10604-
1060510602
"""
1060610603
README content from the model VFolder, typically containing usage instructions and model documentation.
1060710604
"""
@@ -10616,6 +10613,11 @@ type ModelCardV2 implements Node
1061610613
"""Timestamp of the last modification to this model card."""
1061710614
updatedAt: DateTime
1061810615

10616+
"""
10617+
Minimum resource requirements for serving this model. Each entry maps a resource slot (e.g. 'cpu', 'cuda.shares') to its minimum required quantity. Used to filter compatible deployment revision presets via `available_presets`. Read on demand: the requirements are their own table, so a query that does not select this field does not read it.
10618+
"""
10619+
minResource: [ModelCardV2ResourceSlotEntry!]
10620+
1061910621
"""
1062010622
The VFolder that stores this model card's files. Resolved through a DataLoader so that listing many model cards does not trigger N+1 fetches.
1062110623
"""
@@ -13450,10 +13452,15 @@ type NotificationRule implements Node
1345013452
name: String!
1345113453
description: String
1345213454
ruleType: NotificationRuleType!
13453-
channel: NotificationChannel!
13455+
13456+
"""Added in 26.8.0. ID of the channel this rule dispatches through."""
13457+
channelId: UUID!
1345413458
messageTemplate: String!
1345513459
enabled: Boolean!
1345613460
createdAt: DateTime!
13461+
13462+
"""The channel this rule dispatches through."""
13463+
channel: NotificationChannel!
1345713464
}
1345813465

1345913466
"""Added in 26.3.0. Notification rule connection."""

docs/manager/graphql-reference/v2-schema.graphql

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6795,7 +6795,9 @@ type KeypairResourcePolicyV2 implements Node {
67956795
"""Allowed vfolder host permissions."""
67966796
allowedVfolderHosts: [VFolderHostPermissionEntry!]!
67976797

6798-
"""Added in 26.4.4. Keypairs assigned to this resource policy."""
6798+
"""
6799+
Added in 26.4.4. Keypairs assigned to this resource policy. Superadmin only — the policy node itself is readable by its own holder.
6800+
"""
67996801
keypairs(filter: KeypairFilter = null, orderBy: [KeypairOrderBy!] = null, before: String = null, after: String = null, first: Int = null, last: Int = null, limit: Int = null, offset: Int = null): KeyPairConnection
68006802
}
68016803

@@ -7255,11 +7257,6 @@ type ModelCardV2 implements Node {
72557257
"""
72567258
metadata: ModelCardV2Metadata!
72577259

7258-
"""
7259-
Minimum resource requirements for serving this model. Each entry maps a resource slot (e.g. 'cpu', 'cuda.shares') to its minimum required quantity. Used to filter compatible deployment revision presets via `available_presets`.
7260-
"""
7261-
minResource: [ModelCardV2ResourceSlotEntry!]
7262-
72637260
"""
72647261
README content from the model VFolder, typically containing usage instructions and model documentation.
72657262
"""
@@ -7274,6 +7271,11 @@ type ModelCardV2 implements Node {
72747271
"""Timestamp of the last modification to this model card."""
72757272
updatedAt: DateTime
72767273

7274+
"""
7275+
Minimum resource requirements for serving this model. Each entry maps a resource slot (e.g. 'cpu', 'cuda.shares') to its minimum required quantity. Used to filter compatible deployment revision presets via `available_presets`. Read on demand: the requirements are their own table, so a query that does not select this field does not read it.
7276+
"""
7277+
minResource: [ModelCardV2ResourceSlotEntry!]
7278+
72777279
"""
72787280
The VFolder that stores this model card's files. Resolved through a DataLoader so that listing many model cards does not trigger N+1 fetches.
72797281
"""
@@ -9113,10 +9115,15 @@ type NotificationRule implements Node {
91139115
name: String!
91149116
description: String
91159117
ruleType: NotificationRuleType!
9116-
channel: NotificationChannel!
9118+
9119+
"""Added in 26.8.0. ID of the channel this rule dispatches through."""
9120+
channelId: UUID!
91179121
messageTemplate: String!
91189122
enabled: Boolean!
91199123
createdAt: DateTime!
9124+
9125+
"""The channel this rule dispatches through."""
9126+
channel: NotificationChannel!
91209127
}
91219128

91229129
"""Added in 26.3.0. Notification rule connection."""

docs/manager/rest-reference/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52435,7 +52435,7 @@
5243552435
"description": "Retrieve a single user by UUID.\n\n**Preconditions:**\n* User privilege required.\n"
5243652436
},
5243752437
"patch": {
52438-
"operationId": "v2/users.modify_user",
52438+
"operationId": "v2/users.update_user",
5243952439
"tags": [
5244052440
"v2/users"
5244152441
],
@@ -64924,7 +64924,7 @@
6492464924
"description": "Get a preset by ID.\n\n**Preconditions:**\n* Superadmin privilege required.\n"
6492564925
},
6492664926
"patch": {
64927-
"operationId": "resource/prometheus-query-definitions.modify_preset",
64927+
"operationId": "resource/prometheus-query-definitions.update_preset",
6492864928
"tags": [
6492964929
"resource/prometheus-query-definitions"
6493064930
],

0 commit comments

Comments
 (0)