new oc-shared
This commit is contained in:
@@ -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