Neo oc-whared for local deployment
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
},
|
||||
"basePath": "/oc",
|
||||
"paths": {
|
||||
"/shared/collaborative_area/": {
|
||||
"/collaborative_area/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.GetAll",
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "create shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Create",
|
||||
@@ -52,144 +52,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/rule/": {
|
||||
"/collaborative_area/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "find rule by id\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.GetAll",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} models.rule"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "create rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Create",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "body",
|
||||
"name": "data",
|
||||
"description": "body for data content (Json format)",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} models.rule"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/rule/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "search rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Search",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the word search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} models.rule"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/rule/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "find rule by id\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} models.rule"
|
||||
}
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "create rules\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Update",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the rule id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"in": "body",
|
||||
"name": "body",
|
||||
"description": "The rule content",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/models.rule"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} models.rule"
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area/rule"
|
||||
],
|
||||
"description": "delete the rule\n\u003cbr\u003e",
|
||||
"operationId": "RuleController.Delete",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "The id you want to delete",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{rule} delete success!"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/search/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "search shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Search",
|
||||
@@ -209,10 +75,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/{id}": {
|
||||
"/collaborative_area/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Get",
|
||||
@@ -233,7 +99,7 @@
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "create shared workspaces\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Update",
|
||||
@@ -263,7 +129,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "delete the shared workspace\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Delete",
|
||||
@@ -283,10 +149,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/{id}/peer/{id2}": {
|
||||
"/collaborative_area/{id}/peer/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Add Peer",
|
||||
@@ -314,7 +180,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Remove Peer",
|
||||
@@ -341,10 +207,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/{id}/rule/{id2}": {
|
||||
"/collaborative_area/{id}/rule/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Add Rule",
|
||||
@@ -372,7 +238,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Remove Rule",
|
||||
@@ -399,10 +265,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/{id}/workflow/{id2}": {
|
||||
"/collaborative_area/{id}/workflow/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Add Workflow",
|
||||
@@ -430,7 +296,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Remove Workflow",
|
||||
@@ -457,10 +323,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/shared/collaborative_area/{id}/workspace/{id2}": {
|
||||
"/collaborative_area/{id}/workspace/{id2}": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Add Workspace",
|
||||
@@ -488,7 +354,7 @@
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"shared/collaborative_area"
|
||||
"collaborative_area"
|
||||
],
|
||||
"description": "find shared workspace by id\n\u003cbr\u003e",
|
||||
"operationId": "CollaborativeAreaController.Add Workspace",
|
||||
@@ -560,13 +426,9 @@
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "shared/collaborative_area",
|
||||
"name": "collaborative_area",
|
||||
"description": "Operations about workspace\n"
|
||||
},
|
||||
{
|
||||
"name": "shared/collaborative_area/rule",
|
||||
"description": "Operations about rule\n"
|
||||
},
|
||||
{
|
||||
"name": "version",
|
||||
"description": "VersionController operations for Version\n"
|
||||
|
||||
@@ -12,10 +12,10 @@ info:
|
||||
url: https://opensource.org/license/mit
|
||||
basePath: /oc
|
||||
paths:
|
||||
/shared/collaborative_area/:
|
||||
/collaborative_area/:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -25,7 +25,7 @@ paths:
|
||||
description: '{shared_workspace} models.shared_workspace'
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
create shared workspace
|
||||
<br>
|
||||
@@ -40,10 +40,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/collaborative_area/{id}:
|
||||
/collaborative_area/{id}:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -59,7 +59,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
put:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
create shared workspaces
|
||||
<br>
|
||||
@@ -81,7 +81,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
delete the shared workspace
|
||||
<br>
|
||||
@@ -95,10 +95,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} delete success!'
|
||||
/shared/collaborative_area/{id}/peer/{id2}:
|
||||
/collaborative_area/{id}/peer/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -119,7 +119,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -138,10 +138,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/collaborative_area/{id}/rule/{id2}:
|
||||
/collaborative_area/{id}/rule/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -162,7 +162,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -181,10 +181,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/collaborative_area/{id}/workflow/{id2}:
|
||||
/collaborative_area/{id}/workflow/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -205,7 +205,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -224,10 +224,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/collaborative_area/{id}/workspace/{id2}:
|
||||
/collaborative_area/{id}/workspace/{id2}:
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -248,7 +248,7 @@ paths:
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
find shared workspace by id
|
||||
<br>
|
||||
@@ -267,110 +267,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{shared workspace} models.shared_workspace'
|
||||
/shared/collaborative_area/rule/:
|
||||
/collaborative_area/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
find rule by id
|
||||
<br>
|
||||
operationId: RuleController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
post:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
create rule
|
||||
<br>
|
||||
operationId: RuleController.Create
|
||||
parameters:
|
||||
- in: body
|
||||
name: data
|
||||
description: body for data content (Json format)
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/json'
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
/shared/collaborative_area/rule/{id}:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
find rule by id
|
||||
<br>
|
||||
operationId: RuleController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
put:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
create rules
|
||||
<br>
|
||||
operationId: RuleController.Update
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the rule id you want to get
|
||||
required: true
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The rule content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.rule'
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
delete:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
delete the rule
|
||||
<br>
|
||||
operationId: RuleController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: The id you want to delete
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} delete success!'
|
||||
/shared/collaborative_area/rule/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area/rule
|
||||
description: |-
|
||||
search rule
|
||||
<br>
|
||||
operationId: RuleController.Search
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the word search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{rule} models.rule'
|
||||
/shared/collaborative_area/search/{search}:
|
||||
get:
|
||||
tags:
|
||||
- shared/collaborative_area
|
||||
- collaborative_area
|
||||
description: |-
|
||||
search shared workspace
|
||||
<br>
|
||||
@@ -417,12 +317,9 @@ definitions:
|
||||
title: workspace
|
||||
type: object
|
||||
tags:
|
||||
- name: shared/collaborative_area
|
||||
- name: collaborative_area
|
||||
description: |
|
||||
Operations about workspace
|
||||
- name: shared/collaborative_area/rule
|
||||
description: |
|
||||
Operations about rule
|
||||
- name: version
|
||||
description: |
|
||||
VersionController operations for Version
|
||||
|
||||
Reference in New Issue
Block a user