new oc-shared

This commit is contained in:
mr
2024-09-27 14:08:14 +02:00
parent 18fe4b01ed
commit 3b50954ae4
8 changed files with 259 additions and 247 deletions

View File

@@ -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"
},
{