From a57edf128bae6960a74780ad5f7417241ce443d0 Mon Sep 17 00:00:00 2001 From: wusongqing Date: Thu, 30 Sep 2021 17:49:40 +0800 Subject: [PATCH 1/2] chagned API governance doc name and updated content Signed-off-by: wusongqing --- ...y-API-governance.md => OpenHarmony-API-governance.md} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename en/design/{en-OpenHarmony-API-governance.md => OpenHarmony-API-governance.md} (96%) diff --git a/en/design/en-OpenHarmony-API-governance.md b/en/design/OpenHarmony-API-governance.md similarity index 96% rename from en/design/en-OpenHarmony-API-governance.md rename to en/design/OpenHarmony-API-governance.md index b7924c8c80e..8074dcf3798 100644 --- a/en/design/en-OpenHarmony-API-governance.md +++ b/en/design/OpenHarmony-API-governance.md @@ -5,7 +5,6 @@ To help the OpenHarmony application ecosystem develop in a healthy and orderly way, this Charter defines the governance process and API lifecycle (create, change, deprecate, and delete) and specifies basic design requirements of OpenHarmony APIs. - ## API Scope and Definition APIs locate between the application layer and framework layer. They are predefined class and methods provided by the framework layer and system to developers for the development of system and third-party applications. The APIs do not include OEM-extended interfaces. @@ -16,12 +15,14 @@ OpenHarmony APIs are classified into the following types by authorized usage: - Public API: released publicly for third-party application development. - System API: released privately for applications with authorization signature and privileged applications only. -- Test API: released with restrictions and used only for X test suite (XTS) or application debugging. Unless otherwise specified, the terms defined in this Charter apply to Public APIs, System APIs, and Test APIs of OpenHarmony. Additional requirements or exceptions for the System and Test APIs are provided as a supplement. +- Test API: released with restrictions and used only for X test suite (XTS) or application debugging. +Unless otherwise specified, the terms defined in this Charter apply to Public APIs, System APIs, and Test APIs of OpenHarmony. Additional requirements or exceptions for the System and Test APIs are provided as a supplement. OpenHarmony APIs are classified into the following types by programming language: -- JS APIs: JavaScript programming interfaces open to applications. -- Native APIs: C/C++ programming interfaces open to applications. Unless otherwise specified, the terms defined in this Charter also apply to JS APIs, and Native APIs. +- JS APIs: JavaScript programming APIs open to applications. +- Native APIs: C/C++ programming APIs open to applications. +Unless otherwise specified, the terms defined in this Charter apply to JS APIs and Native APIs. ## API Governance -- Gitee From 66fde53a20e4d84b11b70ffbf5c2051a6e43beed Mon Sep 17 00:00:00 2001 From: wusongqing Date: Thu, 30 Sep 2021 17:52:04 +0800 Subject: [PATCH 2/2] updated content Signed-off-by: wusongqing --- en/design/OpenHarmony-API-governance.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/design/OpenHarmony-API-governance.md b/en/design/OpenHarmony-API-governance.md index 8074dcf3798..d117bf795c8 100644 --- a/en/design/OpenHarmony-API-governance.md +++ b/en/design/OpenHarmony-API-governance.md @@ -16,12 +16,14 @@ OpenHarmony APIs are classified into the following types by authorized usage: - Public API: released publicly for third-party application development. - System API: released privately for applications with authorization signature and privileged applications only. - Test API: released with restrictions and used only for X test suite (XTS) or application debugging. + Unless otherwise specified, the terms defined in this Charter apply to Public APIs, System APIs, and Test APIs of OpenHarmony. Additional requirements or exceptions for the System and Test APIs are provided as a supplement. OpenHarmony APIs are classified into the following types by programming language: - JS APIs: JavaScript programming APIs open to applications. - Native APIs: C/C++ programming APIs open to applications. + Unless otherwise specified, the terms defined in this Charter apply to JS APIs and Native APIs. ## API Governance -- Gitee