浅析Jetbrains的产品版本和更新API设计

接口分析 单个产品信息接口 首先我们通过http抓包来看DataGrip这个产品查询接口,访问的接口地址为下面这个地址 https://data.services.jetbrains.com/products?code=DG&release.type=eap,rc,release&fields=distributions,link,name,releases&_=1690557030459 从接口上我们能看到有下面几个方面: graphql风格接口设计。 支持产品代码、软件包通道、软件平台的筛选。主要有下面几个: 平台 说明 Windows linux windowsZip windows压缩包 windowsARM64 mac macM1 该接口返回信息如下: { "DG": [ { "date": "2023-07-20", "type": "release", "downloads": { "linuxARM64": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.tar.gz", "size": 570768510, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.tar.gz.sha256" }, "linux": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2.tar.gz", "size": 569402212, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2.tar.gz.sha256" }, "thirdPartyLibrariesJson": { "link": "https://resources.jetbrains.com/storage/third-party-libraries/datagrip/datagrip-2023.2-third-party-libraries.json", "size": 62706, "checksumLink": "https://resources.jetbrains.com/storage/third-party-libraries/datagrip/datagrip-2023.2-third-party-libraries.json.sha256" }, "windows": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2.exe", "size": 447884488, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2.exe.sha256" }, "windowsZip": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2.win.zip", "size": 566939835, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2.win.zip.sha256" }, "windowsARM64": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.exe", "size": 430945096, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.exe.sha256" }, "mac": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2.dmg", "size": 542649736, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2.dmg.sha256" }, "macM1": { "link": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.dmg", "size": 534462645, "checksumLink": "https://download.jetbrains.com/datagrip/datagrip-2023.2-aarch64.dmg.sha256" } }, "patches": { "win": [ { "fromBuild": "231.9011.35", "link": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-win.jar", "size": 405126814, "checksumLink": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-win.jar.sha256" }, { "fromBuild": "232.8660.88", "link": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-win.jar", "size": 25446054, "checksumLink": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-win.jar.sha256" } ], "mac": [ { "fromBuild": "231.9011.35", "link": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-mac.jar", "size": 386287057, "checksumLink": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-mac.jar.sha256" }, { "fromBuild": "232.8660.88", "link": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-mac.jar", "size": 24338594, "checksumLink": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-mac.jar.sha256" } ], "unix": [ { "fromBuild": "231.9011.35", "link": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-unix.jar", "size": 402009513, "checksumLink": "https://download.jetbrains.com/datagrip/DB-231.9011.35-232.8660.111-patch-unix.jar.sha256" }, { "fromBuild": "232.8660.88", "link": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-unix.jar", "size": 23828783, "checksumLink": "https://download.jetbrains.com/datagrip/DB-232.8660.88-232.8660.111-patch-unix.jar.sha256" } ] }, "notesLink": "https://www.jetbrains.com/datagrip/whatsnew/", "licenseRequired": true, "version": "2023.2", "majorVersion": "2023.2", "build": "232.8660.111", "whatsnew": "<img src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/updatedialog_600x130_DataGrip-2x-6.png\" alt=\"DataGrip 2023.2 released\" width=\"635\" border=\"0\"> \n<p>To learn more about new features and all the other improvements introduced in version 2023.2 please visit our <a href=\"https://www.jetbrains.com/datagrip/whatsnew/\">What's New page</a>.</p> \n<p></p> \n<h3>User Interface</h3> \n<ul> \n <li>New UI: The toolbar icons have been moved to the header:</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/New-UI-toolbar-default.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<ul> \n <li>Improved main toolbar customization</li> \n <li>Light theme with light header in the new UI</li> \n <li>Colored project headers in the new UI</li> \n <li>New UI for schema migration dialog</li> \n</ul> \n<h3>Artificial Intelligence - Limited access</h3> \n<ul> \n <li>AI Assistant (Beta)</li> \n <li><i>AI Actions</i> submenu</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/AI.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<h3>Connectivity</h3> \n<ul> \n <li>[Redis] Support for Redis Cluster</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/image-11.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<ul> \n <li>[Redshift] Support for external databases and datashares</li> \n <li>More options for connecting with SSL certificates</li> \n <li>HTTP proxy</li> \n <li>Time stamp of the last refresh</li> \n</ul> \n<h3>Data editor</h3> \n<ul> \n <li>Time zones</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/timeZones-2.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<ul> \n <li>Preview in settings</li> \n <li><i>Show all columns</i> action to help you find any columns that you may have hidden before</li> \n</ul> \n<h3>Navigation</h3> \n<ul> \n <li>Text search in <i>Search Everywhere</i></li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/TextSearch.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<h3>Coding assistance</h3> \n<ul> \n <li>New settings for qualifying objects</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/Qualification.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<ul> \n <li>Syntax highlighting in inspection descriptions</li> \n</ul> \n<h3><i>Files</i> tool window</h3> \n<ul> \n <li>Sort by modification time</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/SortByTime-1.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p> \n<ul> \n <li>Open folders with a single click</li> \n <li>Hiding scratches and consoles</li> \n</ul> \n<h3>Other</h3> \n<ul> \n <li>WSL support for dump tools</li> \n <li><i>Modify</i> UI: List of objects of the same kind</li> \n</ul> \n<img class=\"alignnone size-large wp-image-123893\" src=\"https://blog.jetbrains.com/wp-content/uploads/2023/07/Modify.png\" alt=\"\" width=\"635\" height=\"\" border=\"0\">\n<p></p>", "uninstallFeedbackLinks": { "linuxARM64": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "windowsJBR8": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "windowsZipJBR8": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "linux": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "thirdPartyLibrariesJson": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "windows": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "windowsZip": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "windowsARM64": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "linuxJBR8": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "mac": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "macJBR8": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2", "macM1": "https://www.jetbrains.com/datagrip/uninstall/?edition=2023.2" }, "printableReleaseType": null } ] } 从返回上看,返回记录内容主要有那么几个方面: ...

