Discovery set up

This commit is contained in:
mr
2026-01-15 13:35:11 +01:00
parent 39e3a6a135
commit 24cb25c350
12 changed files with 1015 additions and 16 deletions

View File

@@ -37,6 +37,58 @@
}
}
},
"/distributed/search/{search}": {
"get": {
"tags": [
"distributed"
],
"description": "search workspace\n\u003cbr\u003e",
"operationId": "DistributedPeerController.Search",
"parameters": [
{
"in": "path",
"name": "search",
"description": "the word search you want to get",
"required": true,
"type": "string"
},
{
"in": "query",
"name": "is_draft",
"description": "false",
"type": "string"
}
],
"responses": {
"200": {
"description": "{workspace} models.workspace"
}
}
}
},
"/distributed/{name}": {
"get": {
"tags": [
"distributed"
],
"description": "find peer by peerid\n\u003cbr\u003e",
"operationId": "DistributedPeerController.Get",
"parameters": [
{
"in": "path",
"name": "id",
"description": "the peer id you want to get",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "{peer} models.peer"
}
}
}
},
"/search/{search}": {
"get": {
"tags": [
@@ -249,6 +301,10 @@
"name": "oc-peer/controllersPeerController",
"description": "Operations about workflow\n"
},
{
"name": "distributed",
"description": "Operations about workflow\n"
},
{
"name": "version",
"description": "VersionController operations for Version\n"

View File

@@ -120,6 +120,44 @@ paths:
responses:
"200":
description: '{peer} models.peer'
/distributed/{name}:
get:
tags:
- distributed
description: |-
find peer by peerid
<br>
operationId: DistributedPeerController.Get
parameters:
- in: path
name: id
description: the peer id you want to get
required: true
type: string
responses:
"200":
description: '{peer} models.peer'
/distributed/search/{search}:
get:
tags:
- distributed
description: |-
search workspace
<br>
operationId: DistributedPeerController.Search
parameters:
- in: path
name: search
description: the word search you want to get
required: true
type: string
- in: query
name: is_draft
description: "false"
type: string
responses:
"200":
description: '{workspace} models.workspace'
/search/{search}:
get:
tags:
@@ -183,6 +221,9 @@ tags:
- name: oc-peer/controllersPeerController
description: |
Operations about workflow
- name: distributed
description: |
Operations about workflow
- name: version
description: |
VersionController operations for Version