Skip to content

Commit

Permalink
docs: add edge management api 44a (#3234)
Browse files Browse the repository at this point in the history
Co-authored-by: Lenny Chen <lenny.chen@spectrocloud.com>
Co-authored-by: Karl Cardenas <karl@spectrocloud.com>
  • Loading branch information
3 people committed Jul 3, 2024
1 parent faf2edf commit 707b20c
Showing 1 changed file with 134 additions and 8 deletions.
142 changes: 134 additions & 8 deletions docs/api-content/api-docs/edge-v1/emc-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"swagger": "2.0",
"info": {
"title": "Edge Management APIs",
"title": "Local Management APIs",
"version": "v1"
},
"paths": {
Expand Down Expand Up @@ -564,6 +564,42 @@
}
}
},
"/v1/edge-mgmt/edgehosts/current/actions/content/signing-public-key": {
"get": {
"description": "Get the base64 encoded key used to verify the signed content.",
"tags": [
"content"
],
"summary": "Get the public key used to verify the signed content.",
"operationId": "V1GetContentSigningPublicKey",
"responses": {
"200": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/v1ContentSigningKey"
}
},
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/v1Error"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/v1Error"
}
},
"default": {
"description": "generic error response",
"schema": {
"$ref": "#/definitions/apiError"
}
}
}
}
},
"/v1/edge-mgmt/edgehosts/current/actions/reboot": {
"post": {
"description": "Reboot edge host",
Expand Down Expand Up @@ -656,10 +692,16 @@
"parameters": [
{
"type": "file",
"description": "The archive file to be uploaded.",
"description": "The clusterconfig file to be uploaded.",
"name": "uploadFile",
"in": "formData",
"required": true
},
{
"type": "file",
"description": "The signature for the corresponding cluster config to be uploaded.",
"name": "signature",
"in": "formData"
}
],
"responses": {
Expand Down Expand Up @@ -696,6 +738,12 @@
"name": "uploadFile",
"in": "formData",
"required": true
},
{
"type": "file",
"description": "The signature for the corresponding archive file to be uploaded.",
"name": "signature",
"in": "formData"
}
],
"responses": {
Expand Down Expand Up @@ -952,6 +1000,30 @@
}
}
},
"/v1/edge-mgmt/settings": {
"get": {
"description": "Get general settings",
"tags": [
"settings"
],
"summary": "Get general settings",
"operationId": "v1Settings",
"responses": {
"200": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/v1Settings"
}
},
"default": {
"description": "generic error response",
"schema": {
"$ref": "#/definitions/apiError"
}
}
}
}
},
"/v1/ping": {
"get": {
"description": "Ping Service",
Expand Down Expand Up @@ -1679,11 +1751,21 @@
"$ref": "#/definitions/v1ClusterNodePoolStatus"
}
},
"ntpServersApplied": {
"type": "boolean",
"default": false,
"x-isnullable": false
},
"services": {
"type": "array",
"items": {
"$ref": "#/definitions/v1Service"
}
},
"sshKeysApplied": {
"type": "boolean",
"default": false,
"x-isnullable": false
}
}
},
Expand Down Expand Up @@ -1776,6 +1858,21 @@
"Airgap"
]
},
"v1ContentSigningKey": {
"type": "object",
"properties": {
"creationTimestamp": {
"description": "CreationTimestamp is the timestamp when the resource was created.",
"$ref": "#/definitions/v1Time"
},
"description": {
"type": "string"
},
"key": {
"type": "string"
}
}
},
"v1DNS": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -2086,12 +2183,6 @@
"type": "string",
"default": ""
},
"isTwoNodeCandidate": {
"description": "Enable this flag to support 2-Node HA mode. True indicates this edgehost which act as the recovery node. It is a immutable field can be set only during cluster provisioning.",
"type": "boolean",
"default": false,
"x-omitempty": false
},
"nic": {
"description": "Edge native nic",
"$ref": "#/definitions/v1Nic"
Expand All @@ -2103,6 +2194,14 @@
"staticIP": {
"description": "Deprecated. Edge host static IP",
"type": "string"
},
"twoNodeCandidatePriority": {
"description": "Set the edgehost candidate priority as primary or secondary, if the edgehost is nominated as two node candidate",
"type": "string",
"enum": [
"primary",
"secondary"
]
}
}
},
Expand Down Expand Up @@ -2751,6 +2850,9 @@
"name": {
"type": "string"
},
"values": {
"type": "string"
},
"version": {
"type": "string"
}
Expand Down Expand Up @@ -2829,6 +2931,9 @@
"type": {
"type": "string"
},
"values": {
"type": "string"
},
"version": {
"type": "string"
}
Expand Down Expand Up @@ -2985,6 +3090,22 @@
}
}
},
"v1Settings": {
"type": "object",
"properties": {
"hasHarborPack": {
"type": "boolean",
"default": false
},
"installationMode": {
"type": "string",
"enum": [
"airgap",
"connected"
]
}
}
},
"v1State": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -3053,6 +3174,11 @@
"description": "Current user information",
"type": "object",
"properties": {
"disablePasswordUpdate": {
"description": "Flag to indicate if the user is allowed to update the password",
"type": "boolean",
"default": false
},
"sshKeys": {
"description": "Current user's ssh keys",
"type": "array",
Expand Down

0 comments on commit 707b20c

Please sign in to comment.