You've already forked DataMate
813 lines
25 KiB
YAML
813 lines
25 KiB
YAML
openapi: "3.0.1"
|
|
info:
|
|
title: "API Documentation"
|
|
version: "1.0"
|
|
paths:
|
|
/operators/list:
|
|
post:
|
|
summary: "operatorsListPost"
|
|
description: "operatorsListPost"
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
page:
|
|
type: "integer"
|
|
description: ""
|
|
size:
|
|
type: "integer"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
default: "new ArrayList<>()"
|
|
operatorName:
|
|
type: "string"
|
|
description: ""
|
|
labelName:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
description: ""
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
page:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
size:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalElements:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalPages:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
content:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "OperatorResponse"
|
|
description: "数据"
|
|
/operators/{id}:
|
|
get:
|
|
summary: "operatorsIdGet"
|
|
description: "operatorsIdGet"
|
|
parameters:
|
|
- name: "id"
|
|
in: "path"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "string"
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "数据"
|
|
put:
|
|
summary: "operatorsIdPut"
|
|
description: "operatorsIdPut"
|
|
parameters:
|
|
- name: "id"
|
|
in: "path"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "string"
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
description: ""
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "数据"
|
|
/operators/create:
|
|
post:
|
|
summary: "operatorsCreatePost"
|
|
description: "operatorsCreatePost"
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
fileName:
|
|
type: "string"
|
|
description: ""
|
|
description: ""
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "数据"
|
|
/operators/upload:
|
|
post:
|
|
summary: "operatorsUploadPost"
|
|
description: "operatorsUploadPost"
|
|
parameters:
|
|
- name: "description"
|
|
in: "query"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "string"
|
|
nullable: false
|
|
requestBody:
|
|
content:
|
|
multipart/form-data:
|
|
schema:
|
|
required:
|
|
- "file"
|
|
type: "object"
|
|
properties:
|
|
file:
|
|
type: "string"
|
|
description: ""
|
|
format: "binary"
|
|
required: true
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "数据"
|
|
/labels:
|
|
get:
|
|
summary: "labelsGet"
|
|
description: "labelsGet"
|
|
parameters:
|
|
- name: "page"
|
|
in: "query"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "integer"
|
|
nullable: false
|
|
- name: "size"
|
|
in: "query"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "integer"
|
|
nullable: false
|
|
- name: "keyword"
|
|
in: "query"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "string"
|
|
nullable: false
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
page:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
size:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalElements:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalPages:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
content:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description: "com.datamate.operator.interfaces.dto.Label"
|
|
description: "数据"
|
|
post:
|
|
summary: "labelsPost"
|
|
description: "labelsPost"
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description: ""
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties: {}
|
|
description: "数据"
|
|
/labels/{id}:
|
|
put:
|
|
summary: "labelsIdPut"
|
|
description: "labelsIdPut"
|
|
parameters:
|
|
- name: "id"
|
|
in: "path"
|
|
description: ""
|
|
required: true
|
|
schema:
|
|
type: "string"
|
|
requestBody:
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties: {}
|
|
description: "数据"
|
|
/categories/tree:
|
|
get:
|
|
summary: "categoryTreeGet"
|
|
description: "categoryTreeGet"
|
|
responses:
|
|
"200":
|
|
description: ""
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: "object"
|
|
properties:
|
|
code:
|
|
type: "string"
|
|
description: "状态码"
|
|
message:
|
|
type: "string"
|
|
description: "消息"
|
|
data:
|
|
type: "object"
|
|
properties:
|
|
page:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
size:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalElements:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
totalPages:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
content:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "integer"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
count:
|
|
type: "integer"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
count:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
type:
|
|
type: "string"
|
|
description: ""
|
|
parentId:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
description: "com.datamate.operator.interfaces.dto.SubCategory"
|
|
default: "new ArrayList<>()"
|
|
description: "com.datamate.operator.interfaces.dto.CategoryTreeResponse"
|
|
description: "数据"
|
|
components:
|
|
schemas:
|
|
OperatorResponse:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description:
|
|
type: "string"
|
|
description: ""
|
|
version:
|
|
type: "string"
|
|
description: ""
|
|
inputs:
|
|
type: "string"
|
|
description: ""
|
|
outputs:
|
|
type: "string"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "integer"
|
|
runtime:
|
|
type: "string"
|
|
description: ""
|
|
settings:
|
|
type: "string"
|
|
description: ""
|
|
isStar:
|
|
type: "boolean"
|
|
description: ""
|
|
createdAt:
|
|
type: "string"
|
|
description: ""
|
|
updatedAt:
|
|
type: "string"
|
|
description: ""
|
|
description: "数据"
|
|
com.datamate.operator.interfaces.dto.Label:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "string"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
description: "com.datamate.operator.interfaces.dto.Label"
|
|
java.lang.Object:
|
|
type: "object"
|
|
properties: {}
|
|
description: "数据"
|
|
com.datamate.operator.interfaces.dto.SubCategory:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
count:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
type:
|
|
type: "string"
|
|
description: ""
|
|
parentId:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
description: "com.datamate.operator.interfaces.dto.SubCategory"
|
|
com.datamate.operator.interfaces.dto.CategoryTreeResponse:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "integer"
|
|
description: ""
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
count:
|
|
type: "integer"
|
|
description: ""
|
|
categories:
|
|
type: "array"
|
|
description: ""
|
|
items:
|
|
type: "object"
|
|
properties:
|
|
id:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
name:
|
|
type: "string"
|
|
description: ""
|
|
count:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
type:
|
|
type: "string"
|
|
description: ""
|
|
parentId:
|
|
type: "integer"
|
|
description: ""
|
|
format: "int64"
|
|
description: "com.datamate.operator.interfaces.dto.SubCategory"
|
|
default: "new ArrayList<>()"
|
|
description: "com.datamate.operator.interfaces.dto.CategoryTreeResponse"
|