mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 05:39:32 +02:00
re-order managed-ssh-key path entries
This commit is contained in:
1 parent
0bbfd6aa38
commit
4717162f02
2 files changed
+172
-172
No files matched your search
Generated
+83
-83
@@ -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": {
|
"/orgs/{org}/members": {
|
||||||
"get": {
|
"get": {
|
||||||
"produces": [
|
"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": {
|
"/orgs/{org}/public_members": {
|
||||||
"get": {
|
"get": {
|
||||||
"produces": [
|
"produces": [
|
||||||
|
|||||||
Generated
+89
-89
@@ -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": {
|
"/orgs/{org}/members": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "orgListMembers",
|
"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": {
|
"/orgs/{org}/public_members": {
|
||||||
"get": {
|
"get": {
|
||||||
"operationId": "orgListPublicMembers",
|
"operationId": "orgListPublicMembers",
|
||||||
|
|||||||
Reference in new issue
Block a user