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 d262fd7 commit d877416
Showing 1 changed file with 344 additions and 0 deletions.
344 changes: 344 additions & 0 deletions docs/manager/rest-reference/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,305 @@
}
},
"schemas": {
"AllowedGroupsModel": {
"properties": {
"add": {
"default": [],
"items": {
"type": "string"
},
"title": "Add",
"type": "array"
},
"remove": {
"default": [],
"items": {
"type": "string"
},
"title": "Remove",
"type": "array"
}
},
"title": "AllowedGroupsModel",
"type": "object"
},
"ContainerRegistryType": {
"enum": [
"docker",
"harbor",
"harbor2",
"github",
"gitlab",
"ecr",
"ecr-public",
"local"
],
"title": "ContainerRegistryType",
"type": "string"
},
"PatchContainerRegistryRequestModel": {
"properties": {
"id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"registry_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Registry Name"
},
"type": {
"anyOf": [
{
"$ref": "#/components/schemas/ContainerRegistryType"
},
{
"type": "null"
}
],
"default": null
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Username"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"ssl_verify": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Ssl Verify"
},
"is_global": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Global"
},
"extra": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
},
"allowed_groups": {
"anyOf": [
{
"$ref": "#/components/schemas/AllowedGroupsModel"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "PatchContainerRegistryRequestModel",
"type": "object"
},
"PatchContainerRegistryResponseModel": {
"properties": {
"id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Id"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"registry_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Registry Name"
},
"type": {
"anyOf": [
{
"$ref": "#/components/schemas/ContainerRegistryType"
},
{
"type": "null"
}
],
"default": null
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Username"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Password"
},
"ssl_verify": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Ssl Verify"
},
"is_global": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Is Global"
},
"extra": {
"anyOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Extra"
}
},
"title": "PatchContainerRegistryResponseModel",
"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 +1517,51 @@
"description": "\n**Preconditions:**\n* User privilege required.\n* Manager status required: RUNNING\n"
}
},
"/container-registries/{registry_id}": {
"patch": {
"operationId": "container-registries.patch_container_registry",
"tags": [
"container-registries"
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PatchContainerRegistryResponseModel"
}
}
}
}
},
"security": [
{
"TokenAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PatchContainerRegistryRequestModel"
}
}
}
},
"parameters": [
{
"name": "registry_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"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 d877416

Please sign in to comment.