- WEB端
- 事件管理
- 大屏
- 字典管理
- 文件操作
- 角色相关
- 资源管理
- 权限管理
- 管理员
- 公共类
- 地址管理
- 组织管理
- 台账管理
- 用户相关
- 聚沙码管理
- 智能坐席
- 我的文件
- 执法设备
- 执法平台
- 班组管理
- 坐席分配
- 内部使用
- 小程序端
- 定时任务
- WebSocket
- 浙政钉相关
- WebSocket链接
添加资源
测试环境
https://eventsys-test-d-browser.gogen.cn/eventSys
测试环境
https://eventsys-test-d-browser.gogen.cn/eventSys
POST
https://eventsys-test-d-browser.gogen.cn/eventSys
请求参数
Body 参数application/json
id
string
必需
groupId
string
必需
resourceName
string
必需
resource
string
必需
示例
{
"id": "string",
"groupId": "string",
"resourceName": "string",
"resource": "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 'https://eventsys-test-d-browser.gogen.cn/eventSys/resource/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"groupId": "string",
"resourceName": "string",
"resource": "string"
}'
返回响应
🟢200成功
application/json
Body
status
boolean | null
可选
code
integer | null
可选
message
string | null
可选
exceMes
string | null
可选
requestId
string | null
可选
timestamp
integer | null
可选
result
object (Object)
可选
示例
{
"status": false,
"code": 0,
"message": "",
"exceMes": "",
"requestId": "",
"timestamp": 0,
"result": {}
}
修改于 2023-12-25 06:16:47