Skip to content

Commit 2177b3f

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

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": {
@@ -38613,6 +38656,42 @@
3861338656
],
3861438657
"description": "Get an app config allow-list entry by id (superadmin only).\n\n**Preconditions:**\n* Superadmin privilege required.\n"
3861538658
},
38659+
"patch": {
38660+
"operationId": "v2/app-config-allow-list.admin_update",
38661+
"tags": [
38662+
"v2/app-config-allow-list"
38663+
],
38664+
"responses": {
38665+
"200": {
38666+
"description": "Successful response"
38667+
}
38668+
},
38669+
"security": [
38670+
{
38671+
"TokenAuth": []
38672+
}
38673+
],
38674+
"requestBody": {
38675+
"content": {
38676+
"application/json": {
38677+
"schema": {
38678+
"$ref": "#/components/schemas/UpdateAppConfigAllowListInput"
38679+
}
38680+
}
38681+
}
38682+
},
38683+
"parameters": [
38684+
{
38685+
"name": "app_config_allow_list_id",
38686+
"in": "path",
38687+
"required": true,
38688+
"schema": {
38689+
"type": "string"
38690+
}
38691+
}
38692+
],
38693+
"description": "Update an app config allow-list entry's rank by id (superadmin only).\n\n**Preconditions:**\n* Superadmin privilege required.\n"
38694+
},
3861638695
"delete": {
3861738696
"operationId": "v2/app-config-allow-list.admin_purge",
3861838697
"tags": [

0 commit comments

Comments
 (0)