2023-07-28 · 5 分钟 · czyt

Keep运动接口

基础接口 授权 curl --location --request POST 'https://api.gotokeep.com/v1.1/users/login' \ --header 'Content-Type: application/json' \ --data-raw '{"mobile": 18888888888, "password": "aa"}' 返回token内容需要作为后续请求的header传递,返回示例: { "ok": true, "data": { "userId": "011981111e131", "level": 0, "goal": 0, "gender": "M", "token": "xxxxxxxxxxxx", "userRegisterInfo": null }, "errorCode": "0", "now": "2022-04-21T05:02:57Z", "version": "1.0.0", "text": null, "more": {} } 动作库 获取动作分类 curl --location --request GET 'https://api.gotokeep.com/training/v2/trainingpoints/exerciselib' \ --header 'Authorization: Bearer xxxxxxxxx' 返回 { "ok": true, "data": [ { "name": "胸部", "_id": "54826e417fb786000069ad82", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963b0e73800000.png" }, { "name": "背部", "_id": "54826e417fb786000069ad84", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963ab1a4c00000.png" }, { "name": "肩部", "_id": "54826e417fb786000069ad83", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963b1db3c00000.png" }, { "name": "手臂", "_id": "54826e417fb786000069ad88", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/559639a46e400000.png" }, { "name": "颈部", "_id": "55cb1b72bfbf17f934371eba", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963afccdc00000.png" }, { "name": "腹部", "_id": "54826e417fb786000069ad86", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963b3fc0400000.png" }, { "name": "腰部", "_id": "55cb1ca06fe674f94036d581", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963b2cc0800000.png" }, { "name": "臀部", "_id": "54826e417fb786000069ad87", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/559639594f800000.png" }, { "name": "腿部", "_id": "54826e417fb786000069ad85", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/55963ad31b400000.png" }, { "name": "全身", "_id": "54826e417fb786000069ad81", "url": "http://static1.keepcdn.com/misc/2016/08/05/12/559638c467800000.png" } ], "errorCode": 0, "text": "" } 获取动作库某个分类下的动作 ...

2022-04-21 · 1 分钟 · czyt

一个免费的TTS接口

示例: https://dds.dui.ai/runtime/v1/synthesize?voiceId=ppangf_csn&text=您好世界&speed=1&volume=50&audioType=wav 使用步骤 graph LR; 选择声音 --> 输入要转语音文本 --> 拼接URL --> 使用语音 参数说明: text 要转音频的文本内容 (200字以内) speed 语速 volume 声音大小 voiceId 发音类型可以取下面的值: VoiceId 名称 说明 qiumum_0gushi 精品秋木 活泼开朗适合有声读物等场景 kaolam_diantai 精品考拉 电台男声温柔的电台男声 juan1f 小美 客服女声声音甜美热情,客服、营销场景均适用 xmguof 婷婷 营销女声音色亲切大方,适用于电话销售、调研回访等场景 xmamif 小咪 营销女声活力甜美,适用于电话营销、邀约等场景 lunaif_ctn 晓健 标准粤语女声偏正式的标准粤语,适用于新闻播报等场景 hchunf_ctn 何春 自然粤语女声音色偏甜美自然,适用于家居播报等场景 dayaof_csd 大瑶 山东话女声音色偏甜美自然,适用于家居播报等场景 wqingf_csn 文卿 四川话女声音色偏甜美自然,适用于车载导航等场景 ppangf_csn 胖胖 四川话女声音色偏甜美自然,适用于家居播报等场景 yezi1f_csh 叶子 上海话女声音色偏甜美自然,适用于家居播报等场景 madoufp_yubo 麻豆 娱播女声甜美欢快的女声,适合做娱乐新闻的播报 madoufp_wenrou 麻豆 甜美温柔客服、营销、阅读听书的场景均可使用 xjingfp 小静 甜美女声音色甜美知性,可用于娱乐新闻等播报 xjingf_gushi 小静 自然音色甜美知性,可用于娱乐新闻等播报 xjingf 小静 商务知性音色甜美知性,可用于娱乐新闻等播报 zhilingfp 小玲 甜美女神音色亲切、欢快、自然,适合用于各种场景 zhilingfp_huankuai 小玲 欢快自然音色亲切、欢快、自然,适合用于各种场景 zhilingfa 小玲 标准小玲的音色亲切,甜美,自然,适合用于各种场景 zhilingf 传统小玲 甜美性感音色甜美、自然、性感,适合用于各种场景 anonyf 小佚 平和沉稳音色沉稳严肃,适合用于新闻播报等 xbekef 贝壳 可爱女童童真可爱,适合讲幼儿故事 xijunma 精品小军 新闻播报适合新闻播报等场景 xijunm 传统小军 标准正式标准发音,适合新闻播报等场景 geyou 葛爷 淡定风趣模仿葛优音色 gdgm 纲叔 沉稳幽默模仿郭德纲音色 zxcm 星哥 风趣幽默模仿周星驰音色 qianranf 传统然然 天真俏皮成人女声模仿女童音色 hyanif 小妮 温柔亲切适合情感电台播报等场景 gqlanf 标准小兰 邻家女声温柔的邻家女声,适合做客服音色 gqlanfp 精品小兰 温柔甜美温柔的邻家女声,适合做客服音色 qianranfa 标准然然 天真俏皮语速1.2–1.4更佳 kaolaf 考拉 端庄优雅适合做新闻资讯等场景 smjief 小洁 亲切缓和推荐百科等有声读物的播报 wjianm_xsheng 小江 亲切友善推荐电话客服的场景,推荐语速1.3 feyinf 风吟 女老师威严正式的女老师 jlshim 季老师 成熟稳重适用于新闻播报的场景 lili1f_shangwu 璃璃 商务大气适用于新闻、政务的内容播报 lili1f_yubo 璃璃 活力娱播适合娱乐新闻的播报 xizhef 行者 端庄正式端庄严肃的女声,适合社会新闻的播报 cyangfp 精品初阳 乖巧可爱乖巧可爱的女学生音色,可用于导航场景 cyangf 标准初阳 乖巧可爱乖巧可爱的女学生音色,可用于导航场景 lzliafp 精品连连 活泼可爱推荐讲童话故事等有声读物 lzliafa 标准连连 活泼可爱推荐讲童话故事等有声读物 lzliaf 传统连连 活泼可爱推荐有声读物的场景 gdfanf_natong 方方 元气男孩推荐有声读物的场景 hyanifa 标准小妮 温柔亲切适合情感电台播报等场景 lucyfa 小浩 干练适合英文场景 gdfanfp 芳芳 甜美客服推荐客服场景使用 aningfp 精品安宁 温婉温婉可人,适合讲哲理故事 aningf 标准安宁 温婉温婉可人,适合讲哲理故事 boy 堂堂 少先队推荐使用电话手表等智能设备场景 jjingf 标准晶晶 知性大方知性大方,适合多种文本与场景 jjingfp 精品晶晶 知性大方知性大方,适合多种文本与场景 kaolam 考拉 标准男声发音标准正式,适合新闻资讯等场景 lanyuf 蓝雨 温柔甜美温柔甜美的女声,擅长讲童话故事 lili1f_diantai 璃璃 电台安静适用情感电台的场景 qiumum 秋木 活泼开朗推荐讲寓言故事 tzruim 小睿 活力朝气适合读课文 xiyaof 小妖 慵懒烟嗓特殊的慵懒嗓音,适合讲悬疑小说 xiyaof_qingxin 小妖 清新甜美适合讲言情小说 yaayif 杨阿姨 和蔼可亲亲切的阿姨,适合讲百科知识等场景 zzherf 朱株儿 温柔舒适推荐讲童话故事等有声读物 juyinf_guigushi 绝音 鬼故事推荐讲鬼故事等恐怖场景 zzhuaf 砖砖 自然推荐讲寓言故事等有声读物 yukaim_all 俞老师 磁性发音自然有磁性,可用户哲理故事场景 linbaf_gaoleng 零八 高冷推荐有声读物的场景 linbaf_qingxin 零八 清新推荐有声读物的场景 xiyaof_laoshi 小妖 女老师推荐武侠小说等场景 anonyg 佚佚 成人女声模仿女童音色 luyaof 瑶瑶 自然亲切可用与情感电台等场景 官方网站 https://www.talkinggenie.com/tts

2022-02-28 · 2 分钟 · czyt