Resources added to oc-catalog + proto search
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
"tags": [
|
||||
"data"
|
||||
],
|
||||
"description": "find workflow by id\n\u003cbr\u003e",
|
||||
"description": "find data by id\n\u003cbr\u003e",
|
||||
"operationId": "DataController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
@@ -126,6 +126,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/data/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"data"
|
||||
],
|
||||
"description": "find data by key word\n\u003cbr\u003e",
|
||||
"operationId": "DataController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{data} models.data"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datacenter/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -237,6 +260,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datacenter/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"datacenter"
|
||||
],
|
||||
"description": "find datacenter by key word\n\u003cbr\u003e",
|
||||
"operationId": "DatacenterController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{datacenter} models.datacenter"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/processing/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -348,6 +394,110 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/processing/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"processing"
|
||||
],
|
||||
"description": "find processing by key word\n\u003cbr\u003e",
|
||||
"operationId": "ProcessingController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{processing} models.processing"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/resource/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"resource"
|
||||
],
|
||||
"description": "find resource by id\n\u003cbr\u003e",
|
||||
"operationId": "ResourceController.GetAll",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{resource} models.resource"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/resource/{id}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"resource"
|
||||
],
|
||||
"description": "find resource by id\n\u003cbr\u003e",
|
||||
"operationId": "ResourceController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "the id you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{resource} models.resource"
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"tags": [
|
||||
"resource"
|
||||
],
|
||||
"description": "delete the resource\n\u003cbr\u003e",
|
||||
"operationId": "ResourceController.Delete",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"description": "The id you want to deleteDeleteOne",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{resource} delete success!"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/resource/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"resource"
|
||||
],
|
||||
"description": "find resource by key word\n\u003cbr\u003e",
|
||||
"operationId": "ResourceController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{resource} models.resource"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/storage/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -459,6 +609,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/storage/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"storage"
|
||||
],
|
||||
"description": "find storage by key word\n\u003cbr\u003e",
|
||||
"operationId": "StorageController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{storage} models.storage"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/version/": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -583,6 +756,29 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workflow/{search}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"workflow"
|
||||
],
|
||||
"description": "find workflow by key word\n\u003cbr\u003e",
|
||||
"operationId": "WorkflowController.Get",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "search",
|
||||
"description": "the search you want to get",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{workflow} models.workflow"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -612,25 +808,29 @@
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "resource",
|
||||
"description": "Operations about resource\n"
|
||||
},
|
||||
{
|
||||
"name": "data",
|
||||
"description": "Operations about data\n"
|
||||
},
|
||||
{
|
||||
"name": "datacenter",
|
||||
"description": "Operations about data\n"
|
||||
"description": "Operations about datacenter\n"
|
||||
},
|
||||
{
|
||||
"name": "storage",
|
||||
"description": "Operations about data\n"
|
||||
"description": "Operations about storage\n"
|
||||
},
|
||||
{
|
||||
"name": "processing",
|
||||
"description": "Operations about data\n"
|
||||
"description": "Operations about processing\n"
|
||||
},
|
||||
{
|
||||
"name": "workflow",
|
||||
"description": "Operations about data\n"
|
||||
"description": "Operations about workflow\n"
|
||||
},
|
||||
{
|
||||
"name": "version",
|
||||
|
||||
@@ -45,7 +45,7 @@ paths:
|
||||
tags:
|
||||
- data
|
||||
description: |-
|
||||
find workflow by id
|
||||
find data by id
|
||||
<br>
|
||||
operationId: DataController.Get
|
||||
parameters:
|
||||
@@ -95,6 +95,23 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{data} delete success!'
|
||||
/data/{search}:
|
||||
get:
|
||||
tags:
|
||||
- data
|
||||
description: |-
|
||||
find data by key word
|
||||
<br>
|
||||
operationId: DataController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{data} models.data'
|
||||
/datacenter/:
|
||||
get:
|
||||
tags:
|
||||
@@ -178,6 +195,23 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} delete success!'
|
||||
/datacenter/{search}:
|
||||
get:
|
||||
tags:
|
||||
- datacenter
|
||||
description: |-
|
||||
find datacenter by key word
|
||||
<br>
|
||||
operationId: DatacenterController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{datacenter} models.datacenter'
|
||||
/processing/:
|
||||
get:
|
||||
tags:
|
||||
@@ -261,6 +295,84 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{processing} delete success!'
|
||||
/processing/{search}:
|
||||
get:
|
||||
tags:
|
||||
- processing
|
||||
description: |-
|
||||
find processing by key word
|
||||
<br>
|
||||
operationId: ProcessingController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{processing} models.processing'
|
||||
/resource/:
|
||||
get:
|
||||
tags:
|
||||
- resource
|
||||
description: |-
|
||||
find resource by id
|
||||
<br>
|
||||
operationId: ResourceController.GetAll
|
||||
responses:
|
||||
"200":
|
||||
description: '{resource} models.resource'
|
||||
/resource/{id}:
|
||||
get:
|
||||
tags:
|
||||
- resource
|
||||
description: |-
|
||||
find resource by id
|
||||
<br>
|
||||
operationId: ResourceController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: the id you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{resource} models.resource'
|
||||
delete:
|
||||
tags:
|
||||
- resource
|
||||
description: |-
|
||||
delete the resource
|
||||
<br>
|
||||
operationId: ResourceController.Delete
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
description: The id you want to deleteDeleteOne
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{resource} delete success!'
|
||||
/resource/{search}:
|
||||
get:
|
||||
tags:
|
||||
- resource
|
||||
description: |-
|
||||
find resource by key word
|
||||
<br>
|
||||
operationId: ResourceController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{resource} models.resource'
|
||||
/storage/:
|
||||
get:
|
||||
tags:
|
||||
@@ -344,6 +456,23 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{storage} delete success!'
|
||||
/storage/{search}:
|
||||
get:
|
||||
tags:
|
||||
- storage
|
||||
description: |-
|
||||
find storage by key word
|
||||
<br>
|
||||
operationId: StorageController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{storage} models.storage'
|
||||
/version/:
|
||||
get:
|
||||
tags:
|
||||
@@ -438,6 +567,23 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} delete success!'
|
||||
/workflow/{search}:
|
||||
get:
|
||||
tags:
|
||||
- workflow
|
||||
description: |-
|
||||
find workflow by key word
|
||||
<br>
|
||||
operationId: WorkflowController.Get
|
||||
parameters:
|
||||
- in: path
|
||||
name: search
|
||||
description: the search you want to get
|
||||
required: true
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{workflow} models.workflow'
|
||||
definitions:
|
||||
json:
|
||||
title: json
|
||||
@@ -458,21 +604,24 @@ definitions:
|
||||
title: workflow
|
||||
type: object
|
||||
tags:
|
||||
- name: resource
|
||||
description: |
|
||||
Operations about resource
|
||||
- name: data
|
||||
description: |
|
||||
Operations about data
|
||||
- name: datacenter
|
||||
description: |
|
||||
Operations about data
|
||||
Operations about datacenter
|
||||
- name: storage
|
||||
description: |
|
||||
Operations about data
|
||||
Operations about storage
|
||||
- name: processing
|
||||
description: |
|
||||
Operations about data
|
||||
Operations about processing
|
||||
- name: workflow
|
||||
description: |
|
||||
Operations about data
|
||||
Operations about workflow
|
||||
- name: version
|
||||
description: |
|
||||
VersionController operations for Version
|
||||
|
||||
Reference in New Issue
Block a user