new oc-shared
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
},
|
||||
"basePath": "/oc",
|
||||
"paths": {
|
||||
"/shared/workspace/": {
|
||||
"/shared/collaborative_area/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.GetAll",
|
||||
"operationId": "CollaborativeAreaController.GetAll",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{shared_workspace} models.shared_workspace"
|
||||
@@ -30,10 +30,10 @@
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "create shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Create",
|
||||
"operationId": "CollaborativeAreaController.Create",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
@@ -52,10 +52,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/rule/": {
|
||||
"/shared/collaborative_area/rule/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "find rule by id\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.GetAll",
|
||||
@@ -67,7 +67,7 @@
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "create rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Create",
|
||||
@@ -89,10 +89,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/rule/search/{search}": {
|
||||
"/shared/collaborative_area/rule/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "search rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Search",
|
||||
@@ -112,10 +112,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/rule/{id}": {
|
||||
"/shared/collaborative_area/rule/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "find rule by id\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Get",
|
||||
@@ -136,7 +136,7 @@
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "create rules\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Update",
|
||||
@@ -166,7 +166,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace/rule"
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "delete the rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Delete",
|
||||
@@ -186,13 +186,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/search/{search}": {
|
||||
"/shared/collaborative_area/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "search shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Search",
|
||||
"operationId": "CollaborativeAreaController.Search",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -209,13 +209,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}": {
|
||||
"/shared/collaborative_area/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Get",
|
||||
"operationId": "CollaborativeAreaController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -233,10 +233,10 @@
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "create shared workspaces\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Update",
|
||||
"operationId": "CollaborativeAreaController.Update",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -263,10 +263,10 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "delete the shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Delete",
|
||||
"operationId": "CollaborativeAreaController.Delete",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -283,13 +283,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/peer/{id2}": {
|
||||
"/shared/collaborative_area/{id}/peer/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Peer",
|
||||
"operationId": "CollaborativeAreaController.Add Peer",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -314,10 +314,10 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Remove Peer",
|
||||
"operationId": "CollaborativeAreaController.Remove Peer",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -341,13 +341,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/rule/{id2}": {
|
||||
"/shared/collaborative_area/{id}/rule/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Rule",
|
||||
"operationId": "CollaborativeAreaController.Add Rule",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -372,10 +372,10 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Remove Rule",
|
||||
"operationId": "CollaborativeAreaController.Remove Rule",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -399,13 +399,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/workflow/{id2}": {
|
||||
"/shared/collaborative_area/{id}/workflow/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Workflow",
|
||||
"operationId": "CollaborativeAreaController.Add Workflow",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -430,10 +430,10 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Remove Workflow",
|
||||
"operationId": "CollaborativeAreaController.Remove Workflow",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -457,13 +457,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/workspace/{id}/workspace/{id2}": {
|
||||
"/shared/collaborative_area/{id}/workspace/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Workspace",
|
||||
"operationId": "CollaborativeAreaController.Add Workspace",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -488,10 +488,10 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/workspace"
|
||||
"shared/collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "SharedWorkspaceController.Add Workspace",
|
||||
"operationId": "CollaborativeAreaController.Add Workspace",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
@@ -560,11 +560,11 @@
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "shared/workspace",
|
||||
"name": "shared/collaborative_area",
|
||||
"description": "Operations about workspace\n"
|
||||
},
|
||||
{
|
||||
"name": "shared/workspace/rule",
|
||||
"name": "shared/collaborative_area/rule",
|
||||
"description": "Operations about rule\n"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -12,24 +12,24 @@ info:
|
||||
url: https://opensource.org/license/mit
|
||||
basePath: /oc
|
||||
paths:
|
||||
/shared/workspace/:
|
||||
/shared/collaborative_area/:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.GetAll
|
||||
operationId: CollaborativeAreaController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared_workspace} models.shared_workspace'
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
create shared workspace
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Create
|
||||
operationId: CollaborativeAreaController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: data
|
||||
@@ -40,14 +40,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}:
|
||||
/shared/collaborative_area/{id}:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Get
|
||||
operationId: CollaborativeAreaController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -59,11 +59,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
put:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
create shared workspaces
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Update
|
||||
operationId: CollaborativeAreaController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -81,11 +81,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
delete the shared workspace
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Delete
|
||||
operationId: CollaborativeAreaController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -95,14 +95,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} delete success!'
|
||||
/shared/workspace/{id}/peer/{id2}:
|
||||
/shared/collaborative_area/{id}/peer/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Peer
|
||||
operationId: CollaborativeAreaController.Add Peer
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -119,11 +119,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Remove Peer
|
||||
operationId: CollaborativeAreaController.Remove Peer
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -138,14 +138,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}/rule/{id2}:
|
||||
/shared/collaborative_area/{id}/rule/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Rule
|
||||
operationId: CollaborativeAreaController.Add Rule
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -162,11 +162,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Remove Rule
|
||||
operationId: CollaborativeAreaController.Remove Rule
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -181,14 +181,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}/workflow/{id2}:
|
||||
/shared/collaborative_area/{id}/workflow/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Workflow
|
||||
operationId: CollaborativeAreaController.Add Workflow
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -205,11 +205,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Remove Workflow
|
||||
operationId: CollaborativeAreaController.Remove Workflow
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -224,14 +224,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/{id}/workspace/{id2}:
|
||||
/shared/collaborative_area/{id}/workspace/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Workspace
|
||||
operationId: CollaborativeAreaController.Add Workspace
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -248,11 +248,11 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Add Workspace
|
||||
operationId: CollaborativeAreaController.Add Workspace
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
@@ -267,10 +267,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/workspace/rule/:
|
||||
/shared/collaborative_area/rule/:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
find rule by id
|
||||
<br>
|
||||
@@ -280,7 +280,7 @@ paths:
|
||||
description: '{rule} models.rule'
|
||||
post:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
create rule
|
||||
<br>
|
||||
@@ -295,10 +295,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
/shared/workspace/rule/{id}:
|
||||
/shared/collaborative_area/rule/{id}:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
find rule by id
|
||||
<br>
|
||||
@@ -314,7 +314,7 @@ paths:
|
||||
description: '{rule} models.rule'
|
||||
put:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
create rules
|
||||
<br>
|
||||
@@ -336,7 +336,7 @@ paths:
|
||||
description: '{rule} models.rule'
|
||||
delete:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
delete the rule
|
||||
<br>
|
||||
@@ -350,10 +350,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} delete success!'
|
||||
/shared/workspace/rule/search/{search}:
|
||||
/shared/collaborative_area/rule/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace/rule
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
search rule
|
||||
<br>
|
||||
@@ -367,14 +367,14 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
/shared/workspace/search/{search}:
|
||||
/shared/collaborative_area/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- shared/workspace
|
||||
- shared/collaborative_area
|
||||
description: |-
|
||||
search shared workspace
|
||||
<br>
|
||||
operationId: SharedWorkspaceController.Search
|
||||
operationId: CollaborativeAreaController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
@@ -417,10 +417,10 @@ definitions:
|
||||
title: workspace
|
||||
type: object
|
||||
tags:
|
||||
- name: shared/workspace
|
||||
- name: shared/collaborative_area
|
||||
description: |
|
||||
Operations about workspace
|
||||
- name: shared/workspace/rule
|
||||
- name: shared/collaborative_area/rule
|
||||
description: |
|
||||
Operations about rule
|
||||
- name: version
|
||||
|
||||
Reference in New Issue
Block a user