From ccb8c03fe77d47d4d610fbf3bbf9495763322203 Mon Sep 17 00:00:00 2001 From: wu Date: Thu, 19 Oct 2023 02:39:03 +0000 Subject: [PATCH 01/48] update README.md. Signed-off-by: wu --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 527d1b1..c7c5fb5 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,12 @@ 文档为.md,img为图片文件夹 -#### 安装教程 +#### 安装教程说明 1. xxxx 2. xxxx -3. xxxx -#### 使用说明 +#### 使用说明书 1. xxxx 2. xxxx @@ -28,7 +27,7 @@ 4. 新建 Pull Request -#### 码云特技 +#### 码云 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -- Gitee From 000e871247fa31a1390f4ec54e3d46a951bc8bbf Mon Sep 17 00:00:00 2001 From: wu Date: Thu, 19 Oct 2023 02:39:58 +0000 Subject: [PATCH 02/48] update README.en.md. Signed-off-by: wu --- README.en.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index 8cecd80..588e197 100644 --- a/README.en.md +++ b/README.en.md @@ -10,7 +10,6 @@ Software architecture description 1. xxxx 2. xxxx -3. xxxx #### Instructions @@ -26,7 +25,7 @@ Software architecture description 4. Create Pull Request -#### Gitee Feature +#### Gitee 1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -- Gitee From c5db114d08e0b54a41058dce3bc12ecd1e0e7967 Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 27 Oct 2023 03:35:07 +0000 Subject: [PATCH 03/48] update README.md. Signed-off-by: wu --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c7c5fb5..eec92b5 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,4 @@ 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +6. 码云封面人物 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) -- Gitee From e3339bb63f0db9a08b38a662dc1a83ec29c6865e Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 12 Mar 2024 08:46:17 +0000 Subject: [PATCH 04/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 64e4e4a..42b3da2 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -1,5 +1,5 @@ ## 申请表 -* URL: https//:omapi.test.osinfra.cn/add/meetupApplyForm?community=openeuler +* URL: https://dsapi.osinfra.cn/query/meetupApplyForm?community=openeuler * POST ``` { @@ -43,8 +43,8 @@ "details": "《openEuler》- 阳" } ``` -## 场地贡献 -* URL: https//:omapi.test.osinfra.cn/add/meetupVenueInfo?community=openeuler +## 场地贡献(下线) +* URL: https://dsapi.osinfra.cn/query/meetupVenueInfo?community=openeuler * POST ``` { @@ -79,8 +79,8 @@ ] } ``` -## 成绩反馈 -* URL: https//:omapi.test.osinfra.cn/add/meetupTranscript?community=openeuler +## 成绩反馈(下线) +* URL: https://dsapi.osinfra.cn/query/meetupTranscript?community=openeuler * POST ``` { -- Gitee From 64dc6b71307b11fe55a25b9aa355f4f58ab27fc6 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 12 Mar 2024 08:47:31 +0000 Subject: [PATCH 05/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 6c27eb8..67b997e 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -3,12 +3,12 @@ * POST ``` { - "pageUrl": "xxxxxxx", - "score": 7, - "suggest": "xxxxxxx" + "feedbackPageUrl": "https://software-website.osinfra.cn", + "feedbackValue": 5, + "feedbackText": "test" } ``` * response ``` -{"code":200,"data":success,"msg":"success"} +{"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` \ No newline at end of file -- Gitee From 866a4800723b79708658c42b12f2e14f0d9e7c5e Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 12 Mar 2024 08:52:00 +0000 Subject: [PATCH 06/48] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20do?= =?UTF-8?q?cs/Datasta-API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/Datasta-API/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 docs/Datasta-API/.keep diff --git a/docs/Datasta-API/.keep b/docs/Datasta-API/.keep deleted file mode 100644 index e69de29..0000000 -- Gitee From d2afeb96dbec863d2b3d80bffdf1f6baf5931e12 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 8 May 2024 02:43:21 +0000 Subject: [PATCH 07/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 67b997e..67c4594 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -11,4 +11,25 @@ * response ``` {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} +``` + + +## ISV伙伴数 +* URL: https://dsapi.osinfra.cn/query/isv/count?community=openeuler +* 请求方式: POST +* header: +``` +{ + "token": token_value +} +``` +* RequestBody +``` +{ + "count": 1000 +} +``` +* response +``` +{"code":200,"data":null,"msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` \ No newline at end of file -- Gitee From 60a83ff322bc3b1849ebce4e1444125fab3a31fa Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 21 May 2024 02:23:31 +0000 Subject: [PATCH 08/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 67c4594..7f05f67 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -32,4 +32,19 @@ * response ``` {"code":200,"data":null,"msg":"success","update_at":"2024-03-12T06:37:50Z"} +``` + + + +## 模型下载 +* URL: https://dsapi.osinfra.cn/query/modelfoundry/download/count +* 请求方式: GET +* 参数: +``` +path:下载环境,取值范围(可缺省:表示生产环境,sh:ascend环境,yidong:移动云环境,tianyi:天翼云环境) +``` + +* response +``` +{"code":200,"data":[{"repo_id":"16","repo":"fff","download":7},{"repo_id":"17","repo":"test","download":3},{"repo_id":"29","repo":"test-npu-003","download":3},{"repo_id":"24","repo":"test0520-002","download":3},{"repo_id":"4","repo":"model_public_gxz","download":2},{"repo_id":"28","repo":"test-npu-002","download":2},{"repo_id":"26","repo":"test_npu","download":2}],"msg":"OK","update_at":"2024-05-21T02:20:05Z"} ``` \ No newline at end of file -- Gitee From 969bad3fe989f1b6547ff7e2e0fbf7da9d8cf71e Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 7 Jun 2024 06:25:18 +0000 Subject: [PATCH 09/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 7f05f67..cd1704b 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -47,4 +47,18 @@ path:下载环境,取值范围(可缺省:表示生产环境,sh:ascen * response ``` {"code":200,"data":[{"repo_id":"16","repo":"fff","download":7},{"repo_id":"17","repo":"test","download":3},{"repo_id":"29","repo":"test-npu-003","download":3},{"repo_id":"24","repo":"test0520-002","download":3},{"repo_id":"4","repo":"model_public_gxz","download":2},{"repo_id":"28","repo":"test-npu-002","download":2},{"repo_id":"26","repo":"test_npu","download":2}],"msg":"OK","update_at":"2024-05-21T02:20:05Z"} -``` \ No newline at end of file +``` + + +## 访问量 +* URL: https://dsapi.test.osinfra.cn/query/modelfoundry/view/count +* 请求方式: GET +* 参数: +``` +path:取值范围(可缺省:表示体验空间,space:体验空间,model:模型,dataset:数据集) +``` + +* response +``` +{"code":200,"data":[{"repo_id":"540","count":7},{"repo_id":"8776","count":5},{"repo_id":"545","count":4},{"repo_id":"6961","count":3},{"repo_id":"539","count":2},{"repo_id":"8775","count":1}],"msg":"OK","update_at":"2024-06-07T06:22:38Z"} +``` -- Gitee From c27df4918d15be4e1447b7dac6d334cbd5b52d41 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 9 Jul 2024 07:28:52 +0000 Subject: [PATCH 10/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 42b3da2..d5aa952 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -97,4 +97,25 @@ "significance": "xx企业研发动态", "summary": "经验总结和建议分享xxxxx" } +``` + +## 成绩反馈(下线) +* URL: https://dsapi.osinfra.cn/query/sigGathering?community=openeuler +* POST +``` +{ + "name": "name", + "userId": "username", + "company": "company", + "phone": "13800000000", + "email": "test@email.com", + "sigs": [ + "kernel", + "ai" + ], + "technicalSeminars": [ + "专题三:AI原生支持", + "专题一:多样性算力" + ] +} ``` \ No newline at end of file -- Gitee From f9c9fd2ba28df7e3a1d552783f14e1812e91ccd3 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 9 Jul 2024 07:29:32 +0000 Subject: [PATCH 11/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index d5aa952..48d70fd 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -99,7 +99,7 @@ } ``` -## 成绩反馈(下线) +## SIG Gathering * URL: https://dsapi.osinfra.cn/query/sigGathering?community=openeuler * POST ``` -- Gitee From c7acfe08a64bc2cc93fc54af636a9d0e7e696dfe Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 9 Jul 2024 09:06:22 +0000 Subject: [PATCH 12/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 48d70fd..8b4330b 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -116,6 +116,9 @@ "technicalSeminars": [ "专题三:AI原生支持", "专题一:多样性算力" - ] + ], + "attend": "否", + "acceptPrivacyVersion": "是", + "privacyVersion": "v1.0" } ``` \ No newline at end of file -- Gitee From 8e2b68140ab1afd02c301e80487c238d70bcba7a Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 9 Jul 2024 11:46:02 +0000 Subject: [PATCH 13/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 8b4330b..495d561 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -117,8 +117,8 @@ "专题三:AI原生支持", "专题一:多样性算力" ], - "attend": "否", - "acceptPrivacyVersion": "是", + "attend": "refuse", + "acceptPrivacyVersion": "agree", "privacyVersion": "v1.0" } ``` \ No newline at end of file -- Gitee From 10c952235a503a45857ef15a998fb979232c812b Mon Sep 17 00:00:00 2001 From: wu Date: Thu, 11 Jul 2024 03:30:54 +0000 Subject: [PATCH 14/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 495d561..2d38bba 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -119,6 +119,7 @@ ], "attend": "refuse", "acceptPrivacyVersion": "agree", - "privacyVersion": "v1.0" + "privacyVersion": "20240530", + "others": "参观" } ``` \ No newline at end of file -- Gitee From 42350d30f498fb783b665ab46be1b09c46a6cc55 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 22 Jul 2024 11:23:10 +0000 Subject: [PATCH 15/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index cd1704b..3b5edc1 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -13,6 +13,21 @@ {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` +## 软件中心反馈Issue +* URL: https://dsapi.osinfra.cn/query/repo/issues?community=openeuler +* GET +``` +community: 必选,openeuler +repo: 必选,easy-software +filter: 可选,取值范围:待办的、已取消、已完成、已挂起、已验收、新建;缺省时默认返回全部数据 +sort: 可选,取值范围:asc、desc;缺省时默认desc +page: 可选;缺省时默认值为1 +pageSize": 可选,取值范围:5~100;缺省时默认值为10 +``` +* response +``` +{"msg":"success","code":200,"data":[{"total":2,"data":[{"feedback":"config-manager缺失","issue_customize_state":"待办的","user_login":"fu-xinji","created_at":"2024-07-16T09:28:49+08:00","issue_title":"【RPM】-wget-1.20.3-3.oe1","body":"1. 【网站链接】\r\n> https://easysoftware.test.osinfra.cn/zh/rpm/detail?pkgId=openEuler-20.03-LTS-SP1updateaarch64wget1.20.3-3.oe1aarch64\r\n2. 【反馈评分】\r\n> 5\r\n3. 【反馈意见】\r\n> config-manager缺失","url":"https://gitee.com/openeuler/easy-software/issues/IAD7FU"},{"feedback":"测试-1","issue_customize_state":"待办的","user_login":"baigj","created_at":"2024-07-12T15:14:15+08:00","issue_title":"【RPM】-aalib-debuginfo-1.4.0-1.oe1","body":"1. 【网站链接】\r\n> https://easysoftware.test.osinfra.cn/zh/rpm/detail?pkgId=openEuler-20.03-LTS-SP1debuginfoaarch64aalib-debuginfo1.4.0-1.oe1aarch64\r\n2. 【反馈评分】\r\n> 5\r\n3. 【反馈意见】\r\n> 测试-1","url":"https://gitee.com/openeuler/easy-software/issues/IACJZ0"}]}]} +``` ## ISV伙伴数 * URL: https://dsapi.osinfra.cn/query/isv/count?community=openeuler -- Gitee From 5ef86ff8ed8c40d6de70961802feb00850185708 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 22 Jul 2024 11:24:06 +0000 Subject: [PATCH 16/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 3b5edc1..478eb2d 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -13,8 +13,8 @@ {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` -## 软件中心反馈Issue -* URL: https://dsapi.osinfra.cn/query/repo/issues?community=openeuler +## 软件中心反馈 Issue 数据 +* URL: https://dsapi.osinfra.cn/query/repo/issues?community=openeuler&repo=easy-software * GET ``` community: 必选,openeuler -- Gitee From 69de184254d176b360c1fa6f5941a9477602963e Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 24 Jul 2024 01:36:54 +0000 Subject: [PATCH 17/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 478eb2d..740cc3b 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -13,6 +13,28 @@ {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` +## 软件中心快速反馈 Issue +* URL: https://dsapi.osinfra.cn/query/nps/issue?community=software +* POST +``` +{ + "feedbackPageUrl": "https://easysoftware.test.osinfra.cn/zh/rpm/detail?pkgId=openEuler-20.03-LTS-SP1debuginfoaarch64aalib-debuginfo1.4.0-1.oe1aarch64", + "feedbackValue": 5, + "feedbackText": "测试反馈Issue", + "pkgId": "openEuler-20.03-LTS-SP1debuginfoaarch64aalib-debuginfo1.4.0-1.oe1aarch64", + "name": "aalib-debuginfo", + "version": "1.4.0-1.oe1", + "type": "RPM", + "srcRepo": null, + "maintainer": "gitee_id", + "maintainerEmail": null +} +``` +* response +``` +{"code":200,"data":"success","msg":"success","update_at":"2024-07-24T01:34:34Z"} +``` + ## 软件中心反馈 Issue 数据 * URL: https://dsapi.osinfra.cn/query/repo/issues?community=openeuler&repo=easy-software * GET -- Gitee From 079ddee654b271dcce86101a5a79585b6a09f666 Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 16 Aug 2024 03:16:02 +0000 Subject: [PATCH 18/48] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20EasySoftWare-API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/EasySoftWare-API/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/EasySoftWare-API/.keep diff --git a/docs/EasySoftWare-API/.keep b/docs/EasySoftWare-API/.keep new file mode 100644 index 0000000..e69de29 -- Gitee From 6eb256efa1ad499d37741e8a09637c326caaec53 Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 16 Aug 2024 03:29:22 +0000 Subject: [PATCH 19/48] add docs/EasySoftWare-API/api.md. Signed-off-by: wu --- docs/EasySoftWare-API/api.md | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/EasySoftWare-API/api.md diff --git a/docs/EasySoftWare-API/api.md b/docs/EasySoftWare-API/api.md new file mode 100644 index 0000000..53b9fdf --- /dev/null +++ b/docs/EasySoftWare-API/api.md @@ -0,0 +1,56 @@ +## 获取maintainer维护的软件仓库 +* URL: /collaboration/maintainer/user/repos +* POST +``` +{ + "repo": "grafana", + "kind": "类别", + "status": "状态", + "sigName": "sig名称", + "pageNum": 1, + "pageSize": 10 +} +``` +* response +``` +{ + "code": 200, + "data": { + "total": 1, + "list": [ + { + "repo": "grafana", + "kind": "类别", + "status": "状态", + "sigName": "sig名称", + "cveStatus": "cve状态", + "issueStatus": "issue状态", + "prStatus": "软件包更新状态", + "contributorStatus": "贡献人员状态", + "orgStatus": "贡献组织状态", + "versionStatus": "软件包版本状态" + } + ] + }, + "msg": "success", +} +``` + +## 管理员审批申请单 +* URL: /collaboration/admin/process +* POST +``` +{ + "applyId": 12345, + "applyStatus": "申请单状态--同意(approved)或拒绝(rejected)", + "comment": "审批意见" +} +``` +* response +``` +{ + "code": 200, + "msg": "ok", + +} +``` \ No newline at end of file -- Gitee From 1bdd8d4d277230efa7dbd88da8ef40333ed8960b Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 16 Aug 2024 03:30:28 +0000 Subject: [PATCH 20/48] update docs/EasySoftWare-API/api.md. Signed-off-by: wu --- docs/EasySoftWare-API/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/EasySoftWare-API/api.md b/docs/EasySoftWare-API/api.md index 53b9fdf..3dae735 100644 --- a/docs/EasySoftWare-API/api.md +++ b/docs/EasySoftWare-API/api.md @@ -32,7 +32,7 @@ } ] }, - "msg": "success", + "msg": "success" } ``` -- Gitee From f941d957f62938fef368e57de72549b7ec0ec6b9 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 19 Aug 2024 07:13:50 +0000 Subject: [PATCH 21/48] update docs/EasySoftWare-API/api.md. Signed-off-by: wu --- docs/EasySoftWare-API/api.md | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/EasySoftWare-API/api.md b/docs/EasySoftWare-API/api.md index 3dae735..9a48d3e 100644 --- a/docs/EasySoftWare-API/api.md +++ b/docs/EasySoftWare-API/api.md @@ -36,6 +36,44 @@ } ``` +## 管理员获取所有软件仓库 +* URL: /collaboration/admin/user/repos +* POST +``` +{ + "repo": "grafana", + "kind": "类别", + "status": "状态", + "sigName": "sig名称", + "pageNum": 1, + "pageSize": 10 +} +``` +* response +``` +{ + "code": 200, + "data": { + "total": 1, + "list": [ + { + "repo": "grafana", + "kind": "类别", + "status": "状态", + "sigName": "sig名称", + "cveStatus": "cve状态", + "issueStatus": "issue状态", + "prStatus": "软件包更新状态", + "contributorStatus": "贡献人员状态", + "orgStatus": "贡献组织状态", + "versionStatus": "软件包版本状态" + } + ] + }, + "msg": "success" +} +``` + ## 管理员审批申请单 * URL: /collaboration/admin/process * POST -- Gitee From 6f421f47b2004b2d060b46e974fcd419949010fc Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 20 Aug 2024 11:48:14 +0000 Subject: [PATCH 22/48] update docs/EasySoftWare-API/api.md. Signed-off-by: wu --- docs/EasySoftWare-API/api.md | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/docs/EasySoftWare-API/api.md b/docs/EasySoftWare-API/api.md index 9a48d3e..f45fbe0 100644 --- a/docs/EasySoftWare-API/api.md +++ b/docs/EasySoftWare-API/api.md @@ -1,15 +1,13 @@ ## 获取maintainer维护的软件仓库 * URL: /collaboration/maintainer/user/repos -* POST +* GET ``` -{ - "repo": "grafana", - "kind": "类别", - "status": "状态", - "sigName": "sig名称", - "pageNum": 1, - "pageSize": 10 -} +"repo": "grafana", +"kind": "类别", +"status": "状态", +"sigName": "sig名称", +"pageNum": 1, +"pageSize": 10 ``` * response ``` @@ -38,16 +36,14 @@ ## 管理员获取所有软件仓库 * URL: /collaboration/admin/user/repos -* POST +* GET ``` -{ - "repo": "grafana", - "kind": "类别", - "status": "状态", - "sigName": "sig名称", - "pageNum": 1, - "pageSize": 10 -} +"repo": "grafana", +"kind": "类别", +"status": "状态", +"sigName": "sig名称", +"pageNum": 1, +"pageSize": 10 ``` * response ``` -- Gitee From 0a6fa850117e425a9fba24613556fa585768b1af Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 23 Sep 2024 08:32:32 +0000 Subject: [PATCH 23/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 740cc3b..af03d37 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -99,3 +99,51 @@ path:取值范围(可缺省:表示体验空间,space:体验空间,mo ``` {"code":200,"data":[{"repo_id":"540","count":7},{"repo_id":"8776","count":5},{"repo_id":"545","count":4},{"repo_id":"6961","count":3},{"repo_id":"539","count":2},{"repo_id":"8775","count":1}],"msg":"OK","update_at":"2024-06-07T06:22:38Z"} ``` + +## 获取仓库的maintainer和committer +* URL: https://dsapi.osinfra.cn/query/sig/repo/committers +* 请求方式: GET +* 参数: +``` +community:必选,取值范围:openeuler +sig:必选,取值范围:sig组名称 +``` + +* response +``` +{ + "msg": "success", + "code": 200, + "data": { + "maintainers": ["xiezhipeng1","licihua"], //sig所有maintainer gitee id + "committers": ["Vchanger","xiezhipeng1","yangyongguang","licihua"], //sig所有committer gitee id + "committerDetails": [ + { + "gitee_id": [ + "Vchanger", + "xiezhipeng1", + "yangyongguang", + ], + "repo": "src-openeuler/EulerCopilot" // 当前repo的所有committer gitee id + }, + { + "gitee_id": [ + "Vchanger", + "licihua", + "xiezhipeng1", + "yangyongguang" + ], + "repo": "openeuler/A-Tune-Collector" // 当前repo的所有committer gitee id + } + ] + }, + "update_at": "2024-06-23T08:24:50Z" +} +``` + +* 示例 +``` +https://dsapi.osinfra.cn/query/sig/repo/committers?community=openeuler&sig=ai + +{"msg":"success","code":200,"data":{"maintainers":["xiezhipeng1","licihua","gaoruoshu","hubin95","yangyongguang","Vchanger"],"committers":["Vchanger","xiezhipeng1","ironictwist","GalaxyG","gameoverboss","a-carter-bear","ksana123","gaoruoshu","znzjugod","Lostwayzxc","sdlzx","licihua","wangning126","yangyongguang","jinyao320","hubin95","eggilu","liu-yuntao-10"],"committerDetails":[{"gitee_id":["Vchanger","gaoruoshu","hubin95","licihua","xiezhipeng1","yangyongguang","znzjugod"],"repo":"src-openeuler/EulerCopilot"},{"gitee_id":["Vchanger","gaoruoshu","hubin95","licihua","xiezhipeng1","yangyongguang"],"repo":"openeuler/A-Tune-Collector"}]},"update_at":"2024-06-23T08:24:50Z"} +``` \ No newline at end of file -- Gitee From 31ca82bfe02d8089de4a7196a090744ce6278c32 Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 27 Sep 2024 01:37:47 +0000 Subject: [PATCH 24/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index af03d37..7a8a0ad 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -73,7 +73,7 @@ pageSize": 可选,取值范围:5~100;缺省时默认值为10 -## 模型下载 +## openMind资源下载 * URL: https://dsapi.osinfra.cn/query/modelfoundry/download/count * 请求方式: GET * 参数: @@ -87,7 +87,7 @@ path:下载环境,取值范围(可缺省:表示生产环境,sh:ascen ``` -## 访问量 +## openMind资源访问量 * URL: https://dsapi.test.osinfra.cn/query/modelfoundry/view/count * 请求方式: GET * 参数: -- Gitee From 5d2a0305ab44424831ab51afa588594acca912d4 Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 28 Feb 2025 06:46:39 +0000 Subject: [PATCH 25/48] add docs/Datastat-API/topN_api.md. Signed-off-by: wu --- docs/Datastat-API/topN_api.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 docs/Datastat-API/topN_api.md diff --git a/docs/Datastat-API/topN_api.md b/docs/Datastat-API/topN_api.md new file mode 100644 index 0000000..6231630 --- /dev/null +++ b/docs/Datastat-API/topN_api.md @@ -0,0 +1,31 @@ +## 获取指标数据 +* URL: https://dsapi.osinfra.cn/query/metric/{community} +* Method: GET +* 参数: community,取值openeuler、opengauss、mindspore +* 响应: +|响应字段|说明|示例| +| ----------- | ----------| ---- | +| external_pr_ratio | 非华为贡献占比 |0.73| +| contribute_orgs | 贡献组织数 |3| +| issue | 需求/缺陷数 |17773| +| issue_reply_time | 需求/缺陷响应时间 |13| +| issue_closed_ratio | 需求/缺陷闭环率 |0.83| +| users | 开发者数量 |23578| + +* 示例:https://dsapi.osinfra.cn/query/metric/mindspore +* response +``` +{ + "code": 200, + "data": { + "external_pr_ratio": 0.73, + "contribute_orgs": 0, + "issue": 43000, + "issue_reply_time": 9, + "issue_closed_ratio": 0.83, + "users": 44874 + }, + "msg": "ok", + "update_at": "2025-02-28T06:33:50Z" +} +``` \ No newline at end of file -- Gitee From dd3d79c4ec9fde814cfdc57ce6bff546bbf3a5ad Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 28 Feb 2025 06:47:18 +0000 Subject: [PATCH 26/48] update docs/Datastat-API/topN_api.md. Signed-off-by: wu --- docs/Datastat-API/topN_api.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Datastat-API/topN_api.md b/docs/Datastat-API/topN_api.md index 6231630..3d44035 100644 --- a/docs/Datastat-API/topN_api.md +++ b/docs/Datastat-API/topN_api.md @@ -3,6 +3,7 @@ * Method: GET * 参数: community,取值openeuler、opengauss、mindspore * 响应: + |响应字段|说明|示例| | ----------- | ----------| ---- | | external_pr_ratio | 非华为贡献占比 |0.73| -- Gitee From 918d563f6fa2d70cad5ee9f137c2c5dee4a62796 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 5 Mar 2025 01:32:59 +0000 Subject: [PATCH 27/48] update docs/Datastat-API/topN_api.md. Signed-off-by: wu --- docs/Datastat-API/topN_api.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/Datastat-API/topN_api.md b/docs/Datastat-API/topN_api.md index 3d44035..f71eb5d 100644 --- a/docs/Datastat-API/topN_api.md +++ b/docs/Datastat-API/topN_api.md @@ -4,14 +4,14 @@ * 参数: community,取值openeuler、opengauss、mindspore * 响应: -|响应字段|说明|示例| -| ----------- | ----------| ---- | -| external_pr_ratio | 非华为贡献占比 |0.73| -| contribute_orgs | 贡献组织数 |3| -| issue | 需求/缺陷数 |17773| -| issue_reply_time | 需求/缺陷响应时间 |13| -| issue_closed_ratio | 需求/缺陷闭环率 |0.83| -| users | 开发者数量 |23578| +|响应字段|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| external_pr_ratio | 非华为贡献占比 |0.73| - | +| contribute_orgs | 贡献组织数 |3| - | +| issue | 需求/缺陷数 |17773| - | +| issue_reply_time | 需求/缺陷响应时间 |13| - | +| issue_closed_ratio | 需求/缺陷闭环率 |0.83| - | +| users | 开发者数量 |23578|mindspore有,openeuler和opengauss没有此响应字段| * 示例:https://dsapi.osinfra.cn/query/metric/mindspore * response -- Gitee From e8cbd641501bdba596ad77eb3b6ba86694c9855b Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 17 Mar 2025 11:02:57 +0000 Subject: [PATCH 28/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index 7a8a0ad..ffba89d 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -13,6 +13,25 @@ {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` +## 文档反馈NPS +* URL: https://dsapi.test.osinfra.cn/query/doc/nps/{community} +* 路劲参数 community, 取值:openueler,openubmc +* POST +* 示例 https://dsapi.test.osinfra.cn/query/doc/nps/openueler +``` +{ + "feedbackPageUrl": "http://docs.openeuler.org", + "efficiency": 3, + "accuracy": 3, + "completeness": 3, + "usability": 3 +} +``` +* response +``` +{"code":200,"data":"success","msg":"success","update_at":"2025-03-17T06:37:50Z"} +``` + ## 软件中心快速反馈 Issue * URL: https://dsapi.osinfra.cn/query/nps/issue?community=software * POST -- Gitee From 6073beb998c80626adf83006f8e431b4276c734d Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 18 Mar 2025 03:01:53 +0000 Subject: [PATCH 29/48] add docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/MagicAPI/api.md diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md new file mode 100644 index 0000000..6e3f5c2 --- /dev/null +++ b/docs/MagicAPI/api.md @@ -0,0 +1,41 @@ +## 获取社区健康度指标 +* URL: https://magicapi.test.osinfra.cn/health/{community}/score +* Method: GET +* 参数: community,取值openubmc、openeuler、opengauss、mindspore +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | + +* 响应: + +|响应字段|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| xxx | xxx |xxx| - | + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/score +* response +``` +{ + "code": 1, + "message": "success", + "data": [ + { + "created_at": "2025-03-17", + "社区有效维护": 1, + "版本稳定发布": 3, + "需求/缺陷闭环率": 1, + "贡献者交互率": 1, + "PR/ASsue首次响应时间": 3, + "贡献企业多样性": 1, + "大象系数": 2, + "开发者撬动比": 5, + "装机量/下载量": 5, + "NSS评分": 5, + "软件供应链安全": 1, + "技术影响力": 2 + } + ], + "timestamp": 1742266743660, + "executeTime": 6 +} +``` \ No newline at end of file -- Gitee From 2c64e60cef62fbe58e66fc6386e2ae46f3357137 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 18 Mar 2025 03:11:07 +0000 Subject: [PATCH 30/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 48 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 6e3f5c2..c0f440f 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -1,7 +1,8 @@ -## 获取社区健康度指标 +## 获取社区健康度指标得分 * URL: https://magicapi.test.osinfra.cn/health/{community}/score * Method: GET * 参数: community,取值openubmc、openeuler、opengauss、mindspore + |参数|说明|示例|备注| | ----------- | ----------| ---- | ---- | | community | 社区名 |openubmc| - | @@ -25,7 +26,7 @@ "版本稳定发布": 3, "需求/缺陷闭环率": 1, "贡献者交互率": 1, - "PR/ASsue首次响应时间": 3, + "PR/Issue首次响应时间": 3, "贡献企业多样性": 1, "大象系数": 2, "开发者撬动比": 5, @@ -38,4 +39,47 @@ "timestamp": 1742266743660, "executeTime": 6 } +``` + +## 获取社区健康度指标值 +* URL: https://magicapi.test.osinfra.cn/health/{community}/value +* Method: GET +* 参数: community,取值openubmc、openeuler、opengauss、mindspore + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | + +* 响应: + +|响应字段|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| xxx | xxx |xxx| - | + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/value +* response +``` +{ + "code": 1, + "message": "success", + "data": [ + { + "created_at": "2025-03-17", + "社区有效维护": 0.17, + "版本稳定发布": 1.3, + "需求/缺陷闭环率": 0.71, + "贡献者交互率": 1, + "PR/Issue首次响应时间": 3, + "贡献企业多样性": 4, + "大象系数": 2, + "开发者撬动比": 0.8, + "装机量/下载量": 150000, + "NSS评分": 0.5, + "软件供应链安全": 0, + "技术影响力": 0.2 + } + ], + "timestamp": 1742266743660, + "executeTime": 6 +} ``` \ No newline at end of file -- Gitee From ba6cb6b8175b6485257cafd75ff3cf5d0384d9a9 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 18 Mar 2025 03:19:48 +0000 Subject: [PATCH 31/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index c0f440f..96d1974 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -52,10 +52,6 @@ * 响应: -|响应字段|说明|示例|备注| -| ----------- | ----------| ---- | ---- | -| xxx | xxx |xxx| - | - * 示例:https://magicapi.test.osinfra.cn/health/openubmc/value * response ``` @@ -82,4 +78,41 @@ "timestamp": 1742266743660, "executeTime": 6 } +``` + +## 获取社区健康度指标趋势 +* URL: https://magicapi.test.osinfra.cn/health/{community}/trend +* Method: GET +* 参数: community,取值openubmc、openeuler、opengauss、mindspore + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | + +* 响应: + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/trend +* response +``` +{ + "code": 1, + "message": "success", + "data": { + "date": ["2025-03-07", "2025-03-08", "2025-03-09", "2025-03-10", "2025-03-11", "2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"], + "社区有效维护": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "版本稳定发布": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], + "需求/缺陷闭环率": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "贡献者交互率": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "ASsue首次响应时间": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], + "贡献企业多样性": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "大象系数": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], + "开发者撬动比": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "装机量/下载量": [1, 1, 3, 4, 4, 5, 5, 5, 5, 5, 5], + "NSS评分": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "软件供应链安全": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "技术影响力": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] + }, + "timestamp": 1742266015856, + "executeTime": 42 +} ``` \ No newline at end of file -- Gitee From 99635a147b25083c8555935f576ae7e44d2447ba Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 18 Mar 2025 06:32:57 +0000 Subject: [PATCH 32/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 129 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 112 insertions(+), 17 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 96d1974..7bea957 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -1,4 +1,4 @@ -## 获取社区健康度指标得分 +## (弃用)获取社区健康度指标得分 * URL: https://magicapi.test.osinfra.cn/health/{community}/score * Method: GET * 参数: community,取值openubmc、openeuler、opengauss、mindspore @@ -41,7 +41,7 @@ } ``` -## 获取社区健康度指标值 +## (弃用)获取社区健康度指标值 * URL: https://magicapi.test.osinfra.cn/health/{community}/value * Method: GET * 参数: community,取值openubmc、openeuler、opengauss、mindspore @@ -91,6 +91,22 @@ * 响应: +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| date | 时间序列 |["2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"]| - | +| effective_maintenance | 社区有效维护 |-| - | +| version_release | 版本稳定发布 |-| - | +| issue_close | 需求/缺陷闭环率 |-| - | +| contributor_interaction | 贡献者交互率 |-| - | +| first_response | PR/Issue首次响应时间 |-| - | +| contribution_diversity | 贡献企业多样性 |-| - | +| elephant_coefficient | 大象系数 |-| - | +| leverage_ratio | 开发者撬动比 |-| - | +| download | 装机量/下载量 |-| - | +| nss | NSS评分 |-| - | +| certification | 软件供应链安全 |-| - | +| tech_influence | 技术影响力 |-| - | + * 示例:https://magicapi.test.osinfra.cn/health/openubmc/trend * response ``` @@ -98,21 +114,100 @@ "code": 1, "message": "success", "data": { - "date": ["2025-03-07", "2025-03-08", "2025-03-09", "2025-03-10", "2025-03-11", "2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"], - "社区有效维护": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "版本稳定发布": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], - "需求/缺陷闭环率": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "贡献者交互率": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "ASsue首次响应时间": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], - "贡献企业多样性": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "大象系数": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], - "开发者撬动比": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], - "装机量/下载量": [1, 1, 3, 4, 4, 5, 5, 5, 5, 5, 5], - "NSS评分": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], - "软件供应链安全": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "技术影响力": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] + "date": ["2024-03-07", "2024-03-08", "2025-03-07", "2025-03-08", "2025-03-09", "2025-03-10", "2025-03-11", "2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"], + "effective_maintenance": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "version_release": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], + "issue_close": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "contributor_interaction": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "first_response": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], + "contribution_diversity": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "elephant_coefficient": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], + "leverage_ratio": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "download": [1, 1, 1, 1, 3, 4, 4, 5, 5, 5, 5, 5, 5], + "nss": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "certification": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "tech_influence": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] }, - "timestamp": 1742266015856, - "executeTime": 42 + "timestamp": 1742279562117, + "executeTime": 9 +} +``` + +## 获取当前社区健康度指标以及真实值 +* URL: https://magicapi.test.osinfra.cn/health/{community}/metric +* Method: GET +* 参数: community,取值openubmc、openeuler、opengauss、mindspore + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | + +* 响应: + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| created_at | 时间 |2025-03-17| - | +| effective_maintenance | 社区有效维护 |-| - | +| version_release | 版本稳定发布 |-| - | +| issue_close | 需求/缺陷闭环率 |-| - | +| contributor_interaction | 贡献者交互率 |-| - | +| first_response | PR/Issue首次响应时间 |-| - | +| contribution_diversity | 贡献企业多样性 |-| - | +| elephant_coefficient | 大象系数 |-| - | +| leverage_ratio | 开发者撬动比 |-| - | +| download | 装机量/下载量 |-| - | +| nss | NSS评分 |-| - | +| certification | 软件供应链安全 |-| - | +| tech_influence | 技术影响力 |-| - | +| effective_maintenance_value | 社区有效维护值 |-| - | +| version_release_value | 版本稳定发布值 |-| - | +| issue_close_value | 需求/缺陷闭环率值 |-| - | +| contributor_interaction_value | 贡献者交互率值 |-| - | +| first_response_value | PR/Issue首次响应时间值 |-| - | +| contribution_diversity_value | 贡献企业多样性值 |-| - | +| elephant_coefficient_value | 大象系数值 |-| - | +| leverage_ratio_value | 开发者撬动比值 |-| - | +| download_value | 装机量/下载量值 |-| - | +| nss_value | NSS评分值 |-| - | +| certification_value | 软件供应链安全值 |-| - | +| tech_influence_value | 技术影响力 |-| - | + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/metric +* response +``` +{ + "code": 1, + "message": "success", + "data": [ + { + "created_at": "2025-03-17", + "effective_maintenance": 1, + "version_release": 3, + "issue_close": 1, + "contributor_interaction": 1, + "first_response": 3, + "contribution_diversity": 1, + "elephant_coefficient": 2, + "leverage_ratio": 5, + "download": 5, + "nss": 5, + "certification": 1, + "tech_influence": 2, + "effective_maintenance_value": 0.13636364, + "version_release_value": 1.2, + "issue_close_value": 0.5, + "contributor_interaction_value": 1.0, + "first_response_value": 4.9241433, + "contribution_diversity_value": 4, + "elephant_coefficient_value": 1, + "leverage_ratio_value": 57.979465, + "download_value": 140000, + "nss_value": 0.6, + "certification_value": 0, + "tech_influence_value": 0.1 + } + ], + "timestamp": 1742278722188, + "executeTime": 5 } ``` \ No newline at end of file -- Gitee From 36082d8c586c9a01d835cc1d99be1535dcaf4999 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 18 Mar 2025 06:41:04 +0000 Subject: [PATCH 33/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 80 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 7bea957..d870735 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -210,4 +210,84 @@ "timestamp": 1742278722188, "executeTime": 5 } +``` + +## 获取当前社区健康度指标同比 +* URL: https://magicapi.test.osinfra.cn/health/{community}/on/{interval} +* Method: GET +* 参数: + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | +| interval | 同比间隔 |day, week, year| - | + +* 响应: + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| created_at | 时间 |2025-03-17| - | +| effective_maintenance | 社区有效维护 |-| - | +| version_release | 版本稳定发布 |-| - | +| issue_close | 需求/缺陷闭环率 |-| - | +| contributor_interaction | 贡献者交互率 |-| - | +| first_response | PR/Issue首次响应时间 |-| - | +| contribution_diversity | 贡献企业多样性 |-| - | +| elephant_coefficient | 大象系数 |-| - | +| leverage_ratio | 开发者撬动比 |-| - | +| download | 装机量/下载量 |-| - | +| nss | NSS评分 |-| - | +| certification | 软件供应链安全 |-| - | +| tech_influence | 技术影响力 |-| - | +| effective_maintenance_value | 社区有效维护值 |-| - | +| version_release_value | 版本稳定发布值 |-| - | +| issue_close_value | 需求/缺陷闭环率值 |-| - | +| contributor_interaction_value | 贡献者交互率值 |-| - | +| first_response_value | PR/Issue首次响应时间值 |-| - | +| contribution_diversity_value | 贡献企业多样性值 |-| - | +| elephant_coefficient_value | 大象系数值 |-| - | +| leverage_ratio_value | 开发者撬动比值 |-| - | +| download_value | 装机量/下载量值 |-| - | +| nss_value | NSS评分值 |-| - | +| certification_value | 软件供应链安全值 |-| - | +| tech_influence_value | 技术影响力 |-| - | + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/on/year +* response +``` +{ + "code": 1, + "message": "success", + "data": [ + { + "created_at": "2024-03-08", + "effective_maintenance": 1, + "version_release": 3, + "issue_close": 1, + "contributor_interaction": 1, + "first_response": 3, + "contribution_diversity": 1, + "elephant_coefficient": 2, + "leverage_ratio": 5, + "download": 1, + "nss": 5, + "certification": 1, + "tech_influence": 2, + "effective_maintenance_value": 0.13636364, + "version_release_value": 1.2, + "issue_close_value": 0.5, + "contributor_interaction_value": 1.0, + "first_response_value": 4.9241433, + "contribution_diversity_value": 4, + "elephant_coefficient_value": 1, + "leverage_ratio_value": 57.979465, + "download_value": 10000, + "nss_value": 0.6, + "certification_value": 0, + "tech_influence_value": 0.1 + } + ], + "timestamp": 1742279886604, + "executeTime": 7 +} ``` \ No newline at end of file -- Gitee From 168f1a7e375dc8b66e214cbd34145c5060ec06f5 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 19 Mar 2025 01:14:20 +0000 Subject: [PATCH 34/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 127 +++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 72 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index d870735..5452609 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -1,3 +1,32 @@ +## 指标名称对应 + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| effective_maintenance | 社区有效维护 |-| - | +| version_release | 版本稳定发布 |-| - | +| issue_close | 需求/缺陷闭环率 |-| - | +| contributor_interaction | 贡献者交互率 |-| - | +| first_response | PR/Issue首次响应时间 |-| - | +| contribution_diversity | 贡献企业多样性 |-| - | +| elephant_coefficient | 大象系数 |-| - | +| leverage_ratio | 开发者撬动比 |-| - | +| download | 装机量/下载量 |-| - | +| nss | NSS评分 |-| - | +| certification | 软件供应链安全 |-| - | +| tech_influence | 技术影响力 |-| - | +| effective_maintenance_value | 社区有效维护真实值 |-| - | +| version_release_value | 版本稳定发布真实值 |-| - | +| issue_close_value | 需求/缺陷闭环率真实值 |-| - | +| contributor_interaction_value | 贡献者交互率真实值 |-| - | +| first_response_value | PR/Issue首次响应时间真实值 |-| - | +| contribution_diversity_value | 贡献企业多样性真实值 |-| - | +| elephant_coefficient_value | 大象系数真实值 |-| - | +| leverage_ratio_value | 开发者撬动比真实值 |-| - | +| download_value | 装机量/下载量真实值 |-| - | +| nss_value | NSS评分真实值 |-| - | +| certification_value | 软件供应链安全真实值 |-| - | +| tech_influence_value | 技术影响力真实值 |-| - | + ## (弃用)获取社区健康度指标得分 * URL: https://magicapi.test.osinfra.cn/health/{community}/score * Method: GET @@ -91,22 +120,6 @@ * 响应: -|参数|说明|示例|备注| -| ----------- | ----------| ---- | ---- | -| date | 时间序列 |["2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"]| - | -| effective_maintenance | 社区有效维护 |-| - | -| version_release | 版本稳定发布 |-| - | -| issue_close | 需求/缺陷闭环率 |-| - | -| contributor_interaction | 贡献者交互率 |-| - | -| first_response | PR/Issue首次响应时间 |-| - | -| contribution_diversity | 贡献企业多样性 |-| - | -| elephant_coefficient | 大象系数 |-| - | -| leverage_ratio | 开发者撬动比 |-| - | -| download | 装机量/下载量 |-| - | -| nss | NSS评分 |-| - | -| certification | 软件供应链安全 |-| - | -| tech_influence | 技术影响力 |-| - | - * 示例:https://magicapi.test.osinfra.cn/health/openubmc/trend * response ``` @@ -144,34 +157,6 @@ * 响应: -|参数|说明|示例|备注| -| ----------- | ----------| ---- | ---- | -| created_at | 时间 |2025-03-17| - | -| effective_maintenance | 社区有效维护 |-| - | -| version_release | 版本稳定发布 |-| - | -| issue_close | 需求/缺陷闭环率 |-| - | -| contributor_interaction | 贡献者交互率 |-| - | -| first_response | PR/Issue首次响应时间 |-| - | -| contribution_diversity | 贡献企业多样性 |-| - | -| elephant_coefficient | 大象系数 |-| - | -| leverage_ratio | 开发者撬动比 |-| - | -| download | 装机量/下载量 |-| - | -| nss | NSS评分 |-| - | -| certification | 软件供应链安全 |-| - | -| tech_influence | 技术影响力 |-| - | -| effective_maintenance_value | 社区有效维护值 |-| - | -| version_release_value | 版本稳定发布值 |-| - | -| issue_close_value | 需求/缺陷闭环率值 |-| - | -| contributor_interaction_value | 贡献者交互率值 |-| - | -| first_response_value | PR/Issue首次响应时间值 |-| - | -| contribution_diversity_value | 贡献企业多样性值 |-| - | -| elephant_coefficient_value | 大象系数值 |-| - | -| leverage_ratio_value | 开发者撬动比值 |-| - | -| download_value | 装机量/下载量值 |-| - | -| nss_value | NSS评分值 |-| - | -| certification_value | 软件供应链安全值 |-| - | -| tech_influence_value | 技术影响力 |-| - | - * 示例:https://magicapi.test.osinfra.cn/health/openubmc/metric * response ``` @@ -224,34 +209,6 @@ * 响应: -|参数|说明|示例|备注| -| ----------- | ----------| ---- | ---- | -| created_at | 时间 |2025-03-17| - | -| effective_maintenance | 社区有效维护 |-| - | -| version_release | 版本稳定发布 |-| - | -| issue_close | 需求/缺陷闭环率 |-| - | -| contributor_interaction | 贡献者交互率 |-| - | -| first_response | PR/Issue首次响应时间 |-| - | -| contribution_diversity | 贡献企业多样性 |-| - | -| elephant_coefficient | 大象系数 |-| - | -| leverage_ratio | 开发者撬动比 |-| - | -| download | 装机量/下载量 |-| - | -| nss | NSS评分 |-| - | -| certification | 软件供应链安全 |-| - | -| tech_influence | 技术影响力 |-| - | -| effective_maintenance_value | 社区有效维护值 |-| - | -| version_release_value | 版本稳定发布值 |-| - | -| issue_close_value | 需求/缺陷闭环率值 |-| - | -| contributor_interaction_value | 贡献者交互率值 |-| - | -| first_response_value | PR/Issue首次响应时间值 |-| - | -| contribution_diversity_value | 贡献企业多样性值 |-| - | -| elephant_coefficient_value | 大象系数值 |-| - | -| leverage_ratio_value | 开发者撬动比值 |-| - | -| download_value | 装机量/下载量值 |-| - | -| nss_value | NSS评分值 |-| - | -| certification_value | 软件供应链安全值 |-| - | -| tech_influence_value | 技术影响力 |-| - | - * 示例:https://magicapi.test.osinfra.cn/health/openubmc/on/year * response ``` @@ -290,4 +247,30 @@ "timestamp": 1742279886604, "executeTime": 7 } +``` + +## 获取当前社区健康度有效维护的仓库列表 +* URL: https://magicapi.test.osinfra.cn/health/{community}/active_repo +* Method: GET +* 参数: + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | +| interval | 同比间隔 |day, week, year| - | + +* 响应: + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/active_repo +* response +``` +{ + "code": 1, + "message": "success", + "data": { + "repos": ["openUBMC/bingo", "openUBMC/user", "openUBMC/conan-auth-proxy", "openUBMC/infrastructure", "openUBMC/certificate_mgmt", "openUBMC/web_online_help"] + }, + "timestamp": 1742346775735, + "executeTime": 5 +} ``` \ No newline at end of file -- Gitee From e623eb3574c5caf091d9368ae4450e5ed3bd7256 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 19 Mar 2025 01:15:41 +0000 Subject: [PATCH 35/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 5452609..7b3850f 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -127,22 +127,34 @@ "code": 1, "message": "success", "data": { - "date": ["2024-03-07", "2024-03-08", "2025-03-07", "2025-03-08", "2025-03-09", "2025-03-10", "2025-03-11", "2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17"], - "effective_maintenance": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "version_release": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], - "issue_close": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "contributor_interaction": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "first_response": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], - "contribution_diversity": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "elephant_coefficient": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], - "leverage_ratio": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], - "download": [1, 1, 1, 1, 3, 4, 4, 5, 5, 5, 5, 5, 5], - "nss": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], - "certification": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], - "tech_influence": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2] + "date": ["2024-03-07", "2024-03-08", "2025-03-07", "2025-03-08", "2025-03-09", "2025-03-10", "2025-03-11", "2025-03-12", "2025-03-13", "2025-03-14", "2025-03-15", "2025-03-16", "2025-03-17", "2025-03-18"], + "effective_maintenance": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "version_release": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], + "issue_close": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "contributor_interaction": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "first_response": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1], + "contribution_diversity": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "elephant_coefficient": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], + "leverage_ratio": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "download": [1, 1, 1, 1, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5], + "nss": [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], + "certification": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "tech_influence": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], + "effective_maintenance_value": [0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13636364, 0.13333334, 0.13333334], + "version_release_value": [1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2], + "issue_close_value": [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.57421875, 0.57421875], + "contributor_interaction_value": [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0], + "first_response_value": [4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 4.9241433, 7.3131943, 7.3131943], + "contribution_diversity_value": [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], + "elephant_coefficient_value": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], + "leverage_ratio_value": [57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.979465, 57.020233, 57.020233], + "download_value": [10000, 10000, 10000, 20000, 95000, 105000, 107600, 115000, 130000, 140000, 140000, 140000, 140000, 140000], + "nss_value": [0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6, 0.6], + "certification_value": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "tech_influence_value": [0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1] }, - "timestamp": 1742279562117, - "executeTime": 9 + "timestamp": 1742346905138, + "executeTime": 4 } ``` -- Gitee From 694e3cdcbe10aaa7ff83943642d92b269e456b19 Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 19 Mar 2025 01:38:43 +0000 Subject: [PATCH 36/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 7b3850f..7154b9f 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -209,7 +209,7 @@ } ``` -## 获取当前社区健康度指标同比 +## 获取社区健康度指标同比 * URL: https://magicapi.test.osinfra.cn/health/{community}/on/{interval} * Method: GET * 参数: @@ -261,7 +261,7 @@ } ``` -## 获取当前社区健康度有效维护的仓库列表 +## 获取社区有效维护的仓库列表 * URL: https://magicapi.test.osinfra.cn/health/{community}/active_repo * Method: GET * 参数: @@ -269,7 +269,6 @@ |参数|说明|示例|备注| | ----------- | ----------| ---- | ---- | | community | 社区名 |openubmc| - | -| interval | 同比间隔 |day, week, year| - | * 响应: @@ -285,4 +284,29 @@ "timestamp": 1742346775735, "executeTime": 5 } +``` + +## 获取社区贡献企业列表 +* URL: https://magicapi.test.osinfra.cn/health/{community}/companies +* Method: GET +* 参数: + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 社区名 |openubmc| - | + +* 响应: + +* 示例:https://magicapi.test.osinfra.cn/health/openubmc/companies +* response +``` +{ + "code": 1, + "message": "success", + "data": { + "companies": ["华为技术有限公司", "宝德计算机系统股份有限公司", "武汉长江计算科技有限公司"] + }, + "timestamp": 1742348116093, + "executeTime": 12 +} ``` \ No newline at end of file -- Gitee From eca3e68e40f46d9c23293cccc1db289ecd94e1db Mon Sep 17 00:00:00 2001 From: wu Date: Thu, 20 Mar 2025 06:17:10 +0000 Subject: [PATCH 37/48] =?UTF-8?q?update=20docs/blueuser/=E5=A1=94=E5=8F=B0?= =?UTF-8?q?=E8=93=9D=E5=8C=BA=E6=95=B0=E6=8D=AE=E6=8E=A5=E5=8F=A3.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wu --- ...72\346\225\260\346\215\256\346\216\245\345\217\243.md" | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git "a/docs/blueuser/\345\241\224\345\217\260\350\223\235\345\214\272\346\225\260\346\215\256\346\216\245\345\217\243.md" "b/docs/blueuser/\345\241\224\345\217\260\350\223\235\345\214\272\346\225\260\346\215\256\346\216\245\345\217\243.md" index b095303..8fa53a6 100644 --- "a/docs/blueuser/\345\241\224\345\217\260\350\223\235\345\214\272\346\225\260\346\215\256\346\216\245\345\217\243.md" +++ "b/docs/blueuser/\345\241\224\345\217\260\350\223\235\345\214\272\346\225\260\346\215\256\346\216\245\345\217\243.md" @@ -1,7 +1,7 @@ # 人员信息录入 # ## 请求接口 ## ``` -https://omapi.osinfra.cn/query/blueZone/users +https://dsapi.osinfra.cn/query/blueZone/users ``` ## 请求方式 ## @@ -39,7 +39,7 @@ https://omapi.osinfra.cn/query/blueZone/users # 贡献数据查询 # ## 请求接口 ## ``` -https://omapi.osinfra.cn/query/blueZone/contributes +https://dsapi.osinfra.cn/query/blueZone/contributes ``` ## 请求方式 ## @@ -56,7 +56,9 @@ https://omapi.osinfra.cn/query/blueZone/contributes } ``` 说明:时间范围为 startTime 00:00:00 至 endTime 23:59:59,既包含endTime当天的数据 - + +说明:数据量大,建议分批获取用户数据,即gitee_id列表或github_id列表一次性不超过 100 人 + ## 返回结果 ## 说明:一次返回的数据最多1W条,既prs、comments、commit、issue列表数据总条数最多 1W条,若超过1W可以通过时间段多次请求 -- Gitee From 342d49034a5ad439fbf5a94545f2491408932644 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 1 Apr 2025 06:55:28 +0000 Subject: [PATCH 38/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 7154b9f..192f489 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -309,4 +309,31 @@ "timestamp": 1742348116093, "executeTime": 12 } +``` + +## MagicAI接口 +* URL: https://datastat-develop.test.osinfra.cn/model/sql/chat +* Method: POST +* 参数: req,描述用户请求,可转化为sql语句 + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| req | 用户请求 |请给出openeuler合入pr个数| - | + +* 响应: + +* 示例:https://datastat-develop.test.osinfra.cn/model/sql/chat?req=%E8%AF%B7%E7%BB%99%E5%87%BAopeneuler%E5%90%88%E5%85%A5pr%E4%B8%AA%E6%95%B0 +* response +``` +{ + "data": [ + { + "merged_pr_count": 101 + } + ], + "columns": [ + "merged_pr_count" + ], + "sql": "SELECT COUNT(*) AS merged_pr_count FROM fact_contribute_openeuler_pr WHERE state = 'merged';" +} ``` \ No newline at end of file -- Gitee From 432014b7d5ebd57122825eb09e4e39cfe0a686c8 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 8 Apr 2025 01:05:30 +0000 Subject: [PATCH 39/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 102 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 192f489..4c83bc1 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -311,6 +311,108 @@ } ``` +##数据表接口 +* URL: https://datastat-develop.test.osinfra.cn/customization/{community}/tables +* Method: GET +* 参数: community,开源社区名称 + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| community | 开源社区名称 |openeuler| - | + +* 响应: + +* 示例:https://datastat-develop.test.osinfra.cn/customization/openeuler/tables +* response +``` +{ + "code": 1, + "message": "success", + "data": ["dws_openeuler_contribute", "dws_openeuler_repo_maintain_status", "dws_openeuler_repo_daily", "dws_openeuler_sig_daily", "dws_openeuler_company_week", "dws_openeuler_repo_week", "dws_openeuler_sig_week", "dws_openeuler_repo_month", "dws_openeuler_company_month", "dws_openeuler_sig_month", "dws_openeuler_company_daily", "dws_openeuler_repo_maintain", "dws_openeuler_contribute_user_daily", "dws_openeuler_contribute_company_daily", "dws_openeuler_contribute_sig_daily", "dws_openeuler_contribute_company_week", "dws_openeuler_contribute_company_month", "dws_openeuler_contribute_user_week", "dws_openeuler_contribute_sig_week", "dws_openeuler_contribute_sig_month", "dws_openeuler_contribute_user_month", "dws_openeuler_contribute_repo_daily", "dws_openeuler_contribute_repo_week", "dws_openeuler_contribute_repo_month"], + "timestamp": 1744073028850, + "executeTime": 5 +} +``` + +##原始表数据详情接口 +* URL: https://datastat-develop.test.osinfra.cn/customization/{community}/detail +* Method: POST +* 路径参数: community,开源社区名称 +* body +``` +{ + "dim": [], + "name": "dws_openeuler_contribute" +} +``` +* body参数 + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| dim | 数据获取维度 |["user_login","company","contrib_type"], 获取全部列则为空| - | +| name | 表明 |dws_openeuler_contribute| - | + +* 响应: + +* 示例:https://datastat-develop.test.osinfra.cn/customization/openeuler/detail +* body +``` +{ + "dim": ["user_login","company","contrib_type"], + "name": "dws_openeuler_contribute" +} +``` +* response +``` +{ + "code": 1, + "message": "success", + "data": [{ + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-sync-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-sync-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }, { + "user_login": "openeuler-ci-bot", + "company": "robot", + "contrib_type": "comment" + }], + "timestamp": 1744074259680, + "executeTime": 11 +} +``` + ## MagicAI接口 * URL: https://datastat-develop.test.osinfra.cn/model/sql/chat * Method: POST -- Gitee From aaaf436a511e7b6ef384fd58557e900492a6b769 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 8 Apr 2025 01:06:39 +0000 Subject: [PATCH 40/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 4c83bc1..3176dba 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -311,7 +311,7 @@ } ``` -##数据表接口 +## 数据表接口 * URL: https://datastat-develop.test.osinfra.cn/customization/{community}/tables * Method: GET * 参数: community,开源社区名称 @@ -334,7 +334,7 @@ } ``` -##原始表数据详情接口 +## 原始表数据详情接口 * URL: https://datastat-develop.test.osinfra.cn/customization/{community}/detail * Method: POST * 路径参数: community,开源社区名称 -- Gitee From df4fc51cfe0fce9fe67ffb85d5aed4b1e2539dee Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 8 Apr 2025 11:18:48 +0000 Subject: [PATCH 41/48] update docs/MagicAPI/api.md. Signed-off-by: wu --- docs/MagicAPI/api.md | 58 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/docs/MagicAPI/api.md b/docs/MagicAPI/api.md index 3176dba..571ad0d 100644 --- a/docs/MagicAPI/api.md +++ b/docs/MagicAPI/api.md @@ -312,7 +312,7 @@ ``` ## 数据表接口 -* URL: https://datastat-develop.test.osinfra.cn/customization/{community}/tables +* URL: https://magicapi.test.osinfra.cn/customization/{community}/tables * Method: GET * 参数: community,开源社区名称 @@ -328,38 +328,48 @@ { "code": 1, "message": "success", - "data": ["dws_openeuler_contribute", "dws_openeuler_repo_maintain_status", "dws_openeuler_repo_daily", "dws_openeuler_sig_daily", "dws_openeuler_company_week", "dws_openeuler_repo_week", "dws_openeuler_sig_week", "dws_openeuler_repo_month", "dws_openeuler_company_month", "dws_openeuler_sig_month", "dws_openeuler_company_daily", "dws_openeuler_repo_maintain", "dws_openeuler_contribute_user_daily", "dws_openeuler_contribute_company_daily", "dws_openeuler_contribute_sig_daily", "dws_openeuler_contribute_company_week", "dws_openeuler_contribute_company_month", "dws_openeuler_contribute_user_week", "dws_openeuler_contribute_sig_week", "dws_openeuler_contribute_sig_month", "dws_openeuler_contribute_user_month", "dws_openeuler_contribute_repo_daily", "dws_openeuler_contribute_repo_week", "dws_openeuler_contribute_repo_month"], + "data": ["dws_openeuler_contribute", "dws_openeuler_repo_maintain_status", "dws_openeuler_contribute_sig_month", "dws_openeuler_contribute_user_month", "dws_openeuler_contribute_repo_daily", "dws_openeuler_contribute_repo_week", "dws_openeuler_contribute_repo_month"], "timestamp": 1744073028850, "executeTime": 5 } ``` ## 原始表数据详情接口 -* URL: https://datastat-develop.test.osinfra.cn/customization/{community}/detail +* URL: https://magicapi.test.osinfra.cn/customization/{community}/detail * Method: POST * 路径参数: community,开源社区名称 * body ``` { "dim": [], - "name": "dws_openeuler_contribute" + "name": "dws_opengauss_contribute", + "filters": [{"column": "user_login", "operator": "=", "value": "zhulixia"}, {"column": "comment_num", "operator": ">", "value": 3}], + "order_field": "html_url", + "order_dir": "asc" } ``` * body参数 |参数|说明|示例|备注| | ----------- | ----------| ---- | ---- | -| dim | 数据获取维度 |["user_login","company","contrib_type"], 获取全部列则为空| - | -| name | 表明 |dws_openeuler_contribute| - | +| dim | 数据获取维度 |["user_login","company","contrib_type"]| 获取全部列则为空 | +| name | 表名 |dws_openeuler_contribute| - | +| filters | 过滤条件 |[{"column": "user_login", "operator": "<>", "value": "zhulixia"}]| 支持多个条件组合 | +| order_field | 排序字段 |html_url| - | +| order_dir | 排序规则 |asc| - | + * 响应: -* 示例:https://datastat-develop.test.osinfra.cn/customization/openeuler/detail +* 示例:https://magicapi.test.osinfra.cn/customization/customization/openeuler/detail * body ``` { "dim": ["user_login","company","contrib_type"], - "name": "dws_openeuler_contribute" + "name": "dws_openeuler_contribute", + "filters": [{"column": "user_login", "operator": "=", "value": "openeuler-ci-bot"}, {"column": "contrib_type", "operator": "=", "value": 'comment'}], + "order_field": "user_login", + "order_dir": "asc" } ``` * response @@ -413,6 +423,38 @@ } ``` +## 查询总数 +* URL: https://magicapi.test.osinfra.cn/customization/total +* Method: POST +* 路径参数: community,开源社区名称 +* body +``` +{ + "name": "dws_opengauss_contribute", + "filters": [{"column": "user_login", "operator": "=", "value": "zhulixia"}, {"column": "comment_num", "operator": ">", "value": 3}], +} +``` +* body参数 + +|参数|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| name | 表名 |dws_openeuler_contribute| - | +| filters | 过滤条件 |[{"column": "user_login", "operator": "<>", "value": "zhulixia"}]| 支持多个条件组合 | + +* 示例:https://magicapi.test.osinfra.cn/customization/total +* response +``` +{ + "code": 1, + "message": "success", + "data": { + "count": 65 + }, + "timestamp": 1744110318123, + "executeTime": 166 +} +``` + ## MagicAI接口 * URL: https://datastat-develop.test.osinfra.cn/model/sql/chat * Method: POST -- Gitee From 3b7281cb06678f868d33020174206be98497e45a Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 19 May 2025 09:19:25 +0000 Subject: [PATCH 42/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index 2d38bba..e79e92b 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -40,7 +40,8 @@ "comment": "请输入需要的其他支持" } ], - "details": "《openEuler》- 阳" + "details": "《openEuler》- 阳", + "acceptPrivacy": true } ``` ## 场地贡献(下线) -- Gitee From 8dcb80b49093c5d990189a34be868b2d40f86dc6 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 19 May 2025 09:19:49 +0000 Subject: [PATCH 43/48] update docs/Datastat-API/meetup_instruction.md. Signed-off-by: wu --- docs/Datastat-API/meetup_instruction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Datastat-API/meetup_instruction.md b/docs/Datastat-API/meetup_instruction.md index e79e92b..e045659 100644 --- a/docs/Datastat-API/meetup_instruction.md +++ b/docs/Datastat-API/meetup_instruction.md @@ -41,7 +41,7 @@ } ], "details": "《openEuler》- 阳", - "acceptPrivacy": true + "acceptPrivacy": true } ``` ## 场地贡献(下线) -- Gitee From 20f8f2e9271d249ed27ca62c7130aa306e4f52a4 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 16 Jun 2025 07:20:30 +0000 Subject: [PATCH 44/48] update docs/Datastat-API/topN_api.md. Signed-off-by: wu --- docs/Datastat-API/topN_api.md | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/docs/Datastat-API/topN_api.md b/docs/Datastat-API/topN_api.md index f71eb5d..fd5c7ff 100644 --- a/docs/Datastat-API/topN_api.md +++ b/docs/Datastat-API/topN_api.md @@ -29,4 +29,53 @@ "msg": "ok", "update_at": "2025-02-28T06:33:50Z" } +``` +## 获取下载量分布 +* URL: https://magicapi.test.osinfra.cn/community/download/source/{community} +* Method: GET +* 参数: community,取值openeuler、mindspore +* 响应: + +|响应字段|说明|示例|备注| +| ----------- | ----------| ---- | ---- | +| dockerhub | Dockerhub容器镜像 |8097| - | +| obs | MindSpore包whl下载 |6343666| - | +| xihe | 昇思大模型平台下载 |1375203| - | +| gitee_clone | - |58456| - | +| github_clone | - |90293| - | +| tinyms | - |23578| - | +| openmind | openMind/Modelers平台模型下载 |168739| - | +| model_zoo | - |3948030| - | +| pypi | - |501557| - | +| openmind_image | openMind镜像下载 |25| - | +| dockerhub | Dockerhub容器镜像 |77893| - | +| huawei_cloud | 华为云镜像仓库 |1200123| - | +| swr | 官方容器镜像 |87773| - | +| iscas | 软件所 |13667| - | +| qinghua | 清华站 |67883| - | +| oepkgs | OEPKGS开发软件包平台 |23578| - | +| Russia | 俄罗斯 |456| - | +| iso | openEuler官网下载 |235778| - | + +* 示例:https://magicapi.test.osinfra.cn/community/download/source/mindspore +* response +``` +{ + "code": 1, + "message": "success", + "data": { + "dockerhub": 8097, + "obs": 6343666, + "xihe": 1375203, + "gitee_clone": 58456, + "tinyms": 15359, + "openmind_image": 25, + "model_zoo": 3948030, + "pypi": 501557, + "openmind": 168739, + "github_clone": 90293 + }, + "timestamp": 1750057493901, + "executeTime": 10 +} ``` \ No newline at end of file -- Gitee From 3fdbf28d5f687c7040377f591de07ef5ea670568 Mon Sep 17 00:00:00 2001 From: wu Date: Mon, 23 Jun 2025 11:05:12 +0000 Subject: [PATCH 45/48] update docs/Datastat-API/topN_api.md. Signed-off-by: wu --- docs/Datastat-API/topN_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Datastat-API/topN_api.md b/docs/Datastat-API/topN_api.md index fd5c7ff..bfb70cc 100644 --- a/docs/Datastat-API/topN_api.md +++ b/docs/Datastat-API/topN_api.md @@ -31,7 +31,7 @@ } ``` ## 获取下载量分布 -* URL: https://magicapi.test.osinfra.cn/community/download/source/{community} +* URL: https://magicapi.test.osinfra.cn/community/download/source * Method: GET * 参数: community,取值openeuler、mindspore * 响应: @@ -57,7 +57,7 @@ | Russia | 俄罗斯 |456| - | | iso | openEuler官网下载 |235778| - | -* 示例:https://magicapi.test.osinfra.cn/community/download/source/mindspore +* 示例:https://magicapi.test.osinfra.cn/community/download/source?community=mindspore * response ``` { -- Gitee From 00424e3375c86b81430ef7ef60af70d04983f505 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 21 Oct 2025 02:56:32 +0000 Subject: [PATCH 46/48] update docs/om-webserver-interface/interface-instruction.md. Signed-off-by: wu --- docs/om-webserver-interface/interface-instruction.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/om-webserver-interface/interface-instruction.md b/docs/om-webserver-interface/interface-instruction.md index 255b0b3..213230f 100644 --- a/docs/om-webserver-interface/interface-instruction.md +++ b/docs/om-webserver-interface/interface-instruction.md @@ -441,11 +441,11 @@ http://192.168.0.1:8888/add/bugquestionnaire { "bugDocFragment": "《离思》 其六 唐.元稹", "existProblem": [ - "示例代码错误", - "内容描述不清楚" + "易用性", + "正确性" ], "comprehensiveSatisfication":7, - "participateReason": "本职工作", + "problemDetail": "test", "email": "TylorSwift@163.com", } ``` -- Gitee From dd339c4701dd334cc32fcd0ce396be234cd7a033 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 21 Oct 2025 03:14:31 +0000 Subject: [PATCH 47/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index ffba89d..f4c6f84 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -13,6 +13,20 @@ {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} ``` +## globalnps/issue +* URL: https://dsapi.osinfra.cn/query/globalnps/issue?community=openeuler +* POST +``` +{ + "feedbackPageUrl": "https://software-website.osinfra.cn", + "feedbackValue": 5, + "feedbackText": "test" +} +``` +* response +``` +{"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} + ## 文档反馈NPS * URL: https://dsapi.test.osinfra.cn/query/doc/nps/{community} * 路劲参数 community, 取值:openueler,openubmc -- Gitee From 431e25b91cb9088d99ad1825ef4570ad0dbabce8 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 21 Oct 2025 03:15:00 +0000 Subject: [PATCH 48/48] update docs/Datastat-API/api.md. Signed-off-by: wu --- docs/Datastat-API/api.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/Datastat-API/api.md b/docs/Datastat-API/api.md index f4c6f84..1f70def 100644 --- a/docs/Datastat-API/api.md +++ b/docs/Datastat-API/api.md @@ -26,6 +26,7 @@ * response ``` {"code":200,"data":"success","msg":"success","update_at":"2024-03-12T06:37:50Z"} +``` ## 文档反馈NPS * URL: https://dsapi.test.osinfra.cn/query/doc/nps/{community} -- Gitee