mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"version": "0.0.1",
|
|
"services": [
|
|
{
|
|
"name": "calendar",
|
|
"version": "v4",
|
|
"title": "Calendar API",
|
|
"servicePath": "/open-apis/calendar/v4",
|
|
"resources": {
|
|
"events": {
|
|
"methods": {
|
|
"create": {
|
|
"path": "calendars/{calendar_id}/events",
|
|
"httpMethod": "POST",
|
|
"risk": "write",
|
|
"scopes": [
|
|
"calendar:calendar.event:create"
|
|
],
|
|
"parameters": {
|
|
"calendar_id": {
|
|
"type": "string",
|
|
"location": "path",
|
|
"required": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "im",
|
|
"version": "v1",
|
|
"title": "IM API",
|
|
"servicePath": "/open-apis/im/v1",
|
|
"resources": {
|
|
"chat.members": {
|
|
"methods": {
|
|
"create": {
|
|
"path": "chats/{chat_id}/members",
|
|
"httpMethod": "POST",
|
|
"risk": "write",
|
|
"scopes": [
|
|
"im:chat",
|
|
"im:chat.members:write_only"
|
|
],
|
|
"parameters": {
|
|
"chat_id": {
|
|
"type": "string",
|
|
"location": "path",
|
|
"required": true
|
|
},
|
|
"member_id_type": {
|
|
"type": "string",
|
|
"location": "query",
|
|
"required": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "task",
|
|
"version": "v2",
|
|
"title": "Task API",
|
|
"servicePath": "/open-apis/task/v2",
|
|
"resources": {}
|
|
}
|
|
]
|
|
}
|