0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-22 07:55:45 +02:00

re-order managed-ssh-key path entries

This commit is contained in:
pomidorry 2026-06-03 23:37:56 +03:00
parent 0bbfd6aa38
commit 4717162f02
2 changed files with 172 additions and 172 deletions

View File

@ -3267,6 +3267,89 @@
}
}
},
"/orgs/{org}/managed-ssh-key": {
"get": {
"produces": [
"application/json"
],
"tags": [
"organization"
],
"summary": "Get SSH public key for organization mirroring",
"operationId": "orgGetManagedSSHKey",
"parameters": [
{
"type": "string",
"description": "name of the organization",
"name": "org",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "SSH public key",
"schema": {
"type": "object",
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
}
}
},
"403": {
"$ref": "#/responses/forbidden"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/orgs/{org}/managed-ssh-key/regenerate": {
"post": {
"produces": [
"application/json"
],
"tags": [
"organization"
],
"summary": "Regenerate SSH keypair for organization mirroring",
"operationId": "orgRegenerateManagedSSHKey",
"parameters": [
{
"type": "string",
"description": "name of the organization",
"name": "org",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "New SSH public key",
"schema": {
"type": "object",
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
}
}
},
"403": {
"$ref": "#/responses/forbidden"
}
}
}
},
"/orgs/{org}/members": {
"get": {
"produces": [
@ -3378,89 +3461,6 @@
}
}
},
"/orgs/{org}/managed-ssh-key": {
"get": {
"produces": [
"application/json"
],
"tags": [
"organization"
],
"summary": "Get SSH public key for organization mirroring",
"operationId": "orgGetManagedSSHKey",
"parameters": [
{
"type": "string",
"description": "name of the organization",
"name": "org",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "SSH public key",
"schema": {
"type": "object",
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
}
}
},
"403": {
"$ref": "#/responses/forbidden"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/orgs/{org}/managed-ssh-key/regenerate": {
"post": {
"produces": [
"application/json"
],
"tags": [
"organization"
],
"summary": "Regenerate SSH keypair for organization mirroring",
"operationId": "orgRegenerateManagedSSHKey",
"parameters": [
{
"type": "string",
"description": "name of the organization",
"name": "org",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "New SSH public key",
"schema": {
"type": "object",
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
}
}
},
"403": {
"$ref": "#/responses/forbidden"
}
}
}
},
"/orgs/{org}/public_members": {
"get": {
"produces": [

View File

@ -13987,6 +13987,95 @@
]
}
},
"/orgs/{org}/managed-ssh-key": {
"get": {
"operationId": "orgGetManagedSSHKey",
"parameters": [
{
"description": "name of the organization",
"in": "path",
"name": "org",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
},
"type": "object"
}
}
},
"description": "SSH public key"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/notFound"
}
},
"summary": "Get SSH public key for organization mirroring",
"tags": [
"organization"
]
}
},
"/orgs/{org}/managed-ssh-key/regenerate": {
"post": {
"operationId": "orgRegenerateManagedSSHKey",
"parameters": [
{
"description": "name of the organization",
"in": "path",
"name": "org",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
},
"type": "object"
}
}
},
"description": "New SSH public key"
},
"403": {
"$ref": "#/components/responses/forbidden"
}
},
"summary": "Regenerate SSH keypair for organization mirroring",
"tags": [
"organization"
]
}
},
"/orgs/{org}/members": {
"get": {
"operationId": "orgListMembers",
@ -14106,95 +14195,6 @@
]
}
},
"/orgs/{org}/managed-ssh-key": {
"get": {
"operationId": "orgGetManagedSSHKey",
"parameters": [
{
"description": "name of the organization",
"in": "path",
"name": "org",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
},
"type": "object"
}
}
},
"description": "SSH public key"
},
"403": {
"$ref": "#/components/responses/forbidden"
},
"404": {
"$ref": "#/components/responses/notFound"
}
},
"summary": "Get SSH public key for organization mirroring",
"tags": [
"organization"
]
}
},
"/orgs/{org}/managed-ssh-key/regenerate": {
"post": {
"operationId": "orgRegenerateManagedSSHKey",
"parameters": [
{
"description": "name of the organization",
"in": "path",
"name": "org",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"fingerprint": {
"type": "string"
},
"public_key": {
"type": "string"
}
},
"type": "object"
}
}
},
"description": "New SSH public key"
},
"403": {
"$ref": "#/components/responses/forbidden"
}
},
"summary": "Regenerate SSH keypair for organization mirroring",
"tags": [
"organization"
]
}
},
"/orgs/{org}/public_members": {
"get": {
"operationId": "orgListPublicMembers",