OC-SHARED -> add route
This commit is contained in:
@@ -283,6 +283,96 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/peer/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Peer",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id2",
|
||||
"description": "the id you want to add",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{shared workspace} models.shared_workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/workflow/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Workflow",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id2",
|
||||
"description": "the id you want to add",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{shared workspace} models.shared_workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/workspace/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Workspace",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id2",
|
||||
"description": "the id you want to add",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{shared workspace} models.shared_workspace"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/version/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
||||
@@ -95,6 +95,72 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} delete success!'
|
||||
/shared/workspace/{id}/peer/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Peer
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: path
|
||||
name: id2
|
||||
description: the id you want to add
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}/workflow/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Workflow
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: path
|
||||
name: id2
|
||||
description: the id you want to add
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}/workspace/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Workspace
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: path
|
||||
name: id2
|
||||
description: the id you want to add
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/rule/:
|
||||
get:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user