| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253 |
- {
- "version": 6,
- "entities": [
- {
- "entity": {
- "type": "Project",
- "description": "",
- "id": "74c7ae05-c41c-41c6-ac91-1890ffcdf848",
- "name": "mirai-api"
- },
- "children": [
- {
- "entity": {
- "type": "Service",
- "description": "管理相关",
- "id": "90f7ccba-0c0b-41a1-8a08-867c94730efb",
- "name": "API-HTTP插件相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/about"
- },
- "id": "a068480f-e1e7-459a-afaa-e95a26b385aa",
- "name": "获取插件信息",
- "headers": []
- }
- }
- ]
- },
- {
- "entity": {
- "type": "Service",
- "id": "1dfde690-348c-4af1-969a-5a9fd6eb0828",
- "name": "插件相关、Console相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"authKey\": \"${authKey}\",\n \"name\": \"gin\",\n \"args\": [\"123\", \"pwd\"]\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/command/send"
- },
- "id": "d8dbe8fd-3ad7-45b2-ac88-bab055ecea3e",
- "name": "发送指令",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"authKey\": \"${authKey}\",\n \"name\": \"gin\",\n \"alias\": [\"lg\",\"SignIn\"],\n \"description\": \"用于登录\",\n \"usage\": \"/gin qq password\"\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/command/register"
- },
- "id": "71f85e70-4296-44a2-b526-47d7759c2928",
- "name": "注册指令",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "scheme": {
- "secure": true,
- "name": "https",
- "version": "V11"
- }
- },
- "id": "23e8aef7-ae45-4b24-8b93-2b102c92a70c",
- "name": "获取Mangers",
- "headers": []
- }
- }
- ]
- },
- {
- "entity": {
- "type": "Service",
- "id": "b736f2a8-e31b-4fbf-b9f4-b0a24e9995d9",
- "name": "消息相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"qq\": 211995046,\n \"group\": 123456789,\n \"messageChain\": [\n {\n \"type\": \"Plain\",\n \"text\":\"hello\\n\" \n },\n {\n \"type\": \"Plain\",\n \"text\":\"world\" \n }\n ]\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/sendTempMessage"
- },
- "id": "c448c8cf-2a4f-44a6-9de9-77263b7733d8",
- "name": "发送临时会话消息",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"urls\": [\n \"https://i1.hdslb.com/bfs/archive/04cbc0a251acc36bf44741f93517a6a0bbdbb1fc.jpg\"\n ]\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/sendImageMessage"
- },
- "id": "d5823b26-7a09-4b42-bb81-746c1ca8268d",
- "name": "发送图片消息(通过URL)",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"messageChain\": [\n {\n \"type\": \"Plain\",\n \"text\":\"hello\\n\" \n },\n {\n \"type\": \"Plain\",\n \"text\":\"world\" \n }\n ]\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/sendFriendMessage"
- },
- "id": "f2278e70-aca7-4e90-9271-0bc168a53ded",
- "name": "发送好友消息",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"messageChain\": [\n {\n \"type\": \"Plain\",\n \"text\":\"hello\\n\" \n },\n {\n \"type\": \"Plain\",\n \"text\":\"world\" \n }\n ]\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/sendGroupMessage"
- },
- "id": "5edc6284-7dbc-4708-922c-e5c918151772",
- "name": "发送群消息",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "multipart/form-data",
- "items": [
- {
- "enabled": true,
- "type": "Text",
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "type": "Text",
- "name": "type",
- "value": "group"
- },
- {
- "enabled": true,
- "type": "File",
- "name": "img"
- }
- ]
- },
- "bodyType": "Form",
- "textBody": ""
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/uploadImage"
- },
- "id": "3850bf71-e4fb-473b-aedc-5a6366bb59bb",
- "name": "图片文件上传",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "multipart/form-data"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 9018\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/recall"
- },
- "id": "b217eaba-3366-4c3e-a846-5295760cf03d",
- "name": "撤回消息",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- }
- ]
- },
- "host": "${host}",
- "path": "/countMessage"
- },
- "id": "c4df569b-f877-4c13-aa50-f83a11c03231",
- "name": "查看缓存的消息总数",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "name": "count",
- "value": "10"
- }
- ]
- },
- "host": "${host}",
- "path": "/fetchMessage"
- },
- "id": "4b4e38fd-e7aa-44f7-b069-d006ab12f839",
- "name": "获取Bot收到的消息和事件",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "multipart/form-data",
- "items": [
- {
- "enabled": true,
- "type": "Text",
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "type": "Text",
- "name": "type",
- "value": "group"
- },
- {
- "enabled": true,
- "type": "File",
- "name": "voice"
- }
- ]
- },
- "bodyType": "Form",
- "textBody": ""
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/uploadVoice"
- },
- "id": "48754e04-64fa-488d-bba2-a09fe8c4c22c",
- "name": "语音文件上传",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "multipart/form-data"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "name": "id",
- "value": "9018"
- }
- ]
- },
- "host": "${host}",
- "path": "/messageFromId"
- },
- "id": "75133b53-cbcf-40fe-bcb5-4d24167ed63d",
- "name": "通过messageId获取一条被缓存的消息",
- "headers": []
- }
- }
- ]
- },
- {
- "entity": {
- "type": "Service",
- "id": "99185c7f-ad79-4411-9d4c-21c5df65cf48",
- "name": "管理相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"memberId\": 211995046,\n \"info\": {\n \"name\": \"2333\"\n }\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/memberInfo"
- },
- "id": "5b904212-1464-4b1a-9fed-3f28b33c96f6",
- "name": "修改群员资料",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"memberId\": 211995046,\n \"msg\": \"测试踢人\"\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/kick"
- },
- "id": "22b5567a-5bbf-4b72-bb44-5485ce159f68",
- "name": "移出群成员",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/muteAll"
- },
- "id": "cf5417fe-baad-42c5-a113-ca18d5856ceb",
- "name": "群全体禁言",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"memberId\":211995046,\n \"time\": 1800\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/mute"
- },
- "id": "cdff6874-440d-4565-9f88-93ec63ae8d86",
- "name": "群禁言群成员",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/unmuteAll"
- },
- "id": "e055e0f5-32fd-466e-b52c-f8ea9b4d9b37",
- "name": "群解除全体禁言",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"memberId\": 211995046\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/unmute"
- },
- "id": "69379912-abe1-4791-8056-33f674c8a42a",
- "name": "群解除群成员禁言",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789,\n \"config\": {\n \"name\": \"群名称\",\n \"announcement\": \"群公告\",\n \"confessTalk\": true,\n \"allowMemberInvite\": true,\n \"autoApprove\": true,\n \"anonymousChat\": true\n }\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/groupConfig"
- },
- "id": "5b4a50ff-1bb1-43b1-b813-509f5a2d9ba7",
- "name": "群设置",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json;charset=utf-8"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- }
- ]
- },
- "host": "${host}",
- "path": "/friendList"
- },
- "id": "3e659c2b-1db0-46f6-8cde-3307453b7f3d",
- "name": "获取好友列表",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- }
- ]
- },
- "host": "${host}",
- "path": "/groupList"
- },
- "id": "c10ed8d6-0cb7-4610-8f3a-2dec53ff3849",
- "name": "获取群列表",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "name": "target",
- "value": "123456789"
- },
- {
- "enabled": true,
- "name": "memberId",
- "value": "211995046"
- }
- ]
- },
- "host": "${host}",
- "path": "/memberInfo"
- },
- "id": "11c6a492-4c2a-421d-af10-1a95213b88d0",
- "name": "获取群员资料",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "name": "target",
- "value": "123456789"
- }
- ]
- },
- "host": "${host}",
- "path": "/memberList"
- },
- "id": "7df27fbe-1ef9-460e-aef1-418dd7454b9e",
- "name": "获取群成员列表",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- },
- {
- "enabled": true,
- "name": "target",
- "value": "123456789"
- }
- ]
- },
- "host": "${host}",
- "path": "/groupConfig"
- },
- "id": "fc2d806c-570a-43af-af62-eba4e67db58f",
- "name": "获取群设置",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"target\": 123456789\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/quit"
- },
- "id": "350df36e-e7cd-4cec-8001-85e5db80d6dd",
- "name": "退出群聊",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- }
- ]
- },
- {
- "entity": {
- "type": "Service",
- "id": "8c385f1b-9cd1-427e-884a-06798d694637",
- "name": "认证相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"authKey\": \"${authKey}\"\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "//auth"
- },
- "id": "96f6db46-dd04-4686-a3cf-c4def044c9fd",
- "name": "开始会话-认证(Authorize)",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"qq\": ${qq}\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "//verify"
- },
- "id": "233ec8e3-5de3-48c2-ad73-1975ce9ec164",
- "name": "校验会话",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"qq\": ${\n qq\n}\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/release"
- },
- "id": "c1322235-1168-43e0-a260-e89091156012",
- "name": "释放会话",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- }
- ]
- },
- {
- "entity": {
- "type": "Service",
- "id": "c1c2f7c0-8f6f-46ba-843e-3f6934d708b3",
- "name": "配置相关"
- },
- "children": [
- {
- "entity": {
- "type": "Request",
- "method": {
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.1",
- "name": "GET"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": [
- {
- "enabled": true,
- "name": "sessionKey",
- "value": "${session}"
- }
- ]
- },
- "host": "${host}",
- "path": "/config"
- },
- "id": "f25756b8-e64d-46ed-9b1d-c4a15e63014b",
- "name": "获取指定Session的配置",
- "headers": []
- }
- },
- {
- "entity": {
- "type": "Request",
- "method": {
- "requestBody": true,
- "link": "http://tools.ietf.org/html/rfc7231#section-4.3.3",
- "name": "POST"
- },
- "body": {
- "formBody": {
- "overrideContentType": true,
- "encoding": "application/x-www-form-urlencoded",
- "items": []
- },
- "bodyType": "Text",
- "textBody": "{\n \"sessionKey\": \"${session}\",\n \"cacheSize\": 4096,\n \"enableWebsocket\": true\n}"
- },
- "uri": {
- "query": {
- "delimiter": "&",
- "items": []
- },
- "host": "${host}",
- "path": "/config"
- },
- "id": "e6da57ef-772a-4dd0-9f91-5134bce5c028",
- "name": "设置指定Session的配置",
- "headers": [
- {
- "enabled": true,
- "name": "Content-Type",
- "value": "application/json"
- }
- ]
- }
- }
- ]
- }
- ]
- }
- ]
- }
|