Skip to content

Commit

Permalink
chore: update api schema dump
Browse files Browse the repository at this point in the history
Co-authored-by: octodog <[email protected]>
  • Loading branch information
jopemachine and lablup-octodog committed Jan 30, 2025
1 parent b4f6797 commit aa71db8
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions docs/manager/rest-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,46 @@
}
},
"schemas": {
"AssociationRequestModel": {
"properties": {
"registry_id": {
"description": "Container registry row's ID",
"title": "Registry Id",
"type": "string"
},
"group_id": {
"description": "Group row's ID",
"title": "Group Id",
"type": "string"
}
},
"required": [
"registry_id",
"group_id"
],
"title": "AssociationRequestModel",
"type": "object"
},
"DisassociationRequestModel": {
"properties": {
"registry_id": {
"description": "Container registry row's ID",
"title": "Registry Id",
"type": "string"
},
"group_id": {
"description": "Group row's ID",
"title": "Group Id",
"type": "string"
}
},
"required": [
"registry_id",
"group_id"
],
"title": "DisassociationRequestModel",
"type": "object"
},
"VFolderPermission": {
"description": "Permissions for a virtual folder given to a specific access key.\nRW_DELETE includes READ_WRITE and READ_WRITE includes READ_ONLY.",
"enum": [
Expand Down Expand Up @@ -1218,6 +1258,64 @@
"description": "\n**Preconditions:**\n* User privilege required.\n* Manager status required: RUNNING\n"
}
},
"/container-registries/associate-with-group": {
"post": {
"operationId": "container-registries.associate_with_group",
"tags": [
"container-registries"
],
"responses": {
"200": {
"description": "Successful response"
}
},
"security": [
{
"TokenAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssociationRequestModel"
}
}
}
},
"parameters": [],
"description": "\n**Preconditions:**\n* Superadmin privilege required.\n* Manager status required: one of FROZEN, RUNNING\n"
}
},
"/container-registries/disassociate-with-group": {
"post": {
"operationId": "container-registries.disassociate_with_group",
"tags": [
"container-registries"
],
"responses": {
"200": {
"description": "Successful response"
}
},
"security": [
{
"TokenAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DisassociationRequestModel"
}
}
}
},
"parameters": [],
"description": "\n**Preconditions:**\n* Superadmin privilege required.\n* Manager status required: one of FROZEN, RUNNING\n"
}
},
"/config/resource-slots": {
"get": {
"operationId": "config.get_resource_slots",
Expand Down

0 comments on commit aa71db8

Please sign in to comment.