- 使用前必读
- 云空间管理接口
- 平台管理接口
- 核心模块
- 驱动管理模块
- 驱动管理
- 驱动实例管理
- 驱动事件管理
- 指令日志
- 驱动指令日志
- 驱动事件归档清除管理
- 指令状态归档
- 指令状态清除
- 报警模块
- 报警规则管理
- 报警管理
- 根据过滤器查询报警数据
- 保存一条报警数据到数据库
- 确认全部报警数据
- 根据过滤器查询归档报警数据(跳转).
- 根据ID恢复归档报警信息.
- 根据过滤器查询 报警归档配置数据
- 保存一条 报警归档配置数据到数据库
- 根据id查询 报警归档配置数据
- 根据id及数据替换原有 报警归档配置数据
- 根据id从数据库删除一条 报警归档配置数据
- 根据id更新 报警归档配置数据
- 根据报警ID字符串数组进行多条报警数据确认/处理
- 查询所有报警描述数据
- 一键归档报警信息.
- 统计报警个数数据.
- 生成根据工作表记录和规则分组的最新100条报警.
- 生成报警数据时间轴数据.
- 根据id查询报警数据
- 根据id及数据替换原有报警数据
- 根据id从数据库删除一条报警数据
- 根据id更新报警数据
- 报警清除管理
- 云空间权限管理模块
- 网络检查模块
- 数据源模块
- 仿真管理模块
- 流程引擎模块
- 流程管理模块
- 前端管理模块
- 报表模块
- 算法管理模块
- 数据库备份模块
- 数据源模块
- 运维管理接口
根据名称获取周期归档配置
GET
/driver/archivecycle/{name}
指令状态归档
请求参数
Path 参数
name
string
计划名称
Header 参数
x-request-project
string
可选
Authorization
string
Token
默认值:
{{ACCESS_TOKEN}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/driver/archivecycle/' \
--header 'Authorization: {{ACCESS_TOKEN}}'
返回响应
🟢200OK
application/json
Body
clean_archive
boolean
是否清除归档信息
commands
array[object (entity.IdName) {3}]
指令名称
id
string
可选
name
string
可选
value
string
可选
create_time
string
可选
cycle
integer
周期数
cycle_tyle
string
可选
cycle_type
string
周期类型
示例值:
year/month/week/day
disabled
boolean
是否禁用
duration
integer
保留天数
id
string
可选
last_edit
string
可选
name
string
计划名称
tableData
object
指令表记录
id
string
可选
name
string
可选
table
object
entitys.TableSchema
tables
array[object (entitys.TableSchema) {17}]
指令表
activeview
object
活动视图
catalog
object
目录
createTime
string
可选
json:"errorNotice,omitempty"
MutualRules []map[string]interface{}
json:"mutualRules,omitempty"
creator
allOf {1}
创建者
dataSource
object
数据接口配置
defaultProperties
object
内置字段配置
draft
object
草稿
function
array[string]
可选
i18nProp
object
国际化配置
icon
string
图标
id
string
唯一标识
languageType
object
语言选择
order
number
排序
permission
object
权限配置
schema
object
可选
json:"syncSettings,omitempty"
showField
string
显示字段
title
string
标题
task_type
string
可选
time_config
object
执行时间
day
integer
按天
hms
string
执行时间
示例值:
10:30:00
month
string
按月
示例值:
January/JAN
weekday
string
按周
示例值:
Monday/MON
user
object (entity.UserInfo)
可选
remoteAddr
string
可选
user
string
可选
users
array[object (entity.IdName) {3}]
指令用户
id
string
可选
name
string
可选
value
string
可选
示例
{
"clean_archive": true,
"commands": [
{
"id": "string",
"name": "string",
"value": "string"
}
],
"create_time": "string",
"cycle": 0,
"cycle_tyle": "string",
"cycle_type": "year/month/week/day",
"disabled": true,
"duration": 0,
"id": "string",
"last_edit": "string",
"name": "string",
"tableData": {
"id": "string",
"name": "string",
"table": {
"activeview": {},
"catalog": {
"createTime": "string",
"i18nProp": {},
"id": "string",
"name": "string",
"order": 0,
"parent": null,
"parentId": "string",
"site": {
"createTime": "string",
"dashboard": {
"applyStyle": "string",
"autosave": true,
"catalog": {},
"cover": "string",
"createTime": "string",
"dashboardModel": "string",
"data": null,
"draft": "string",
"draftStatus": "string",
"focus": true,
"i18nProp": {},
"id": "string",
"isDelete": true,
"minRefreshCycle": 0,
"modifyTime": "string",
"name": "string",
"needPermission": "string",
"notShowCode": true,
"remark": "string",
"resource": "string",
"settings": {},
"site": {},
"table": {},
"tableData": {},
"usePlace": {},
"user": {
"adminAccess": true,
"allPermission": [
"string"
],
"applicant": "string",
"binddingtalk": true,
"bindwechatee": true,
"checkProof": "string",
"createTime": "string",
"custom": {},
"dashboard": {},
"dduserid": "string",
"department": [
{
"createTime": "string",
"dataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"fullName": "string",
"id": "string",
"modifyTime": "string",
"name": "string",
"parent": null,
"parentId": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"departmentIds": [
"string"
],
"diff": "string",
"disabled": true,
"email": "string",
"emailSum": "string",
"errorLoginTimeouttime": "string",
"errorLoginTimeouttimeAdmin": "string",
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"expireUse": 0,
"expires": 0,
"extra": {},
"highSetting": {},
"id": "string",
"identificationNumber": "string",
"identificationNumberSum": "string",
"identity": true,
"industry": "string",
"isFirstLogin": true,
"isShare": true,
"isSuper": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"new_password": "string",
"nickName": "string",
"noChildDept": true,
"noChildDeptTableData": true,
"noOpTimeouttime": "string",
"noOpTimeouttimeAdmin": "string",
"oldPwdList": [
"string"
],
"old_password": "string",
"onlyNode": true,
"openName": "string",
"openid": "string",
"pageSetting": {},
"password": "string",
"password2": "string",
"passwordSum": "string",
"permission": [
"string"
],
"phone": "string",
"phoneSum": "string",
"publicKey": "string",
"pwdExpireConfig": {
"hasPwdExpire": true,
"pwdExpire": 0
},
"pwdExpireConfigSetting": {},
"pwdTimeouttime": "string",
"reason": "string",
"remark": "string",
"roles": [
{
"applicant": "string",
"createTime": "string",
"dashboard": {},
"description": "string",
"diff": "string",
"disabled": true,
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"highSetting": {},
"i18nProp": {},
"id": "string",
"isBlackList": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"permission": [
"string"
],
"reason": "string",
"submitTime": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"rolesIds": [
"string"
],
"settings": {},
"shareUserType": "string",
"showCloseStatus": "string",
"sleepTimeouttime": "string",
"startTime": {},
"status": "string",
"submitTime": "string",
"tableDataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"tableFieldsSetting": {},
"tableSetting": [
{
"id": "string",
"title": "string"
}
],
"tableSizeSetting": {},
"timeoutTimeUse": "string",
"type": "string",
"warningFilter": [
{}
],
"wechateeuserid": "string"
},
"viewType": "string"
},
"homeRoute": {},
"i18nProp": {},
"id": "string",
"isDefault": true,
"minRefreshCycle": 0,
"name": "string",
"routes": [
{}
],
"settings": {},
"terminal": "string",
"terminalSize": {},
"terminalType": "string",
"theme": {
"config": {},
"i18nProp": {},
"id": "string",
"name": "string",
"themeType": "string"
}
},
"type": "string",
"user": {
"adminAccess": true,
"allPermission": [
"string"
],
"applicant": "string",
"binddingtalk": true,
"bindwechatee": true,
"checkProof": "string",
"createTime": "string",
"custom": {},
"dashboard": {},
"dduserid": "string",
"department": [
{
"createTime": "string",
"dataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"fullName": "string",
"id": "string",
"modifyTime": "string",
"name": "string",
"parent": null,
"parentId": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"departmentIds": [
"string"
],
"diff": "string",
"disabled": true,
"email": "string",
"emailSum": "string",
"errorLoginTimeouttime": "string",
"errorLoginTimeouttimeAdmin": "string",
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"expireUse": 0,
"expires": 0,
"extra": {},
"highSetting": {},
"id": "string",
"identificationNumber": "string",
"identificationNumberSum": "string",
"identity": true,
"industry": "string",
"isFirstLogin": true,
"isShare": true,
"isSuper": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"new_password": "string",
"nickName": "string",
"noChildDept": true,
"noChildDeptTableData": true,
"noOpTimeouttime": "string",
"noOpTimeouttimeAdmin": "string",
"oldPwdList": [
"string"
],
"old_password": "string",
"onlyNode": true,
"openName": "string",
"openid": "string",
"pageSetting": {},
"password": "string",
"password2": "string",
"passwordSum": "string",
"permission": [
"string"
],
"phone": "string",
"phoneSum": "string",
"publicKey": "string",
"pwdExpireConfig": {
"hasPwdExpire": true,
"pwdExpire": 0
},
"pwdExpireConfigSetting": {},
"pwdTimeouttime": "string",
"reason": "string",
"remark": "string",
"roles": [
{
"applicant": "string",
"createTime": "string",
"dashboard": {},
"description": "string",
"diff": "string",
"disabled": true,
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"highSetting": {},
"i18nProp": {},
"id": "string",
"isBlackList": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"permission": [
"string"
],
"reason": "string",
"submitTime": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"rolesIds": [
"string"
],
"settings": {},
"shareUserType": "string",
"showCloseStatus": "string",
"sleepTimeouttime": "string",
"startTime": {},
"status": "string",
"submitTime": "string",
"tableDataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"tableFieldsSetting": {},
"tableSetting": [
{
"id": "string",
"title": "string"
}
],
"tableSizeSetting": {},
"timeoutTimeUse": "string",
"type": "string",
"warningFilter": [
{}
],
"wechateeuserid": "string"
}
},
"createTime": "string",
"creator": {
"adminAccess": true,
"allPermission": [
"string"
],
"applicant": "string",
"binddingtalk": true,
"bindwechatee": true,
"checkProof": "string",
"createTime": "string",
"custom": {},
"dashboard": {},
"dduserid": "string",
"department": [
{
"createTime": "string",
"dataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"fullName": "string",
"id": "string",
"modifyTime": "string",
"name": "string",
"parent": null,
"parentId": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"departmentIds": [
"string"
],
"diff": "string",
"disabled": true,
"email": "string",
"emailSum": "string",
"errorLoginTimeouttime": "string",
"errorLoginTimeouttimeAdmin": "string",
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"expireUse": 0,
"expires": 0,
"extra": {},
"highSetting": {},
"id": "string",
"identificationNumber": "string",
"identificationNumberSum": "string",
"identity": true,
"industry": "string",
"isFirstLogin": true,
"isShare": true,
"isSuper": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"new_password": "string",
"nickName": "string",
"noChildDept": true,
"noChildDeptTableData": true,
"noOpTimeouttime": "string",
"noOpTimeouttimeAdmin": "string",
"oldPwdList": [
"string"
],
"old_password": "string",
"onlyNode": true,
"openName": "string",
"openid": "string",
"pageSetting": {},
"password": "string",
"password2": "string",
"passwordSum": "string",
"permission": [
"string"
],
"phone": "string",
"phoneSum": "string",
"publicKey": "string",
"pwdExpireConfig": {
"hasPwdExpire": true,
"pwdExpire": 0
},
"pwdExpireConfigSetting": {},
"pwdTimeouttime": "string",
"reason": "string",
"remark": "string",
"roles": [
{
"applicant": "string",
"createTime": "string",
"dashboard": {},
"description": "string",
"diff": "string",
"disabled": true,
"examineFinal": "string",
"examineObj": {},
"examineStatus": "string",
"examineType": "string",
"highSetting": {},
"i18nProp": {},
"id": "string",
"isBlackList": true,
"mainmenu": [
{}
],
"modifyTime": "string",
"name": "string",
"permission": [
"string"
],
"reason": "string",
"submitTime": "string",
"userIds": [
"string"
],
"users": [
{}
]
}
],
"rolesIds": [
"string"
],
"settings": {},
"shareUserType": "string",
"showCloseStatus": "string",
"sleepTimeouttime": "string",
"startTime": {},
"status": "string",
"submitTime": "string",
"tableDataSetting": [
{
"query": {},
"selectRecord": [
{
"id": null,
"name": "string"
}
],
"selectType": "string",
"table": {
"id": "string",
"title": "string"
}
}
],
"tableFieldsSetting": {},
"tableSetting": [
{
"id": "string",
"title": "string"
}
],
"tableSizeSetting": {},
"timeoutTimeUse": "string",
"type": "string",
"warningFilter": [
{}
],
"wechateeuserid": "string"
},
"dataSource": {
"count": "string",
"create": "string",
"createMany": "string",
"delete": "string",
"deleteMany": "string",
"get": "string",
"getMany": "string",
"replace": "string",
"update": "string",
"updateMany": "string"
},
"defaultProperties": {},
"draft": {},
"function": [
"string"
],
"i18nProp": {},
"icon": "string",
"id": "string",
"languageType": {},
"order": 0,
"permission": {},
"schema": {},
"showField": "string",
"title": "string"
}
},
"tables": [
{}
],
"task_type": "string",
"time_config": {
"day": 0,
"hms": "10:30:00",
"month": "January/JAN",
"weekday": "Monday/MON"
},
"user": {
"remoteAddr": "string",
"user": "string"
},
"users": [
{
"id": "string",
"name": "string",
"value": "string"
}
]
}
🟠400{code:0,message:无效的请求参数}
🟠401{code:0,message:未授权}
🔴500{code:0,message:服务器错误}
修改于 2024-05-14 02:42:00