获取任务组详情
开发中
POST
/api/v1/system/timed/task/group/read
iThings-apisvr/系统管理/定时管理/任务
请求参数
Header 参数
iThings-token
string
可选
示例值:
{{iThings-token}}
iThings-project-id
string
可选
示例值:
1764806234122309632{{iThings-token}}
iThings-app-code
string
可选
示例值:
{{iThings-app-code}}
iThings-user-role
string
可选
示例值:
1
Accept-Language
string
可选
默认值:
en
iThings-tenant-code
string
可选
Body 参数application/json
code
string
必需
示例
{
"code": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/system/timed/task/group/read' \
--header 'iThings-token: {{iThings-token}}' \
--header 'iThings-project-id: 1786838173980422144' \
--header 'iThings-app-code: {{iThings-app-code}}' \
--header 'iThings-user-role: 1' \
--header 'Accept-Language: en' \
--header 'iThings-tenant-code;' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer | null
返回code
msg
string
返回消息
默认值:
success
data
object
必需
code
string
任务组编码
name
string
组名
type
string
组类型
subType
string
组子类型
priority
integer
组优先级
env
object
环境 变量
config
string
组的配置
示例
{
"code": 0,
"msg": "success",
"data": {
"code": "string",
"name": "string",
"type": "string",
"subType": "string",
"priority": 0,
"env": {
"property1": "string",
"property2": "string"
},
"config": "string"
}
}
🟢200成功返回

扫码加入 iThings微信交流群

