Skip to content

Commit 4afa2cb

Browse files
chore: update api schema dump
Co-authored-by: octodog <mu001@lablup.com>
1 parent 82c26ae commit 4afa2cb

1 file changed

Lines changed: 79 additions & 0 deletions

File tree

docs/manager/rest-reference/openapi.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,19 @@
570570
"scope_type": {
571571
"$ref": "#/components/schemas/AppConfigScopeType",
572572
"description": "Scope at which fragments may be written (public | domain | user)."
573+
},
574+
"rank": {
575+
"anyOf": [
576+
{
577+
"type": "integer"
578+
},
579+
{
580+
"type": "null"
581+
}
582+
],
583+
"default": null,
584+
"description": "Merge rank applied to fragments under this entry (low to high; higher wins). Defaults to the scope type's default rank (public=100, domain=200, user=300).",
585+
"title": "Rank"
573586
}
574587
},
575588
"required": [
@@ -705,6 +718,7 @@
705718
"enum": [
706719
"config_name",
707720
"scope_type",
721+
"rank",
708722
"created_at",
709723
"updated_at"
710724
],
@@ -954,6 +968,35 @@
954968
"title": "SearchAppConfigAllowListInput",
955969
"type": "object"
956970
},
971+
"UpdateAppConfigAllowListInput": {
972+
"description": "Input for updating an app config allow-list entry.\n\nOnly ``rank`` is updatable — the identity pair (``config_name``, ``scope_type``)\nis immutable (purge and recreate to change it).",
973+
"properties": {
974+
"id": {
975+
"description": "App config allow-list entry id to update.",
976+
"format": "uuid",
977+
"title": "Id",
978+
"type": "string"
979+
},
980+
"rank": {
981+
"anyOf": [
982+
{
983+
"type": "integer"
984+
},
985+
{
986+
"type": "null"
987+
}
988+
],
989+
"default": null,
990+
"description": "New merge rank applied to fragments under this entry (low to high; higher wins). Omit to leave unchanged.",
991+
"title": "Rank"
992+
}
993+
},
994+
"required": [
995+
"id"
996+
],
997+
"title": "UpdateAppConfigAllowListInput",
998+
"type": "object"
999+
},
9571000
"CreateAppConfigDefinitionInput": {
9581001
"description": "Input for registering a new app config definition.",
9591002
"properties": {
@@ -38611,6 +38654,42 @@
3861138654
],
3861238655
"description": "Get an app config allow-list entry by id (superadmin only).\n\n**Preconditions:**\n* Superadmin privilege required.\n"
3861338656
},
38657+
"patch": {
38658+
"operationId": "v2/app-config-allow-list.admin_update",
38659+
"tags": [
38660+
"v2/app-config-allow-list"
38661+
],
38662+
"responses": {
38663+
"200": {
38664+
"description": "Successful response"
38665+
}
38666+
},
38667+
"security": [
38668+
{
38669+
"TokenAuth": []
38670+
}
38671+
],
38672+
"requestBody": {
38673+
"content": {
38674+
"application/json": {
38675+
"schema": {
38676+
"$ref": "#/components/schemas/UpdateAppConfigAllowListInput"
38677+
}
38678+
}
38679+
}
38680+
},
38681+
"parameters": [
38682+
{
38683+
"name": "app_config_allow_list_id",
38684+
"in": "path",
38685+
"required": true,
38686+
"schema": {
38687+
"type": "string"
38688+
}
38689+
}
38690+
],
38691+
"description": "Update an app config allow-list entry's rank by id (superadmin only).\n\n**Preconditions:**\n* Superadmin privilege required.\n"
38692+
},
3861438693
"delete": {
3861538694
"operationId": "v2/app-config-allow-list.admin_purge",
3861638695
"tags": [

0 commit comments

Comments
 (0)