{
  "data": [
    {
      "documentation": {
        "title": "查询软件包编译状态",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-compile-status-0000002236041434",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:03.411Z",
        "status": "browser-read",
        "readCommand": "agc publishing package-compile-status-v3 --docs --pretty"
      },
      "id": "package-compile-status-v3",
      "familyId": "publishing",
      "name": "查询软件包编译状态",
      "description": "此接口用于查询HarmonyOS应用/元服务的软件包的编译状态。",
      "method": "GET",
      "path": "/api/publish/v3/package/compile/status",
      "command": "agc publishing package-compile-status-v3",
      "requiredParams": [
        "appId",
        "pkgIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-compile-status-0000002236041434#section165302018915",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-compile-status-0000002236041434#section165302018915",
          "maxLength": 500,
          "type": "string",
          "name": "pkgIds",
          "in": "query",
          "required": true,
          "description": "待查询的软件包ID。 多个ID之间用英文逗号分隔。 可从更新应用软件包信息接口返回的packageId参数中获取。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-compile-status-0000002236041434",
      "officialSlug": "agc-help-publish-api-query-compile-status-0000002236041434",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/package-compile-status-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing package-compile-status-v3 --invoke",
        "show": "agc publishing package-compile-status-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建APP ID",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939",
        "updatedAt": "2026-09-04 16:04",
        "checkedAt": "2026-10-07T05:11:11.924Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-create --docs --pretty"
      },
      "rules": [
        {
          "id": "application-package-name",
          "kind": "required_if",
          "field": "body.packageName",
          "when": {
            "field": "body.installationFree",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "message": "HarmonyOS应用 installationFree=0 时必须提供 packageName。",
          "suggestion": "添加 --field packageName=你的唯一包名；元服务 installationFree=1 不需要包名。"
        }
      ],
      "id": "app-create",
      "familyId": "publishing",
      "name": "创建APP ID",
      "description": "此接口用于为HarmonyOS应用/元服务创建APP ID。",
      "method": "POST",
      "path": "/api/publish/v3/app",
      "command": "agc publishing app-create",
      "requiredParams": [
        "appName",
        "parentType",
        "installationFree"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "type": "string",
          "name": "projectId",
          "in": "query",
          "required": false,
          "description": "项目ID，获取方法请参见查看应用信息。 如果不传projectId，系统会先在内部创建一个与应用同名的项目，随后再创建应用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "maxLength": 64,
          "type": "string",
          "name": "appName",
          "in": "body",
          "required": true,
          "description": "应用名称。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "maxLength": 128,
          "type": "string",
          "name": "packageName",
          "in": "body",
          "required": false,
          "description": "应用包名，必须唯一，且不能与其他应用（包括Android应用）包名相同。 说明 installationFree取值为0（HarmonyOS应用）时，此参数必填。 installationFree取值为1（元服务）时，系统将自动生成包名，此参数无需填写。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "enum": [
            "2",
            "13"
          ],
          "type": "integer",
          "name": "parentType",
          "in": "body",
          "required": true,
          "description": "应用分类。 取值范围： 2：游戏 13：应用"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939#section16551174881019",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "installationFree",
          "in": "body",
          "required": true,
          "description": "应用类型。 取值范围： 0：HarmonyOS应用 1：元服务 默认值：0"
        }
      ],
      "body": "appName,packageName,parentType,installationFree",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-create-appid-0000002526543939",
      "officialSlug": "agc-help-provision-api-create-appid-0000002526543939",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-create",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-create --invoke --body body.json",
        "show": "agc publishing app-create --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422",
        "updatedAt": "2026-07-31 17:44",
        "checkedAt": "2026-10-07T05:11:36.198Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-info-query-v3 --docs --pretty"
      },
      "rules": [
        {
          "id": "test-version-id",
          "kind": "required_if",
          "field": "query.versionId",
          "when": {
            "field": "query.releaseType",
            "equals": "6"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422#section420734618165",
          "message": "查询HarmonyOS测试版本时必须提供 versionId。",
          "suggestion": "先用 app-version-list 查询真实版本 ID，再添加 --query versionId=该ID。"
        }
      ],
      "id": "app-info-query-v3",
      "familyId": "publishing",
      "name": "查询应用信息",
      "description": "此接口用于根据指定语言和应用ID查询HarmonyOS应用/元服务的详细信息。",
      "method": "GET",
      "path": "/api/publish/v3/app-info",
      "command": "agc publishing app-info-query-v3",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422#section420734618165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要查询的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422#section420734618165",
          "maxLength": 16,
          "type": "string",
          "name": "lang",
          "in": "query",
          "required": false,
          "description": "需要查询的语言。 说明 取值参考语言类型。 不传该参数，则查询全部语言的应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422#section420734618165",
          "enum": [
            "1",
            "6"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 6：HarmonyOS测试发布方式（API>=10） 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422#section420734618165",
          "type": "string",
          "name": "versionId",
          "in": "query",
          "required": false,
          "description": "需要查询的版本ID。 注意 releaseType为6，该字段必填。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-query-0000002236041422",
      "officialSlug": "agc-help-publish-api-appinfo-query-0000002236041422",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-info-query-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-info-query-v3 --invoke",
        "show": "agc publishing app-info-query-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用所有版本类型的版本列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254",
        "updatedAt": "2026-07-31 17:44",
        "checkedAt": "2026-10-07T04:56:06.794Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-version-list --docs --pretty"
      },
      "rules": [
        {
          "id": "app-identity",
          "kind": "at_least_one",
          "fields": [
            "header.appId",
            "body.packageName"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254#section2357705386",
          "message": "appId 与 packageName 至少传一个。",
          "suggestion": "添加 --header appId=应用ID 或 --field packageName=应用包名。"
        }
      ],
      "id": "app-version-list",
      "familyId": "publishing",
      "name": "查询应用所有版本类型的版本列表",
      "description": "此接口用于获取HarmonyOS应用/元服务的所有版本类型（含商用版本和测试版本）的版本列表，帮助开发者了解版本发布状态。",
      "method": "POST",
      "path": "/api/publish/v3/version/brief-info/list",
      "command": "agc publishing app-version-list",
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": false,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254#section2357705386",
          "maxLength": 128,
          "type": "string",
          "name": "packageName",
          "in": "body",
          "required": false,
          "description": "应用包名。 说明 appId和packageName至少传一个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254#section2357705386",
          "maxLength": 64,
          "type": "string",
          "name": "state",
          "in": "body",
          "required": false,
          "description": "版本状态。 多个状态用逗号分隔。 说明 state字段的取值请参考AppInfo中的releaseState参数。"
        }
      ],
      "body": "packageName,state",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-brief-info-list-0000002236201254",
      "officialSlug": "agc-help-publish-api-query-brief-info-list-0000002236201254",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-version-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-version-list --invoke --body body.json",
        "show": "agc publishing app-version-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "通过下载方式提交软件包",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065",
        "updatedAt": "2026-01-21 16:29",
        "checkedAt": "2026-10-07T02:51:52.049Z",
        "status": "browser-read",
        "readCommand": "agc publishing add-packageurl --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "add-packageurl",
      "familyId": "publishing",
      "name": "通过下载方式提交软件包",
      "description": "如果您将软件包保存在自己的服务器上，可以直接调用本接口将软件包提交到AppGallery Connect服务器。华为服务器会自动从下载地址中下载软件包后提交，不会关联版本。本操作只提交软件包，不发布软件包。接口调用者的角色：账号持有者、管理员、APP管理员。",
      "method": "POST",
      "path": "/api/publish/v2/app-package-file/by-url",
      "command": "agc publishing add-packageurl",
      "requiredParams": [
        "appId",
        "downloadUrl",
        "downloadFileName",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section164139546428",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 256,
          "type": "string",
          "name": "downloadUrl",
          "in": "body",
          "required": true,
          "description": "由您自行提供的软件包下载地址。 APK：不超过4GB。 RPK：快应用不超过20MB，快游戏不超过30MB。 AAB：不超过150MB。 EXE（Windows应用）：不超过4GB。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 64,
          "type": "string",
          "name": "downloadFileName",
          "in": "body",
          "required": true,
          "description": "与downloadUrl配套的文件名，包括后缀。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 256,
          "type": "string",
          "name": "callbackAddr",
          "in": "body",
          "required": false,
          "description": "回调地址，由您自行配置。软件包提交完成后由华为服务器调用回调结果通知接口通过该URL回调给您的开发者服务器。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "您自定义请求字符串，必须唯一标识此请求。结果回调时会携带该字段。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 255,
          "type": "string",
          "name": "versionName",
          "in": "body",
          "required": false,
          "description": "Windows应用的软件包版本号。 文件类型为exe软件包时必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "maxLength": 255,
          "type": "string",
          "name": "displayName",
          "in": "body",
          "required": false,
          "description": "注册表显示名称，用于唯一标识Windows应用。 文件类型为exe软件包时必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065#section15344132481910",
          "type": "integer",
          "name": "packageType",
          "in": "body",
          "required": false,
          "description": "软件包类型。 1：APK 2：RPK 8：EXE（Windows应用）"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-add-packageurl-0000001158245065",
      "officialSlug": "agcapi-add-packageurl-0000001158245065",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/add-packageurl",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing add-packageurl --invoke --body body.json",
        "show": "agc publishing add-packageurl --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用文件信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-file-info-0000001111685202",
        "updatedAt": "2025-11-21 17:52",
        "checkedAt": "2026-10-07T02:52:22.905Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-file-info --docs --pretty"
      },
      "id": "app-file-info",
      "familyId": "publishing",
      "name": "更新应用文件信息",
      "description": "图片、视频、APK、RPK、AAB等文件上传完成后，通过该接口刷新应用文件信息。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/app-file-info",
      "command": "agc publishing app-file-info",
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-file-info-0000001111685202",
      "officialSlug": "agcapi-app-file-info-0000001111685202",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-file-info",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-file-info --invoke --body body.json",
        "show": "agc publishing app-file-info --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045",
        "updatedAt": "2025-11-21 17:52",
        "checkedAt": "2026-10-07T02:52:24.177Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-info-query --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "app-info-query",
      "familyId": "publishing",
      "name": "查询应用信息",
      "description": "此接口用于根据指定语言和应用ID查询应用的详细信息。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "GET",
      "path": "/api/publish/v2/app-info",
      "command": "agc publishing app-info-query",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045#section420734618165",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要查询的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045#section420734618165",
          "type": "string",
          "name": "lang",
          "in": "query",
          "required": false,
          "description": "需要查询的语言，取值参考语言类型。不传该参数则查询全部语言的应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045#section420734618165",
          "enum": [
            "1",
            "3"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 3：分阶段 默认值：1"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-query-0000001158365045",
      "officialSlug": "agcapi-app-info-query-0000001158365045",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-info-query",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-info-query --invoke",
        "show": "agc publishing app-info-query --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用基本信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198",
        "updatedAt": "2026-09-14 08:56",
        "checkedAt": "2026-10-07T04:48:08.197Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-info-update --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        },
        {
          "id": "conditional-price",
          "kind": "required_if",
          "field": "body.price",
          "when": {
            "field": "body.isFree",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "message": "price is required when isFree=0.",
          "suggestion": "Supply price for the selected application settings."
        },
        {
          "id": "conditional-priceDetail",
          "kind": "required_if",
          "field": "body.priceDetail",
          "when": {
            "field": "body.isFree",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "message": "priceDetail is required when isFree=0.",
          "suggestion": "Supply priceDetail for the selected application settings."
        },
        {
          "id": "conditional-registeredEntity",
          "kind": "required_if",
          "field": "body.registeredEntity",
          "when": {
            "field": "body.registeredDclType",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "message": "registeredEntity is required when registeredDclType=0.",
          "suggestion": "Supply registeredEntity for the selected application settings."
        },
        {
          "id": "conditional-registeredEntityName",
          "kind": "required_if",
          "field": "body.registeredEntityName",
          "when": {
            "field": "body.registeredDclType",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "message": "registeredEntityName is required when registeredDclType=0.",
          "suggestion": "Supply registeredEntityName for the selected application settings."
        }
      ],
      "id": "app-info-update",
      "familyId": "publishing",
      "name": "更新应用基本信息",
      "description": "此接口用于更新指定应用的应用详情。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/app-info",
      "command": "agc publishing app-info-update",
      "requiredParams": [
        "appId",
        "privacyPolicy"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section886219295206",
          "enum": [
            "1",
            "3"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 3：分阶段 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section886219295206",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "defaultLang",
          "in": "body",
          "required": false,
          "description": "应用的默认语言，取值参见语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "type": "integer",
          "name": "childType",
          "in": "body",
          "required": false,
          "description": "应用的二级分类，固定ID，取值参见应用游戏分类。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "type": "integer",
          "name": "grandChildType",
          "in": "body",
          "required": false,
          "description": "应用的三级分类，固定ID，取值参见应用游戏分类。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 255,
          "type": "string",
          "name": "privacyPolicy",
          "in": "body",
          "required": true,
          "description": "隐私声明地址。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "appNetType",
          "in": "body",
          "required": false,
          "description": "应用联网类型。 取值范围： 1：单机 2：网游"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isFree",
          "in": "body",
          "required": false,
          "description": "应用付费类型。 取值范围： 1：免费 0：付费 如果isFree为1，price和priceDetail参数将无效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 256,
          "type": "string",
          "name": "price",
          "in": "body",
          "required": false,
          "description": "应用价格，格式为{\"countryCode\":\"price\"}。countryCode为国家码，price为应用的价格。国家码列表请参见国家码，对应币种请参见ISO 4217标准。 AppGallery Connect会根据所在国家/地区的价格规则对最终价格做适当调整，具体规则请参见价格换算规则。 注意 当isFree为0时，此参数必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 8192,
          "type": "string",
          "name": "priceDetail",
          "in": "body",
          "required": false,
          "description": "应用在不同国家或地区的价格，json数组格式，不同国家和地区之间使用逗号分隔，例如：[{\"country\":\"CN\",\"currency\":\"CNY\",\"price\":\"18.00\"},{{\"country\":\"DE\",\"currency\":\"EUR\",\"price\":\"2.50\"}}]。 其中，country为国家码，currency为国家码所对应的币种，price为应用价格。国家码列表请参见国家码，对应币种请参见ISO 4217标准。 AppGallery Connect会根据所在国家/地区的价格规则对最终价格做适当调整，具体规则请参见价格换算规则。 注意 当isFree为0时，此参数必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 2048,
          "type": "string",
          "name": "publishCountry",
          "in": "body",
          "required": false,
          "description": "应用发布国家的国家码，多个国家以英文逗号分隔，例如：“CN,DE,MC”。如果取值为“OTHER”，表示当AppGallery支持的国家或地区列表中新增某个国家或地区时，应用将自动分发到新增的国家和地区。国家码列表请参见国家码。 注意 取值不能只包含OTHER。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isAppForcedUpdate",
          "in": "body",
          "required": false,
          "description": "应用是否强制升级。 取值范围： 0：不强制 1：强制"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "hispaceAutoDown",
          "in": "body",
          "required": false,
          "description": "是否允许华为应用市场抓包。 取值范围： 0：不允许 1：允许"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 16,
          "type": "string",
          "name": "appTariffType",
          "in": "body",
          "required": false,
          "description": "应用内付费道具类型。 取值范围： 1：激活收费 2：道具收费 3：关卡收费 4：购买虚拟币 5：部分章节收费（图书阅读类） 6：其他的 7：课程收费 8：会员收费 支持设置多个，使用英文逗号分隔，例如“1,2,3”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 50,
          "type": "string",
          "name": "publicationNumber",
          "in": "body",
          "required": false,
          "description": "版号信息。 此参数只支持游戏类应用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 50,
          "type": "string",
          "name": "cultureRecordNumber",
          "in": "body",
          "required": false,
          "description": "文化部备案编号。 此参数只支持游戏类应用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 255,
          "type": "string",
          "name": "developerWebsite",
          "in": "body",
          "required": false,
          "description": "开发者官网。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "familyShareTag",
          "in": "body",
          "required": false,
          "description": "是否可以家庭共享。 取值范围： 0：不可以。 1：可以。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
              "enum": [
                "4",
                "6",
                "7",
                "8",
                "9",
                "10"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true,
              "description": "设备类型。 取值范围： 4：手机 6：VR 7：手表 8：大屏 9：路由器 10：车机"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
              "type": "string",
              "name": "appAdapters",
              "in": "body",
              "required": true,
              "description": "适配设备类型，多个类型以英文逗号分隔。 取值范围： 1：荣耀立方（路由器） 4：手机 5：平板 6：VR 7：手表 8：大屏 9：路由器 11：儿童表 12：智能手表 13：带屏音响 15：Windows APK类型的软件包约束如下： 当deviceType为4时，appAdapters可选范围为：4，5，7（如果有7，4也必须选择）,15(受限开放，需要联系华为运营开通) 当deviceType为6时，appAdapters可选范围为：4, 5。 当deviceType为7时，appAdapters可选范围为：11，12。 当deviceType为8时，appAdapters可选范围为：1，3，8。 RPK类型的软件包约束如下： 当deviceType为4时，appAdapters可选范围为：4，5，15 注意 修改设备类型信息时此字段必选，否则传入deviceType后会此参数会被置为空。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "itemsType": "object",
          "type": "array",
          "name": "deviceTypes",
          "in": "body",
          "required": false,
          "description": "设备类型信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "webGameFlag",
          "in": "body",
          "required": false,
          "description": "该应用是否为网页游戏。 取值范围： 0：否 1：是 该参数仅在应用为手机RPK游戏，且设备类型信息中适配设备类型包含Windows（appAdapters取值包含15）时才会生效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 256,
          "type": "string",
          "name": "privacyRightsUrl",
          "in": "body",
          "required": false,
          "description": "隐私权利网址，即关于您的用户实施其权利的网站地址，如用户删除、修改、导出其个人数据的入口。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "-1",
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "registeredDclType",
          "in": "body",
          "required": false,
          "description": "APP类型信息。 取值范围： -1：清空APP类型信息 0：APP服务器在中国大陆 1：APP服务器不在中国大陆 2：APP为单机APP"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "-1",
            "1",
            "2",
            "3"
          ],
          "type": "integer",
          "name": "registeredIdType",
          "in": "body",
          "required": false,
          "description": "主办单位类型。 取值范围： -1：清空数据（会联动清空registeredIdNumber的内容） 1：企业（社会信用代码） 2：个人（身份证号码） 3：机构（机构代码）"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "registeredIdNumber",
          "in": "body",
          "required": false,
          "description": "主办单位证件号。 取值范围： registeredIdType为1时，对应统一社会信用代码 registeredIdType为2时，对应身份证号码 registeredIdType为3时，对应组织机构代码"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "registeredEntity",
          "in": "body",
          "required": false,
          "description": "主办单位。 取值范围： 1：与开发者账号主体一致 2：与开发者账号主体不一致 说明 当registeredDclType值为0（APP服务器在中国大陆）时，该字段必填。若不填写或填写错误，会导致审核不通过。 若在版本提交时，该字段值选择“一致”，则主办单位名称和证件号，将直接复用开发者联盟注册账号信息。 若您提交的主办单位信息与联盟账号信息不一致，该字段值却选择了“一致”，则系统将自动判定为“不一致”，将会影响审核结果。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 1024,
          "type": "string",
          "name": "registeredEntityName",
          "in": "body",
          "required": false,
          "description": "主办单位名称。 说明 当registeredDclType值为0（APP服务器在中国大陆）时，该字段必填。若不填写或填写错误，会导致审核不通过。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "maxLength": 512,
          "type": "string",
          "name": "userAgreementUrl",
          "in": "body",
          "required": false,
          "description": "用户协议URL。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "encrypted",
          "in": "body",
          "required": false,
          "description": "包是否加密。 取值范围： 0：否，表示不加密。 1：是，表示加密。 默认值：1"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-info-update-0000001111685198",
      "officialSlug": "agcapi-app-info-update-0000001111685198",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-info-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-info-update --invoke --body body.json",
        "show": "agc publishing app-info-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交发布",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061",
        "updatedAt": "2025-08-25 13:48",
        "checkedAt": "2026-10-07T02:52:26.711Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-submit --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        },
        {
          "id": "phased-phasedReleaseStartTime",
          "kind": "required_if",
          "field": "body.phasedReleaseStartTime",
          "when": {
            "field": "query.releaseType",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "message": "phasedReleaseStartTime is required for phased releaseType=3.",
          "suggestion": "Supply this documented phased-release field or choose the intended release type."
        },
        {
          "id": "phased-phasedReleaseEndTime",
          "kind": "required_if",
          "field": "body.phasedReleaseEndTime",
          "when": {
            "field": "query.releaseType",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "message": "phasedReleaseEndTime is required for phased releaseType=3.",
          "suggestion": "Supply this documented phased-release field or choose the intended release type."
        },
        {
          "id": "phased-phasedReleasePercent",
          "kind": "required_if",
          "field": "body.phasedReleasePercent",
          "when": {
            "field": "query.releaseType",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "message": "phasedReleasePercent is required for phased releaseType=3.",
          "suggestion": "Supply this documented phased-release field or choose the intended release type."
        },
        {
          "id": "phased-phasedReleaseDescription",
          "kind": "required_if",
          "field": "body.phasedReleaseDescription",
          "when": {
            "field": "query.releaseType",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "message": "phasedReleaseDescription is required for phased releaseType=3.",
          "suggestion": "Supply this documented phased-release field or choose the intended release type."
        }
      ],
      "id": "app-submit",
      "familyId": "publishing",
      "name": "提交发布",
      "description": "此接口用于提交应用审核，调用本接口前必须保证应用信息已补充完整，应用软件包已经上传。接口调用者的角色：账号持有者、管理员、APP管理员。",
      "method": "POST",
      "path": "/api/publish/v2/app-submit",
      "command": "agc publishing app-submit",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section292816392364",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section292816392364",
          "type": "string",
          "name": "releaseTime",
          "in": "query",
          "required": false,
          "description": "指定发布的UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。 说明 如果releaseTime未填写，应用审核通过后会立即上架。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section292816392364",
          "type": "string",
          "name": "remark",
          "in": "query",
          "required": false,
          "description": "提审发布的备注信息，可以为空。如果填写，长度范围在10-300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section292816392364",
          "enum": [
            "1",
            "3"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 3：分阶段 说明 应用发布方式为分阶段发布时，要求该应用存在一个已上架的版本。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "type": "string",
          "name": "state",
          "in": "body",
          "required": false,
          "description": "此参数无需设置。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "maxLength": 64,
          "type": "string",
          "name": "phasedReleaseStartTime",
          "in": "body",
          "required": false,
          "description": "分阶段发布生效开始时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "maxLength": 64,
          "type": "string",
          "name": "phasedReleaseEndTime",
          "in": "body",
          "required": false,
          "description": "分阶段发布生效结束时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "maxLength": 10,
          "type": "string",
          "name": "phasedReleasePercent",
          "in": "body",
          "required": false,
          "description": "分阶段发布百分比。 Android应用取值范围为0.00到100.00，必须精确到两位小数，不含百分号。 HarmonyOS应用取值为0.00到100.00，可以不带小数或只带一位小数，不含百分号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "maxLength": 500,
          "type": "string",
          "name": "phasedReleaseDescription",
          "in": "body",
          "required": false,
          "description": "分阶段发布说明。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isPureDetection",
          "in": "body",
          "required": false,
          "description": "是否申请绿色应用认证。 取值范围： 0：否 1：是"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "type": "string",
          "name": "sensitivePermissionIconUrl",
          "in": "body",
          "required": false,
          "description": "绿色认证审核材料的objectId，isPureDetection=1时为必填项。该值为将绿色认证审核材料打成zip包，然后先调用获取上传文件地址接口，然后调用上传文件接口上传审核材料，最后得到获取上传文件地址接口返回的objectId。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061#section11431111271820",
          "type": "boolean",
          "name": "isCommitSensitivePermissionTips",
          "in": "body",
          "required": false,
          "description": "确认是否符合相关要求，true表示符合。isPureDetection=1时为必填项，且只可以填true。要求包括： 非必要的使用场景禁止桌面、锁屏和其他应用弹出窗口骚扰用户行为。 非必要的使用场景禁止发送无法删除的常驻通知。 禁止影响用户体验的广告，如抬头、强制插屏、侧边等。 禁止引导用户开启开发者选项。 禁止引导用户开启USB调试模式。 禁止通过热补丁，引入恶意行为和不符合以上条款的行为。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-0000001158245061",
      "officialSlug": "agcapi-app-submit-0000001158245061",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-submit",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-submit --invoke --body body.json",
        "show": "agc publishing app-submit --pretty"
      }
    },
    {
      "documentation": {
        "title": "通过下载方式提交发布",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092",
        "updatedAt": "2026-01-21 16:29",
        "checkedAt": "2026-10-07T02:52:28.134Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-submit-with-file --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "app-submit-with-file",
      "familyId": "publishing",
      "name": "通过下载方式提交发布",
      "description": "如果您将软件包保存在自己的服务器上，可以直接调用本接口提交应用审核，并传入软件包的下载地址。华为服务器会自动从下载地址中下载软件包后启动发布流程。接口调用者的角色：账号持有者、管理员、APP管理员。",
      "method": "POST",
      "path": "/api/publish/v2/app-submit-with-file",
      "command": "agc publishing app-submit-with-file",
      "requiredParams": [
        "appId",
        "downloadUrl",
        "downloadFileName",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section5528235174214",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "maxLength": 64,
          "type": "string",
          "name": "releaseTime",
          "in": "body",
          "required": false,
          "description": "指定发布时间，如果为空表示审核通过立即上架。UTC时间：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "maxLength": 300,
          "type": "string",
          "name": "remark",
          "in": "body",
          "required": false,
          "description": "提交发布的备注信息，可以为空，如果填写，长度范围在10-300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "enum": [
            "1",
            "3"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "body",
          "required": false,
          "description": "发布方式。 取值范围： 1：全网。 3：分阶段。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "downloadUrl",
          "in": "body",
          "required": true,
          "description": "由您提供的软件包下载地址，支持APK/RPK/AAB/EXE等。 APK：不超过4GB。 RPK：快应用不超过20MB，快游戏不超过30MB。 AAB：不超过150MB。 EXE（Windows应用）: 不超过4GB。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "maxLength": 64,
          "type": "string",
          "name": "downloadFileName",
          "in": "body",
          "required": true,
          "description": "downloadUrl下载地址中下载的文件名，包括后缀。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "callbackAddr",
          "in": "body",
          "required": false,
          "description": "应用发布回调地址，由您自行配置。应用发布结果由华为服务器调用回调结果通知接口通过该URL回调给您的开发者服务器。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "您自定义的请求字符串，必须唯一标识此请求。结果回调时会携带该字段。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "clearArk",
          "in": "body",
          "required": false,
          "description": "是否清除方舟包（用于Android + 方舟升级到Android）。 取值范围： 1：需要清除方舟包。 0：不需要清除方舟包。 默认值：0。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "sensitivePermissionDesc",
          "in": "body",
          "required": false,
          "description": "敏感信息。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
              "type": "string",
              "name": "state",
              "in": "body",
              "required": false,
              "description": "此参数无需设置。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
              "maxLength": 64,
              "type": "string",
              "name": "phasedReleaseStartTime",
              "in": "body",
              "required": true,
              "description": "分阶段发布生效开始时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
              "maxLength": 64,
              "type": "string",
              "name": "phasedReleaseEndTime",
              "in": "body",
              "required": true,
              "description": "分阶段发布生效结束时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
              "maxLength": 10,
              "type": "string",
              "name": "phasedReleasePercent",
              "in": "body",
              "required": true,
              "description": "分阶段发布百分比，取值范围为0.00到100.00，必须精确到两位小数，不含百分号。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
              "maxLength": 500,
              "type": "string",
              "name": "phasedReleaseDescription",
              "in": "body",
              "required": true,
              "description": "分阶段发布说明。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "object",
          "name": "phasedReleaseInfo",
          "in": "body",
          "required": false,
          "description": "分阶段发布信息。releaseType为3时，此参数必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "versionName",
          "in": "body",
          "required": false,
          "description": "Windows应用的软件包版本号。 文件类型为exe软件包时必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "displayName",
          "in": "body",
          "required": false,
          "description": "注册表显示名称，用于唯一标识Windows用。 文件类型为exe软件包时必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isPureDetection",
          "in": "body",
          "required": false,
          "description": "是否申请绿色应用认证。 取值范围： 0：否 1：是"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "string",
          "name": "sensitivePermissionIconUrl",
          "in": "body",
          "required": false,
          "description": "绿色认证审核材料的objectId，isPureDetection=1时为必填项。该值为将绿色认证审核材料打成zip包，然后先调用获取上传文件地址接口，然后调用上传文件接口上传审核材料，最后得到获取上传文件地址接口返回的objectId。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092#section15344132481910",
          "type": "boolean",
          "name": "isCommitSensitivePermissionTips",
          "in": "body",
          "required": false,
          "description": "是否确认符合相关要求，true表示符合。isPureDetection=1时为必填项，且只可以填true。要求包括： 非必要的使用场景禁止桌面、锁屏和其他应用弹出窗口骚扰用户行为。 非必要的使用场景禁止发送无法删除的常驻通知。 禁止影响用户体验的广告，如抬头、强制插屏、侧边等。 禁止引导用户开启开发者选项。 禁止引导用户开启USB调试模式。 禁止通过热补丁，引入恶意行为和不符合以上条款的行为。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-app-submit-with-file-0000001111845092",
      "officialSlug": "agcapi-app-submit-with-file-0000001111845092",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-submit-with-file",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-submit-with-file --invoke --body body.json",
        "show": "agc publishing app-submit-with-file --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用包名对应的appid",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appid-list-0000002271000617",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T05:11:13.650Z",
        "status": "browser-read",
        "readCommand": "agc publishing appid-list --docs --pretty"
      },
      "id": "appid-list",
      "familyId": "publishing",
      "name": "查询应用包名对应的appid",
      "description": "此接口用于根据HarmonyOS应用/元服务的应用包名查询对应的应用ID，支持一次查询多个应用包名。",
      "method": "GET",
      "path": "/api/publish/v2/appid-list",
      "command": "agc publishing appid-list",
      "requiredParams": [
        "packageName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appid-list-0000002271000617#section19247123515514",
          "maxLength": 4096,
          "type": "string",
          "name": "packageName",
          "in": "query",
          "required": true,
          "description": "需要查询的应用包名。 多个包名以逗号分隔，最多支持50个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appid-list-0000002271000617#section19247123515514",
          "maxLength": 32,
          "type": "string",
          "name": "packageTypes",
          "in": "query",
          "required": false,
          "description": "通过软件包类型过滤应用，只查询指定软件包类型的应用。 取值范围： 7：APP（HarmonyOS应用/元服务）"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appid-list-0000002271000617",
      "officialSlug": "agc-help-publish-api-appid-list-0000002271000617",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/appid-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing appid-list --invoke",
        "show": "agc publishing appid-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "设置应用GMS依赖属性",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:52:29.328Z",
        "status": "browser-read",
        "readCommand": "agc publishing gms --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "gms",
      "familyId": "publishing",
      "name": "设置应用GMS依赖属性",
      "description": "此接口用于向AGC上报应用是否依赖GMS。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/properties/gms",
      "command": "agc publishing gms",
      "requiredParams": [
        "appId",
        "needGms"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094#section165302018915",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094#section19652137562",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "needGms",
          "in": "body",
          "required": true,
          "description": "应用是否依赖GMS。 取值范围： 0：不依赖 1：依赖"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gms-0000001111845094",
      "officialSlug": "agcapi-gms-0000001111845094",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/gms",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing gms --invoke --body body.json",
        "show": "agc publishing gms --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除应用语言信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-delete-0000002271000621",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:29.656Z",
        "status": "browser-read",
        "readCommand": "agc publishing language-info-delete --docs --pretty"
      },
      "id": "language-info-delete",
      "familyId": "publishing",
      "name": "删除应用语言信息",
      "description": "此接口用于删除指定HarmonyOS应用/元服务不需要的语言描述信息，默认语言不支持删除。",
      "method": "DELETE",
      "path": "/api/publish/v2/app-language-info",
      "command": "agc publishing language-info-delete",
      "requiredParams": [
        "appId",
        "lang"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-delete-0000002271000621#section23242264517",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要删除语言描述信息的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-delete-0000002271000621#section23242264517",
          "type": "string",
          "name": "lang",
          "in": "query",
          "required": true,
          "description": "需要删除的语言。 说明 取值参见语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-delete-0000002271000621#section23242264517",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-delete-0000002271000621",
      "officialSlug": "agc-help-publish-api-language-info-delete-0000002271000621",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/language-info-delete",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing language-info-delete --invoke",
        "show": "agc publishing language-info-delete --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新语言描述信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:52:52.329Z",
        "status": "browser-read",
        "readCommand": "agc publishing language-info-update --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section48771100566",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "language-info-update",
      "familyId": "publishing",
      "name": "更新语言描述信息",
      "description": "此接口用于更新指定应用的语言描述信息，如果当前没有语言描述信息则新增。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/app-language-info",
      "command": "agc publishing language-info-update",
      "requiredParams": [
        "appId",
        "lang"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section48771100566",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section41341319578",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新语言描述信息的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section41341319578",
          "enum": [
            "1",
            "3"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 3：分阶段 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section13576204051611",
          "maxLength": 64,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言种类，取值参见语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section13576204051611",
          "maxLength": 64,
          "type": "string",
          "name": "appName",
          "in": "body",
          "required": false,
          "description": "对应语言的应用名称。新增一个语言种类时，此字段必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section13576204051611",
          "maxLength": 8000,
          "type": "string",
          "name": "appDesc",
          "in": "body",
          "required": false,
          "description": "对应语言的应用描述信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section13576204051611",
          "maxLength": 80,
          "type": "string",
          "name": "briefInfo",
          "in": "body",
          "required": false,
          "description": "对应语言的一句话简介。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057#section13576204051611",
          "maxLength": 500,
          "type": "string",
          "name": "newFeatures",
          "in": "body",
          "required": false,
          "description": "对应语言的新版本简介。"
        }
      ],
      "body": "lang,appName,appDesc,briefInfo,newFeatures",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-language-info-update-0000001158245057",
      "officialSlug": "agcapi-language-info-update-0000001158245057",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/language-info-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing language-info-update --invoke --body body.json",
        "show": "agc publishing language-info-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询软件包列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:52:53.792Z",
        "status": "browser-read",
        "readCommand": "agc publishing obbfile-package-list --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "obbfile-package-list",
      "familyId": "publishing",
      "name": "查询软件包列表",
      "description": "此接口用于查询应用当前关联的软件包列表信息。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "GET",
      "path": "/api/publish/v2/package-list",
      "command": "agc publishing obbfile-package-list",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210#section1087614283237",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210#section1087614283237",
          "type": "integer",
          "name": "fromRecCount",
          "in": "query",
          "required": false,
          "description": "查询起始记录号。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210#section1087614283237",
          "type": "integer",
          "name": "maxReqCount",
          "in": "query",
          "required": false,
          "description": "请求查询的软件包数。 取值范围：最大为100 默认值：10"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-package-list-0000001111685210",
      "officialSlug": "agcapi-obbfile-package-list-0000001111685210",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/obbfile-package-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing obbfile-package-list --invoke",
        "show": "agc publishing obbfile-package-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新分阶段发布",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204",
        "updatedAt": "2025-08-25 13:48",
        "checkedAt": "2026-10-07T02:52:55.198Z",
        "status": "browser-read",
        "readCommand": "agc publishing phased-release --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "phased-release",
      "familyId": "publishing",
      "name": "更新分阶段发布",
      "description": "此接口用于将分阶段发布修改为全网发布，或者更新分阶段发布的设置。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/phased-release",
      "command": "agc publishing phased-release",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section71521339132219",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section71521339132219",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "需要修改的发布方式。支持将分阶段发布修改为全网发布。 取值范围： 1：全网。 说明 如果选择全网发布，Body请传空对象{}。 3：分阶段。 默认值：3"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section1520919574201",
          "type": "string",
          "name": "state",
          "in": "body",
          "required": false,
          "description": "分阶段发布的状态。 取值范围： SUSPEND：暂停。 RELEASE：恢复为发布中。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section1520919574201",
          "maxLength": 64,
          "type": "string",
          "name": "phasedReleaseStartTime",
          "in": "body",
          "required": false,
          "description": "分阶段发布生效开始时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。已上架的分阶段发布应用，不允许修改开始时间。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section1520919574201",
          "maxLength": 64,
          "type": "string",
          "name": "phasedReleaseEndTime",
          "in": "body",
          "required": false,
          "description": "分阶段发布生效结束时间，UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section1520919574201",
          "maxLength": 10,
          "type": "string",
          "name": "phasedReleasePercent",
          "in": "body",
          "required": false,
          "description": "分阶段发布百分比。取值为大于0.00且小于100.00，必须精确到两位小数，不含百分号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204#section1520919574201",
          "maxLength": 500,
          "type": "string",
          "name": "phasedReleaseDescription",
          "in": "body",
          "required": false,
          "description": "分阶段发布说明。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-phased-release-0000001111685204",
      "officialSlug": "agcapi-phased-release-0000001111685204",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/phased-release",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing phased-release --invoke --body body.json",
        "show": "agc publishing phased-release --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询软件包编译状态",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:52:56.407Z",
        "status": "browser-read",
        "readCommand": "agc publishing query-aabfile --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206#section236517415165",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "query-aabfile",
      "familyId": "publishing",
      "name": "查询软件包编译状态",
      "description": "此接口用于查询软件包的编译状态。接口调用者的角色：账号持有者、管理员、APP管理员。",
      "method": "GET",
      "path": "/api/publish/v2/package/compile/status",
      "command": "agc publishing query-aabfile",
      "requiredParams": [
        "appId",
        "pkgIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID，可通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206#section165302018915",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206#section165302018915",
          "type": "string",
          "name": "pkgIds",
          "in": "query",
          "required": true,
          "description": "待查询的软件包id，多个id之间用逗号分隔。 对应查询软件包列表接口返回的pkgVersion参数。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-query-aabfile-0000001111685206",
      "officialSlug": "agcapi-query-aabfile-0000001111685206",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/query-aabfile",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing query-aabfile --invoke",
        "show": "agc publishing query-aabfile --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新版本上架时间",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:48.314Z",
        "status": "browser-read",
        "readCommand": "agc publishing update-releasetime --docs --pretty"
      },
      "id": "update-releasetime",
      "familyId": "publishing",
      "name": "更新版本上架时间",
      "description": "此接口用于设置版本的上架时间。",
      "method": "PUT",
      "path": "/api/publish/v2/on-shelf-time",
      "command": "agc publishing update-releasetime",
      "requiredParams": [
        "appId",
        "changeType",
        "releaseTime",
        "releaseType"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573#section165302018915",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573#section2357705386",
          "enum": [
            "2",
            "3"
          ],
          "type": "integer",
          "name": "changeType",
          "in": "body",
          "required": true,
          "description": "修改类型。 取值范围： 2：指定时间上架改为审核通过立即上架 3：变更定时上架时间"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573#section2357705386",
          "type": "string",
          "name": "releaseTime",
          "in": "body",
          "required": true,
          "description": "指定的版本上架时间。 UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。 changeType为3时有效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573#section2357705386",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "body",
          "required": true,
          "description": "发布方式。 取值范围： 1：全网 目前支持全网及releasePhase为3的分阶段发布。"
        }
      ],
      "body": "changeType,releaseTime,releaseType",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-release-time-0000002271160573",
      "officialSlug": "agc-help-publish-api-update-release-time-0000002271160573",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/update-releasetime",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing update-releasetime --invoke --body body.json",
        "show": "agc publishing update-releasetime --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询团队账号下的成员角色列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-teamid-member-list-0000002679253743",
        "updatedAt": "2026-07-31 17:44",
        "checkedAt": "2026-10-07T05:11:33.888Z",
        "status": "browser-read",
        "readCommand": "agc publishing members-role-list --docs --pretty"
      },
      "id": "members-role-list",
      "familyId": "publishing",
      "name": "查询团队账号下的成员角色列表",
      "description": "此接口用于查询团队账号下的成员角色列表和团队主账号的开发者信息。",
      "method": "GET",
      "path": "/api/publish/v3/members-role-list",
      "command": "agc publishing members-role-list",
      "requiredParams": [
        "fromPage",
        "pageSize",
        "languageCode"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-teamid-member-list-0000002679253743#section420734618165",
          "minimum": 1,
          "type": "integer",
          "name": "fromPage",
          "in": "query",
          "required": true,
          "description": "起始页。 最小值：1，表示从第1页开始查询。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-teamid-member-list-0000002679253743#section420734618165",
          "minimum": 1,
          "maximum": 50,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": true,
          "description": "每页查询的条数。 取值范围：[1,50]"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-teamid-member-list-0000002679253743#section420734618165",
          "maxLength": 20,
          "enum": [
            "zh_cn",
            "en_us",
            "ru_ru"
          ],
          "type": "string",
          "name": "languageCode",
          "in": "query",
          "required": true,
          "description": "语言码。 取值范围： zh_cn：中文 en_us：英文 ru_ru：俄语"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-teamid-member-list-0000002679253743",
      "officialSlug": "agc-help-publish-api-teamid-member-list-0000002679253743",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/members-role-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing members-role-list --invoke",
        "show": "agc publishing members-role-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用基本信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T05:11:38.645Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-info-update-v3 --docs --pretty"
      },
      "rules": [
        {
          "id": "ai-service-types",
          "kind": "required_if",
          "field": "body.aiTypes",
          "when": {
            "field": "body.isAiGenerate",
            "equals": "1"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "message": "涉及AI生成合成服务时必须提供 aiTypes。",
          "suggestion": "添加 --field aiTypes=JSON数组，按官网填写实际涉及的服务类型。"
        },
        {
          "id": "mainland-entity",
          "kind": "required_if",
          "field": "body.registeredEntity",
          "when": {
            "field": "body.registeredDclType",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "message": "APP服务器在中国大陆时必须填写主办单位。",
          "suggestion": "根据实际账号主体关系填写 registeredEntity（1或2）。"
        },
        {
          "id": "mainland-entity-name",
          "kind": "required_if",
          "field": "body.registeredEntityName",
          "when": {
            "field": "body.registeredDclType",
            "equals": "0"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "message": "APP服务器在中国大陆时必须填写主办单位名称。",
          "suggestion": "填写实际主办单位名称 registeredEntityName。"
        }
      ],
      "id": "app-info-update-v3",
      "familyId": "publishing",
      "name": "更新应用基本信息",
      "description": "此接口用于更新指定HarmonyOS应用/元服务的应用详情。",
      "method": "PUT",
      "path": "/api/publish/v3/app-info",
      "command": "agc publishing app-info-update-v3",
      "requiredParams": [
        "appId",
        "publishCountry",
        "encrypted"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section886219295206",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section886219295206",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section886219295206",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "query",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网 3：分阶段 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 16,
          "type": "string",
          "name": "defaultLang",
          "in": "body",
          "required": false,
          "description": "应用的默认语言。 说明 取值参见语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "type": "integer",
          "name": "harmonyChildType",
          "in": "body",
          "required": false,
          "description": "HarmonyOS应用/元服务的二级分类。 固定ID。 说明 取值参见应用游戏分类。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "type": "integer",
          "name": "kindMainTag",
          "in": "body",
          "required": false,
          "description": "HarmonyOS应用/元服务主标签。 固定ID。 说明 取值参见应用游戏分类的“标签”列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxItems": 4,
          "itemsType": "integer",
          "type": "array",
          "name": "kindSubTags",
          "in": "body",
          "required": false,
          "description": "HarmonyOS应用/元服务附属标签。 固定ID。最多可选4个附属标签。 说明 取值参见应用游戏分类的“标签”列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 255,
          "type": "string",
          "name": "privacyPolicy",
          "in": "body",
          "required": false,
          "description": "隐私政策网址。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "appNetType",
          "in": "body",
          "required": false,
          "description": "应用联网类型。 取值范围： 1：单机 2：网游 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 2048,
          "type": "string",
          "name": "publishCountry",
          "in": "body",
          "required": true,
          "description": "应用发布国家的国家码。 多个国家以英文逗号分隔，例如：“CN,DE,MC”。 如果取值为“OTHER”，则表示当App Gallery支持的国家或地区列表中新增某个国家或地区时，应用将自动分发到新增的国家和地区。 注意 取值不能只包含OTHER。 如果国家码有设置非CN的地区，将存在个人信息出境的情况，具体请参考个人信息出境授权声明。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 16,
          "type": "string",
          "name": "appTariffType",
          "in": "body",
          "required": false,
          "description": "应用内付费道具类型。 取值范围： 1：激活收费 2：道具收费 3：关卡收费 4：购买虚拟币 5：部分章节收费（图书阅读类） 6：其他的 7：课程收费 8：会员收费 支持设置多个，使用英文逗号分隔，例如“1,2,3”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 50,
          "type": "string",
          "name": "publicationNumber",
          "in": "body",
          "required": false,
          "description": "版号信息。 此参数只支持游戏类应用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 255,
          "type": "string",
          "name": "developerWebsite",
          "in": "body",
          "required": false,
          "description": "开发者官网。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custinfo-0000002504067925",
              "maxLength": 50,
              "type": "string",
              "name": "phone",
              "in": "body",
              "required": false
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custinfo-0000002504067925",
              "maxLength": 50,
              "type": "string",
              "name": "email",
              "in": "body",
              "required": false
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custinfo-0000002504067925",
              "maxLength": 50,
              "type": "string",
              "name": "qqNum",
              "in": "body",
              "required": false
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custinfo-0000002504067925",
              "maxLength": 100,
              "type": "string",
              "name": "internalPath",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "type": "object",
          "name": "customInfo",
          "in": "body",
          "required": false,
          "description": "客服信息。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicetypeinfo-0000002236201270",
              "enum": [
                "4",
                "5",
                "8",
                "12",
                "14",
                "19"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicetypeinfo-0000002236201270",
              "maxLength": 32,
              "type": "string",
              "name": "appAdapters",
              "in": "body",
              "required": false
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicetypeinfo-0000002236201270",
              "maxLength": 16,
              "enum": [
                "1"
              ],
              "type": "string",
              "name": "remoteControl",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "itemsType": "object",
          "type": "array",
          "name": "deviceTypes",
          "in": "body",
          "required": false,
          "description": "设备类型信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 256,
          "type": "string",
          "name": "privacyRightsUrl",
          "in": "body",
          "required": false,
          "description": "隐私权利网址。 即关于您的用户实施其权利的网站地址，如用户删除、修改、导出其个人数据的入口。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "-1",
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "registeredDclType",
          "in": "body",
          "required": false,
          "description": "APP类型信息。 取值范围： -1：清空APP类型信息 0：APP服务器在中国大陆 1：APP服务器不在中国大陆 2：APP为单机APP"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "-1",
            "1",
            "2",
            "3"
          ],
          "type": "integer",
          "name": "registeredIdType",
          "in": "body",
          "required": false,
          "description": "主办单位类型。 取值范围： -1：清空数据（会联动清空registeredIdNumber的内容） 1：企业（社会信用代码） 2：个人（身份证号码） 3：机构（机构代码）"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "registeredIdNumber",
          "in": "body",
          "required": false,
          "description": "主办单位证件号。 取值范围： registeredIdType为1时，对应统一社会信用代码 registeredIdType为2时，对应身份证号码 registeredIdType为3时，对应组织机构代码"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "registeredEntity",
          "in": "body",
          "required": false,
          "description": "主办单位。 取值范围： 1：与开发者账号主体一致 2：与开发者账号主体不一致 说明 当registeredDclType值为0（APP服务器在中国大陆）时，该字段必填。若不填写或填写错误，会导致审核不通过。 若在版本提交时，该字段值选择“一致”，则主办单位名称和证件号，将直接复用开发者联盟注册账号信息。 若您提交的主办单位信息与联盟账号信息不一致，该字段值却选择了“一致”，则系统将自动判定为“不一致”，将会影响审核结果。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 1024,
          "type": "string",
          "name": "registeredEntityName",
          "in": "body",
          "required": false,
          "description": "主办单位名称。 说明 当registeredDclType值为0（APP服务器在中国大陆）时，该字段必填。若不填写或填写错误，会导致审核不通过。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 32,
          "type": "string",
          "name": "privacyAgreementId",
          "in": "body",
          "required": false,
          "description": "隐私协议ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 512,
          "type": "string",
          "name": "userAgreementUrl",
          "in": "body",
          "required": false,
          "description": "用户协议URL。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxItems": 5,
          "itemsType": "string",
          "type": "array",
          "name": "userAgreementIds",
          "in": "body",
          "required": false,
          "description": "用户协议ID列表。 当userAgreementUrl和userAgreementIds同时传值时，以userAgreementIds值为准。 数组长度不超过5。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "encrypted",
          "in": "body",
          "required": true,
          "description": "包是否加密。 取值范围： 0：否，表示不加密。 1：是，表示加密。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isAiGenerate",
          "in": "body",
          "required": false,
          "description": "是否涉及AI生成合成服务。 取值范围： 0：不涉及。 1：涉及。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "itemsType": "integer",
          "type": "array",
          "name": "aiTypes",
          "in": "body",
          "required": false,
          "description": "涉及的AI生成合成服务类型。 取值范围： -1：其他 1：文本 2：图片 3：音频 4：视频 5：虚拟场景 说明 isAiGenerate取值为1（涉及）时，此参数必填。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 128,
          "type": "string",
          "name": "testUserName",
          "in": "body",
          "required": false,
          "description": "应用审核信息的测试账号用户名。 说明 如果存在需要登录后才可使用的功能，需要提供测试账号用户名。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 128,
          "type": "string",
          "name": "testUserPassword",
          "in": "body",
          "required": false,
          "description": "应用审核信息的测试账号密码。 说明 如果存在需要登录后才可使用的功能，需要提供测试账号密码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 300,
          "type": "string",
          "name": "appRemark",
          "in": "body",
          "required": false,
          "description": "应用审核信息的备注。 提供有助于审核人员更准确、高效测试您应用的额外信息，比如在审核时需要的特别设置等。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 2000,
          "type": "string",
          "name": "selfTestVideos",
          "in": "body",
          "required": false,
          "description": "应用审核信息的自测文件。 格式为JSON字符串，示例：{\"objectId1\":\"文件名1\",\"objectId2\":\"文件名2\"...} 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。 最多可上传5个自测视频，总大小不超过500MB。 注意 此字段只支持元服务。 元服务需要与设备联动时，此参数必填。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-appreviewcontact-0000002505438989",
              "maxLength": 500,
              "type": "string",
              "name": "account",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "type": "object",
          "name": "appReviewPhoneInfo",
          "in": "body",
          "required": false,
          "description": "应用负责人的手机号信息。用于沟通审核问题。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-appreviewcontact-0000002505438989",
              "maxLength": 500,
              "type": "string",
              "name": "account",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "type": "object",
          "name": "appReviewEmailInfo",
          "in": "body",
          "required": false,
          "description": "应用负责人的邮箱账号信息。用于接收上架审核结果，应用整改或下架通知。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxLength": 256,
          "type": "string",
          "name": "appReviewName",
          "in": "body",
          "required": false,
          "description": "应用负责人的姓名。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvoc-0000002495156924",
              "maxLength": 32,
              "type": "string",
              "name": "versionId",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvoc-0000002495156924",
              "maxLength": 32,
              "type": "string",
              "name": "packageId",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvoc-0000002495156924",
              "maxLength": 32,
              "type": "string",
              "name": "vocId",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246#section17512144171520",
          "maxItems": 1000,
          "itemsType": "object",
          "type": "array",
          "name": "versionVocs",
          "in": "body",
          "required": false,
          "description": "应用版本已解决问题。 数组长度不超过1000。 说明 调用查询应用未处理的问题工单接口可以查询用户反馈的应用问题。如果在应用版本更新时某些问题已经解决，可以将这些问题提交审核，工单平台验证通过后会关闭工单。"
        }
      ],
      "body": "defaultLang,harmonyChildType,kindMainTag,kindSubTags,privacyPolicy,appNetType,publishCountry,appTariffType,publicationNumber,developerWebsite,customInfo,deviceTypes,privacyRightsUrl,registeredDclType,registeredIdType,registeredIdNumber,registeredEntity,registeredEntityName,privacyAgreementId,userAgreementUrl,userAgreementIds,encrypted,isAiGenerate,aiTypes,testUserName,testUserPassword,appRemark,selfTestVideos,appReviewPhoneInfo,appReviewEmailInfo,appReviewName,versionVocs",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-appinfo-update-0000002236201246",
      "officialSlug": "agc-help-publish-api-appinfo-update-0000002236201246",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-info-update-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-info-update-v3 --invoke --body body.json",
        "show": "agc publishing app-info-update-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用语言信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:27.457Z",
        "status": "browser-read",
        "readCommand": "agc publishing language-info-update-v3 --docs --pretty"
      },
      "id": "language-info-update-v3",
      "familyId": "publishing",
      "name": "更新应用语言信息",
      "description": "此接口用于更新指定的HarmonyOS应用/元服务的语言描述信息，如果当前没有语言描述信息则新增。",
      "method": "PUT",
      "path": "/api/publish/v3/app-language-info",
      "command": "agc publishing language-info-update-v3",
      "requiredParams": [
        "appId",
        "lang"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section41341319578",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新语言描述信息的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section41341319578",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section41341319578",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "query",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网 3：分阶段 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section13576204051611",
          "maxLength": 8,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言种类。 说明 取值参见语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section13576204051611",
          "maxLength": 64,
          "type": "string",
          "name": "appName",
          "in": "body",
          "required": false,
          "description": "对应语言的应用名称。 新增一个语言种类时，此字段必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section13576204051611",
          "maxLength": 8000,
          "type": "string",
          "name": "appDesc",
          "in": "body",
          "required": false,
          "description": "对应语言的应用描述信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section13576204051611",
          "maxLength": 80,
          "type": "string",
          "name": "briefInfo",
          "in": "body",
          "required": false,
          "description": "对应语言的一句话简介。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569#section13576204051611",
          "maxLength": 500,
          "type": "string",
          "name": "newFeatures",
          "in": "body",
          "required": false,
          "description": "对应语言的新版本简介。 说明 升级版本时，此参数必填。"
        }
      ],
      "body": "lang,appName,appDesc,briefInfo,newFeatures",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-language-info-update-0000002271160569",
      "officialSlug": "agc-help-publish-api-language-info-update-0000002271160569",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/language-info-update-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing language-info-update-v3 --invoke --body body.json",
        "show": "agc publishing language-info-update-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用文件信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:31.723Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-file-info-v3 --docs --pretty"
      },
      "id": "app-file-info-v3",
      "familyId": "publishing",
      "name": "更新应用文件信息",
      "description": "图片、视频等文件上传完成后，通过该接口刷新HarmonyOS应用/元服务的文件信息。",
      "method": "PUT",
      "path": "/api/publish/v3/app-file-info",
      "command": "agc publishing app-file-info-v3",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section156021546155912",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section156021546155912",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section156021546155912",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "query",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网 3：分阶段 默认值：0"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "appIconList",
          "in": "body",
          "required": false,
          "description": "应用图标信息。 数组长度不超过20。 说明 应用图标必须与软件包中的应用图标一致，且需符合审核政策与应用文件要求。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "screenShotList",
          "in": "body",
          "required": false,
          "description": "应用介绍截图信息。 数组长度不超过20。 说明 在同一语言、同一设备下，同时更新的截图素材和视频素材方向必须保持一致，否则将报错。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "introVideoList",
          "in": "body",
          "required": false,
          "description": "应用介绍视频信息。 数组长度不超过20。 说明 在同一语言、同一设备下，同时更新的截图素材和视频素材方向必须保持一致，否则将报错。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "rcmdVideoList",
          "in": "body",
          "required": false,
          "description": "推荐视频信息。 数组长度不超过20。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "rcmdPicList",
          "in": "body",
          "required": false,
          "description": "推荐图片信息。 数组长度不超过20。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxLength": 512,
          "type": "string",
          "name": "elecCertificate",
          "in": "body",
          "required": false,
          "description": "电子版本证书。"
        },
        {
          "itemsMaxLength": 512,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 10,
          "itemsType": "string",
          "type": "array",
          "name": "certificateList",
          "in": "body",
          "required": false,
          "description": "应用版权证书或代理证书。 数组长度不超过10。"
        },
        {
          "itemsMaxLength": 512,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 10,
          "itemsType": "string",
          "type": "array",
          "name": "publicationList",
          "in": "body",
          "required": false,
          "description": "版号证明。 数组长度不超过10。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-packagepermissionintrovedio-0000002236201278",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-packagepermissionintrovedio-0000002236201278",
              "maxLength": 512,
              "type": "string",
              "name": "permissionName",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-packagepermissionintrovedio-0000002236201278",
              "enum": [
                "4",
                "5",
                "8",
                "12",
                "14",
                "19"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-packagepermissionintrovedio-0000002236201278",
              "maxLength": 512,
              "type": "string",
              "name": "objectId",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "packagePermissionIntroVideoList",
          "in": "body",
          "required": false,
          "description": "包权限使用场景说明视频。 数组长度不超过100。 说明 隐私权限说明的“权限描述”、“权限使用设备范围”和“权限使用理由”从上传的软件包体中读取，无需通过接口更新。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxLength": 512,
          "type": "string",
          "name": "otherCertificatesURL",
          "in": "body",
          "required": false,
          "description": "授权书及其他材料文件压缩包的objectId。 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。 若文件格式不正确，提交发布时会出错，具体限制如下： 压缩包必须为zip格式，不超过200MB。 解压后的大小不超过1GB。 文件夹层级不超过3层。 只能包含JPG、JPEG、BMP格式图片和PDF格式的文件，累计不超过200个。 说明 此字段只支持HarmonyOS应用，不支持元服务。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "updateScreenShotList",
          "in": "body",
          "required": false,
          "description": "更新截图素材。 数组长度不超过20。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "4",
                    "5",
                    "8",
                    "12",
                    "14",
                    "19"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsMaxLength": 512,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "objectIdList",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fileinfo-0000002236041466",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-langfileinfo-0000002271000653",
              "maxItems": 20,
              "itemsType": "object",
              "type": "array",
              "name": "fileInfoList",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430#section1131102811712",
          "maxItems": 20,
          "itemsType": "object",
          "type": "array",
          "name": "updateVideoList",
          "in": "body",
          "required": false,
          "description": "更新视频素材。 数组长度不超过20。"
        }
      ],
      "body": "appIconList,screenShotList,introVideoList,rcmdVideoList,rcmdPicList,elecCertificate,certificateList,publicationList,packagePermissionIntroVideoList,otherCertificatesURL,updateScreenShotList,updateVideoList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-file-info-update-0000002236041430",
      "officialSlug": "agc-help-publish-api-app-file-info-update-0000002236041430",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-file-info-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-file-info-v3 --invoke --body body.json",
        "show": "agc publishing app-file-info-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新应用软件包信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:46.452Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-package-info-update --docs --pretty"
      },
      "id": "app-package-info-update",
      "familyId": "publishing",
      "name": "更新应用软件包信息",
      "description": "APP软件包上传完成后，通过该接口刷新HarmonyOS应用/元服务的软件包信息。",
      "method": "PUT",
      "path": "/api/publish/v3/app-package-info",
      "command": "agc publishing app-package-info-update",
      "requiredParams": [
        "appId",
        "fileName",
        "objectId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250#section156021546155912",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要更新的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250#section156021546155912",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250#section156021546155912",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "query",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网 3：分阶段 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250#section1131102811712",
          "maxLength": 255,
          "type": "string",
          "name": "fileName",
          "in": "body",
          "required": true,
          "description": "文件名称，包括文件的后缀名。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250#section1131102811712",
          "maxLength": 512,
          "type": "string",
          "name": "objectId",
          "in": "body",
          "required": true,
          "description": "文件在文件服务器中的对象ID。 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。"
        }
      ],
      "body": "fileName,objectId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-package-info-update-0000002236201250",
      "officialSlug": "agc-help-publish-api-app-package-info-update-0000002236201250",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-package-info-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-package-info-update --invoke --body body.json",
        "show": "agc publishing app-package-info-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新分阶段发布",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:55:50.500Z",
        "status": "browser-read",
        "readCommand": "agc publishing phased-release-update --docs --pretty"
      },
      "id": "phased-release-update",
      "familyId": "publishing",
      "name": "更新分阶段发布",
      "description": "此接口用于将分阶段发布修改为全网发布，或者更新分阶段发布的设置。",
      "method": "PUT",
      "path": "/api/publish/v2/version/phased-release",
      "command": "agc publishing phased-release-update",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section1520919574201",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "版本ID。 可从查询应用所有版本类型的版本列表接口返回的versionId参数中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section1520919574201",
          "enum": [
            "3",
            "4"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "body",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 3：分阶段。 4：分阶段转全网。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section1520919574201",
          "maxLength": 16,
          "enum": [
            "SUSPEND",
            "RELEASE"
          ],
          "type": "string",
          "name": "state",
          "in": "body",
          "required": false,
          "description": "分阶段发布的状态。 取值范围： SUSPEND：暂停。 RELEASE：恢复为发布中。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section1520919574201",
          "maxLength": 500,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false,
          "description": "分阶段发布说明。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625#section1520919574201",
          "enum": [
            "2",
            "3",
            "4",
            "5",
            "6",
            "7"
          ],
          "type": "integer",
          "name": "phaseDay",
          "in": "body",
          "required": false,
          "description": "更新分阶段天数。 取值范围2、3、4、5、6、7，对应分阶段发布比例加速到2%、5%、10%、20%、50%、100%。"
        }
      ],
      "body": "versionId,releasePhase,state,description,phaseDay",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-phased-release-0000002271000625",
      "officialSlug": "agc-help-publish-api-phased-release-0000002271000625",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/phased-release-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing phased-release-update --invoke --body body.json",
        "show": "agc publishing phased-release-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用软件包信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-package-info-0000002328848469",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:01.749Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-package-info-query --docs --pretty"
      },
      "id": "app-package-info-query",
      "familyId": "publishing",
      "name": "查询应用软件包信息",
      "description": "此接口用于查询HarmonyOS应用/元服务的软件包信息。",
      "method": "GET",
      "path": "/api/publish/v2/app-package-info",
      "command": "agc publishing app-package-info-query",
      "requiredParams": [
        "appId",
        "packageId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-package-info-0000002328848469#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-package-info-0000002328848469#section165302018915",
          "maxLength": 32,
          "type": "string",
          "name": "packageId",
          "in": "query",
          "required": true,
          "description": "待查询的软件包ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-package-info-0000002328848469",
      "officialSlug": "agc-help-publish-api-query-package-info-0000002328848469",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-package-info-query",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-package-info-query --invoke",
        "show": "agc publishing app-package-info-query --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用未处理的问题工单",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:19.563Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-version-voc --docs --pretty"
      },
      "id": "app-version-voc",
      "familyId": "publishing",
      "name": "查询应用未处理的问题工单",
      "description": "此接口用于查询HarmonyOS应用/元服务未处理的问题工单。",
      "method": "POST",
      "path": "/api/publish/v1/app-voc/version-voc",
      "command": "agc publishing app-version-voc",
      "requiredParams": [
        "appId",
        "pageNo",
        "pageSize"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986#section11431111271820",
          "maxLength": 32,
          "type": "string",
          "name": "vocId",
          "in": "body",
          "required": false,
          "description": "工单ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986#section11431111271820",
          "maxLength": 255,
          "type": "string",
          "name": "vocDesc",
          "in": "body",
          "required": false,
          "description": "工单描述。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986#section11431111271820",
          "minimum": 1,
          "type": "integer",
          "name": "pageNo",
          "in": "body",
          "required": true,
          "description": "当前页。 最小值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986#section11431111271820",
          "maximum": 100,
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": true,
          "description": "每页数量。 最大值：100"
        }
      ],
      "body": "vocId,vocDesc,pageNo,pageSize",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-version-voc-0000002495233986",
      "officialSlug": "agc-help-publish-api-post-app-version-voc-0000002495233986",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-version-voc",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-version-voc --invoke --body body.json",
        "show": "agc publishing app-version-voc --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询需要上传的资质文件信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-tag-qual-dependent-0000002271160577",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:24.391Z",
        "status": "browser-read",
        "readCommand": "agc publishing tag-qual-dependent --docs --pretty"
      },
      "id": "tag-qual-dependent",
      "familyId": "publishing",
      "name": "查询需要上传的资质文件信息",
      "description": "此接口用于查询元服务需要上传的所有资质文件信息。",
      "method": "GET",
      "path": "/api/publish/v2/tag-qual-dependent",
      "command": "agc publishing tag-qual-dependent",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-tag-qual-dependent-0000002271160577",
      "officialSlug": "agc-help-publish-api-query-tag-qual-dependent-0000002271160577",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/tag-qual-dependent",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing tag-qual-dependent --invoke",
        "show": "agc publishing tag-qual-dependent --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交资质审核任务",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-qualification-review-0000002271000629",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:28.028Z",
        "status": "browser-read",
        "readCommand": "agc publishing qualification-review-create --docs --pretty"
      },
      "id": "qualification-review-create",
      "familyId": "publishing",
      "name": "提交资质审核任务",
      "description": "此接口用于提交元服务的资质审核任务。",
      "method": "POST",
      "path": "/api/publish/v2/qualification-review-task",
      "command": "agc publishing qualification-review-create",
      "requiredParams": [
        "appId",
        "tagQualInfos"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-qualification-review-0000002271000629#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxLength": 64,
              "type": "string",
              "name": "tagId",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxLength": 32,
              "type": "string",
              "name": "taskId",
              "in": "body",
              "required": false
            },
            {
              "itemsRules": [
                {
                  "minDays": 30,
                  "id": "qualification_remaining_validity",
                  "kind": "minimum_remaining_days",
                  "field": "body.expireTime",
                  "when": {
                    "field": "body.validityType",
                    "equals": "0",
                    "default": "0"
                  },
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "message": "Custom qualification expiry must have more than 30 days remaining.",
                  "suggestion": "Use a real qualification expiry date in yyyy-MM-dd format with more than 30 days remaining; do not change the source certificate's validity."
                }
              ],
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 32,
                  "type": "string",
                  "name": "qualificationCode",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "objectId",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "fileName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "type": "integer",
                      "name": "fileSize",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "sha256",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxItems": 10,
                  "itemsType": "object",
                  "type": "array",
                  "name": "qualificationFileInfos",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "validityType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 20,
                  "type": "string",
                  "format": "date",
                  "name": "startTime",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 20,
                  "type": "string",
                  "format": "date",
                  "name": "expireTime",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxItems": 10,
              "itemsType": "object",
              "type": "array",
              "name": "qualificationInfos",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-qualification-review-0000002271000629#section2357705386",
          "maxItems": 5,
          "itemsType": "object",
          "type": "array",
          "name": "tagQualInfos",
          "in": "body",
          "required": true,
          "description": "标签和标签对应的资质信息列表。 数组长度不超过5。"
        }
      ],
      "body": "tagQualInfos",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-qualification-review-0000002271000629",
      "officialSlug": "agc-help-publish-api-post-qualification-review-0000002271000629",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/qualification-review-create",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing qualification-review-create --invoke --body body.json",
        "show": "agc publishing qualification-review-create --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询资质审核任务详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-get-qualification-review-0000002236041438",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:44.080Z",
        "status": "browser-read",
        "readCommand": "agc publishing qualification-review-query --docs --pretty"
      },
      "id": "qualification-review-query",
      "familyId": "publishing",
      "name": "查询资质审核任务详情",
      "description": "此接口用于查询元服务的资质审核任务详情。",
      "method": "GET",
      "path": "/api/publish/v2/qualification-review-task",
      "command": "agc publishing qualification-review-query",
      "requiredParams": [
        "appId",
        "tagIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-get-qualification-review-0000002236041438#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-get-qualification-review-0000002236041438#section165302018915",
          "maxLength": 256,
          "type": "string",
          "name": "tagIds",
          "in": "query",
          "required": true,
          "description": "审核任务包含的标签ID列表，逗号分隔。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-get-qualification-review-0000002236041438",
      "officialSlug": "agc-help-publish-api-get-qualification-review-0000002236041438",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/qualification-review-query",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing qualification-review-query --invoke",
        "show": "agc publishing qualification-review-query --pretty"
      }
    },
    {
      "documentation": {
        "title": "修改资质审核任务",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-qualification-review-0000002422530746",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:45.618Z",
        "status": "browser-read",
        "readCommand": "agc publishing qualification-review-update --docs --pretty"
      },
      "id": "qualification-review-update",
      "familyId": "publishing",
      "name": "修改资质审核任务",
      "description": "此接口用于修改元服务的资质审核任务。",
      "method": "PUT",
      "path": "/api/publish/v2/qualification-review-task",
      "command": "agc publishing qualification-review-update",
      "requiredParams": [
        "appId",
        "tagQualInfos"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-qualification-review-0000002422530746#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxLength": 64,
              "type": "string",
              "name": "tagId",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxLength": 32,
              "type": "string",
              "name": "taskId",
              "in": "body",
              "required": true
            },
            {
              "itemsRules": [
                {
                  "minDays": 30,
                  "id": "qualification_remaining_validity",
                  "kind": "minimum_remaining_days",
                  "field": "body.expireTime",
                  "when": {
                    "field": "body.validityType",
                    "equals": "0",
                    "default": "0"
                  },
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "message": "Custom qualification expiry must have more than 30 days remaining.",
                  "suggestion": "Use a real qualification expiry date in yyyy-MM-dd format with more than 30 days remaining; do not change the source certificate's validity."
                }
              ],
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 32,
                  "type": "string",
                  "name": "qualificationCode",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "objectId",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "fileName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "type": "integer",
                      "name": "fileSize",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationfileinfo-0000002271160609",
                      "maxLength": 128,
                      "type": "string",
                      "name": "sha256",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxItems": 10,
                  "itemsType": "object",
                  "type": "array",
                  "name": "qualificationFileInfos",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "validityType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 20,
                  "type": "string",
                  "format": "date",
                  "name": "startTime",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-qualificationinfo-0000002236201286",
                  "maxLength": 20,
                  "type": "string",
                  "format": "date",
                  "name": "expireTime",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-tagqualinfo-0000002236041478",
              "maxItems": 10,
              "itemsType": "object",
              "type": "array",
              "name": "qualificationInfos",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-qualification-review-0000002422530746#section2357705386",
          "maxItems": 5,
          "itemsType": "object",
          "type": "array",
          "name": "tagQualInfos",
          "in": "body",
          "required": true,
          "description": "标签和标签对应的资质信息列表。 数组长度不超过5。"
        }
      ],
      "body": "tagQualInfos",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-qualification-review-0000002422530746",
      "officialSlug": "agc-help-publish-api-put-qualification-review-0000002422530746",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/qualification-review-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing qualification-review-update --invoke --body body.json",
        "show": "agc publishing qualification-review-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "撤销资质审核任务",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-cancel-qualification-review-0000002236201258",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:56:47.305Z",
        "status": "browser-read",
        "readCommand": "agc publishing qualification-review-cancel --docs --pretty"
      },
      "id": "qualification-review-cancel",
      "familyId": "publishing",
      "name": "撤销资质审核任务",
      "description": "此接口用于撤销元服务的资质审核任务。",
      "method": "PUT",
      "path": "/api/publish/v2/qualification-review-task/cancel",
      "command": "agc publishing qualification-review-cancel",
      "requiredParams": [
        "appId",
        "taskId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-cancel-qualification-review-0000002236201258#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-cancel-qualification-review-0000002236201258#section2357705386",
          "maxLength": 32,
          "type": "string",
          "name": "taskId",
          "in": "body",
          "required": true,
          "description": "资质审核任务ID。"
        }
      ],
      "body": "taskId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-cancel-qualification-review-0000002236201258",
      "officialSlug": "agc-help-publish-api-cancel-qualification-review-0000002236201258",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/qualification-review-cancel",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing qualification-review-cancel --invoke --body body.json",
        "show": "agc publishing qualification-review-cancel --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除资质审核任务",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delete-qualification-review-0000002526538788",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:03.034Z",
        "status": "browser-read",
        "readCommand": "agc publishing qualification-review-delete --docs --pretty"
      },
      "id": "qualification-review-delete",
      "familyId": "publishing",
      "name": "删除资质审核任务",
      "description": "此接口用于删除元服务的资质审核任务。",
      "method": "DELETE",
      "path": "/api/publish/v2/qualification-review-task",
      "command": "agc publishing qualification-review-delete",
      "requiredParams": [
        "appId",
        "tagIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delete-qualification-review-0000002526538788#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delete-qualification-review-0000002526538788#section2357705386",
          "maxItems": 5,
          "itemsType": "string",
          "type": "array",
          "name": "tagIds",
          "in": "body",
          "required": true,
          "description": "需要删除的资质审核标签ID列表，逗号分隔。 数组长度不超过5。 说明 具体取值请参见元服务的“标签ID”列。"
        }
      ],
      "body": "tagIds",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delete-qualification-review-0000002526538788",
      "officialSlug": "agc-help-publish-api-delete-qualification-review-0000002526538788",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/qualification-review-delete",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing qualification-review-delete --invoke",
        "show": "agc publishing qualification-review-delete --pretty"
      }
    },
    {
      "documentation": {
        "title": "新建用户协议",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:04.732Z",
        "status": "browser-read",
        "readCommand": "agc publishing user-agreement-create --docs --pretty"
      },
      "id": "user-agreement-create",
      "familyId": "publishing",
      "name": "新建用户协议",
      "description": "此接口用于新建HarmonyOS应用/元服务的用户协议。",
      "method": "POST",
      "path": "/api/publish/v2/agreement",
      "command": "agc publishing user-agreement-create",
      "requiredParams": [
        "appId",
        "type"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581#section11431111271820",
          "enum": [
            "2"
          ],
          "type": "integer",
          "name": "type",
          "in": "body",
          "required": true,
          "description": "协议类型。 取值范围： 2：用户协议"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581#section11431111271820",
          "maxLength": 20,
          "type": "string",
          "name": "defaultLang",
          "in": "body",
          "required": false,
          "description": "用户协议默认语言。 取值范围： zh：简体中文 en：英语 ug：维吾尔语 bo：藏语 zh-Hant-HK：繁体中文（中国香港特别行政区） zh-Hant-TW：繁体中文（中国台湾）"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-user-0000002236041482",
              "maxLength": 20,
              "enum": [
                "zh",
                "en",
                "ug",
                "bo",
                "zh-Hant-HK",
                "zh-Hant-TW"
              ],
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 100,
                  "type": "string",
                  "name": "name",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 100,
                  "type": "string",
                  "name": "agreementTitle",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 512,
                  "type": "string",
                  "name": "userAgreementUrl",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-user-0000002236041482",
              "type": "object",
              "name": "baseInfo",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581#section11431111271820",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "agreementInfos",
          "in": "body",
          "required": false,
          "description": "用户协议列表。 数组长度不超过100。"
        },
        {
          "type": "integer",
          "name": "channel",
          "in": "body",
          "required": false,
          "description": "官方创建用户协议请求样例中的渠道字段。"
        }
      ],
      "body": "type,defaultLang,agreementInfos,channel",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-create-user-agreement-0000002271160581",
      "officialSlug": "agc-help-publish-api-create-user-agreement-0000002271160581",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/user-agreement-create",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing user-agreement-create --invoke --body body.json",
        "show": "agc publishing user-agreement-create --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询用户协议列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:06.324Z",
        "status": "browser-read",
        "readCommand": "agc publishing user-agreement-list --docs --pretty"
      },
      "id": "user-agreement-list",
      "familyId": "publishing",
      "name": "查询用户协议列表",
      "description": "此接口用于查询HarmonyOS应用/元服务的用户协议信息。",
      "method": "POST",
      "path": "/api/publish/v2/agreement/list",
      "command": "agc publishing user-agreement-list",
      "requiredParams": [
        "appId",
        "name"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "minItems": 1,
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "agreementIdList",
          "in": "body",
          "required": false,
          "description": "用户协议ID。 数组长度为1~1000。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "maxLength": 100,
          "allowEmpty": true,
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true,
          "description": "用户协议名称。 使用模糊查询方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "enum": [
            "2",
            "3"
          ],
          "type": "integer",
          "name": "status",
          "in": "body",
          "required": false,
          "description": "用户协议状态。 取值范围： 2：已完成 3：已删除"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "enum": [
            "2"
          ],
          "type": "integer",
          "name": "type",
          "in": "body",
          "required": false,
          "description": "协议类型。 取值范围： 2：用户协议"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "type": "integer",
          "name": "fromRecCount",
          "in": "body",
          "required": false,
          "description": "查询起始位置。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442#section2357705386",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "maxReqCount",
          "in": "body",
          "required": false,
          "description": "最大请求查询数。 取值范围：[1,100] 默认值：30"
        }
      ],
      "body": "agreementIdList,name,status,type,fromRecCount,maxReqCount",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-user-agreement-0000002236041442",
      "officialSlug": "agc-help-publish-api-query-user-agreement-0000002236041442",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/user-agreement-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing user-agreement-list --invoke --body body.json",
        "show": "agc publishing user-agreement-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新用户协议",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:18.109Z",
        "status": "browser-read",
        "readCommand": "agc publishing user-agreement-update --docs --pretty"
      },
      "id": "user-agreement-update",
      "familyId": "publishing",
      "name": "更新用户协议",
      "description": "此接口用于更新HarmonyOS应用/元服务的用户协议信息。",
      "method": "PUT",
      "path": "/api/publish/v2/agreement",
      "command": "agc publishing user-agreement-update",
      "requiredParams": [
        "appId",
        "id"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626#section11431111271820",
          "maxLength": 32,
          "type": "string",
          "name": "id",
          "in": "body",
          "required": true,
          "description": "用户协议ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626#section11431111271820",
          "maxLength": 20,
          "type": "string",
          "name": "defaultLang",
          "in": "body",
          "required": false,
          "description": "用户协议默认语言。 取值范围： zh：简体中文 en：英语 ug：维吾尔语 bo：藏语 zh-Hant-HK：繁体中文（中国香港特别行政区） zh-Hant-TW：繁体中文（中国台湾）"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-user-0000002236041482",
              "maxLength": 20,
              "enum": [
                "zh",
                "en",
                "ug",
                "bo",
                "zh-Hant-HK",
                "zh-Hant-TW"
              ],
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 100,
                  "type": "string",
                  "name": "name",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 100,
                  "type": "string",
                  "name": "agreementTitle",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementbaseinfo-user-0000002236201290",
                  "maxLength": 512,
                  "type": "string",
                  "name": "userAgreementUrl",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-user-0000002236041482",
              "type": "object",
              "name": "baseInfo",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626#section11431111271820",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "agreementInfos",
          "in": "body",
          "required": false,
          "description": "用户协议列表。 数组长度不超过100。"
        }
      ],
      "body": "id,defaultLang,agreementInfos",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-user-agreement-0000002294845626",
      "officialSlug": "agc-help-publish-api-update-user-agreement-0000002294845626",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/user-agreement-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing user-agreement-update --invoke --body body.json",
        "show": "agc publishing user-agreement-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交隐私政策协议",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-privacy-agreement-0000002271000633",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:20.479Z",
        "status": "browser-read",
        "readCommand": "agc publishing privacy-agreement-submit --docs --pretty"
      },
      "id": "privacy-agreement-submit",
      "familyId": "publishing",
      "name": "提交隐私政策协议",
      "description": "此接口用于提交HarmonyOS应用/元服务的隐私政策协议。",
      "method": "PUT",
      "path": "/api/publish/v2/agreement/submit",
      "command": "agc publishing privacy-agreement-submit",
      "requiredParams": [
        "appId",
        "id"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-privacy-agreement-0000002271000633#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-privacy-agreement-0000002271000633#section1131102811712",
          "maxLength": 32,
          "type": "string",
          "name": "id",
          "in": "body",
          "required": true,
          "description": "隐私政策协议ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-privacy-agreement-0000002271000633#section1131102811712",
          "enum": [
            "1",
            "0"
          ],
          "type": "integer",
          "name": "requireConfirm",
          "in": "body",
          "required": false,
          "description": "是否弹窗确认。 取值范围： 1：是 0：否"
        }
      ],
      "body": "id,requireConfirm",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-put-privacy-agreement-0000002271000633",
      "officialSlug": "agc-help-publish-api-put-privacy-agreement-0000002271000633",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/privacy-agreement-submit",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing privacy-agreement-submit --invoke --body body.json",
        "show": "agc publishing privacy-agreement-submit --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询隐私政策协议列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T05:10:26.407Z",
        "status": "browser-read",
        "readCommand": "agc publishing privacy-agreement-list --docs --pretty"
      },
      "id": "privacy-agreement-list",
      "familyId": "publishing",
      "name": "查询隐私政策协议列表",
      "description": "此接口用于查询HarmonyOS应用/元服务的隐私政策协议信息。",
      "method": "POST",
      "path": "/api/publish/v2/agreement/list",
      "command": "agc publishing privacy-agreement-list",
      "requiredParams": [
        "appId",
        "name"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "minItems": 1,
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "agreementIdList",
          "in": "body",
          "required": false,
          "description": "隐私政策协议ID。 数组长度为1~1000。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "maxLength": 100,
          "allowEmpty": true,
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true,
          "description": "隐私政策协议名称。 使用模糊查询方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "enum": [
            "1",
            "2",
            "3"
          ],
          "type": "integer",
          "name": "status",
          "in": "body",
          "required": false,
          "description": "隐私政策协议状态。 取值范围： 1：草稿 2：已完成 3：已删除 不传值：默认查未删除的记录"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "type",
          "in": "body",
          "required": false,
          "description": "协议类型。 取值范围： 1：隐私政策协议"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "type": "integer",
          "name": "fromRecCount",
          "in": "body",
          "required": false,
          "description": "起始页数。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925#section2357705386",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "maxReqCount",
          "in": "body",
          "required": false,
          "description": "每页返回条数。 取值范围：[1,100] 默认值：30"
        }
      ],
      "body": "agreementIdList,name,status,type,fromRecCount,maxReqCount",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-query-privacy-agreement-0000002328924925",
      "officialSlug": "agc-help-publish-api-query-privacy-agreement-0000002328924925",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/privacy-agreement-list",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing privacy-agreement-list --invoke --body body.json",
        "show": "agc publishing privacy-agreement-list --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新隐私政策协议",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T05:06:42.704Z",
        "status": "browser-read",
        "readCommand": "agc publishing privacy-agreement-update --docs --pretty"
      },
      "id": "privacy-agreement-update",
      "familyId": "publishing",
      "name": "更新隐私政策协议",
      "description": "此接口用于更新HarmonyOS应用/元服务的隐私政策协议。接口调用者的角色：账号持有者、管理员、APP管理员、运营。",
      "method": "PUT",
      "path": "/api/publish/v2/agreement",
      "command": "agc publishing privacy-agreement-update",
      "requiredParams": [
        "appId",
        "id"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169#section11431111271820",
          "maxLength": 32,
          "type": "string",
          "name": "id",
          "in": "body",
          "required": true,
          "description": "隐私政策协议ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169#section11431111271820",
          "maxLength": 20,
          "type": "string",
          "name": "defaultLang",
          "in": "body",
          "required": false,
          "description": "隐私政策协议默认语言。 取值范围： zh：简体中文 en：英语 ug：维吾尔语 bo：藏语 zh-Hant-HK：繁体中文（中国香港特别行政区） zh-Hant-TW：繁体中文（中国台湾）"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "maxLength": 20,
              "enum": [
                "zh",
                "en",
                "ug",
                "bo",
                "zh-Hant-HK",
                "zh-Hant-TW"
              ],
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-agreementbaseinfo-privacy-0000002328924929",
                  "maxLength": 100,
                  "type": "string",
                  "name": "name",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-agreementbaseinfo-privacy-0000002328924929",
                  "maxLength": 255,
                  "type": "string",
                  "name": "appName",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-agreementbaseinfo-privacy-0000002328924929",
                  "maxLength": 1024,
                  "type": "string",
                  "name": "companyName",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-agreementbaseinfo-privacy-0000002328924929",
                  "maxLength": 500,
                  "type": "string",
                  "name": "briefDesc",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/publish-api-agreementbaseinfo-privacy-0000002328924929",
                  "type": "integer",
                  "name": "effectiveTime",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "type": "object",
              "name": "baseInfo",
              "in": "body",
              "required": false
            },
            {
              "properties": [
                {
                  "properties": [
                    {
                      "itemsProperties": [
                        {
                          "itemsProperties": [
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 64,
                              "type": "string",
                              "name": "itemId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 500,
                              "type": "string",
                              "name": "itemDesc",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "enum": [
                                "0",
                                "1"
                              ],
                              "type": "integer",
                              "name": "sensitiveData",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "dataItems",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "sceneId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "sceneReason",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "collectModeId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "collectMode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "legalBasisId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "legalBasis",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "remark",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-requiredinfo-0000002295005294",
                      "maxItems": 200,
                      "itemsType": "object",
                      "type": "array",
                      "name": "sceneItems",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "requiredInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "itemsProperties": [
                        {
                          "itemsProperties": [
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 64,
                              "type": "string",
                              "name": "itemId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 500,
                              "type": "string",
                              "name": "itemDesc",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "enum": [
                                "0",
                                "1"
                              ],
                              "type": "integer",
                              "name": "sensitiveData",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "dataItems",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "sceneId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "sceneReason",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "collectModeId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "collectMode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "legalBasisId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "legalBasis",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "remark",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-recommendinfo-0000002328805177",
                      "maxItems": 200,
                      "itemsType": "object",
                      "type": "array",
                      "name": "sceneItems",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-recommendinfo-0000002328805177",
                      "maxLength": 500,
                      "type": "string",
                      "name": "closeSetting",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "recommendInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "itemsProperties": [
                        {
                          "itemsProperties": [
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 64,
                              "type": "string",
                              "name": "itemId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 500,
                              "type": "string",
                              "name": "itemDesc",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "enum": [
                                "0",
                                "1"
                              ],
                              "type": "integer",
                              "name": "sensitiveData",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "dataItems",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "sceneId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "sceneReason",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "collectModeId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "collectMode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "legalBasisId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "legalBasis",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "remark",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-adsinfo-0000002295005298",
                      "maxItems": 200,
                      "itemsType": "object",
                      "type": "array",
                      "name": "sceneItems",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-adsinfo-0000002295005298",
                      "maxLength": 500,
                      "type": "string",
                      "name": "pushContent",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-adsinfo-0000002295005298",
                      "maxLength": 500,
                      "type": "string",
                      "name": "closeSetting",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "adsInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fullservicemode-0000002294845638",
                      "maxLength": 500,
                      "type": "string",
                      "name": "selectPath",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fullservicemode-0000002294845638",
                      "maxLength": 500,
                      "type": "string",
                      "name": "personalCollectType",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fullservicemode-0000002294845638",
                      "maxLength": 500,
                      "type": "string",
                      "name": "basicServiceType",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-fullservicemode-0000002294845638",
                      "maxLength": 500,
                      "type": "string",
                      "name": "extraServiceType",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "fullServiceMode",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contractobligationmode-0000002328924941",
                      "maxLength": 500,
                      "type": "string",
                      "name": "serviceType",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contractobligationmode-0000002328924941",
                      "maxLength": 500,
                      "type": "string",
                      "name": "personalCollectReason",
                      "in": "body",
                      "required": false
                    },
                    {
                      "itemsProperties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-servicetypeinfo-0000002328805213",
                          "maxLength": 100,
                          "type": "string",
                          "name": "serviceType",
                          "in": "body",
                          "required": false
                        },
                        {
                          "itemsProperties": [
                            {
                              "itemsProperties": [
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "maxLength": 64,
                                  "type": "string",
                                  "name": "itemId",
                                  "in": "body",
                                  "required": false
                                },
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "maxLength": 500,
                                  "type": "string",
                                  "name": "itemDesc",
                                  "in": "body",
                                  "required": false
                                },
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "enum": [
                                    "0",
                                    "1"
                                  ],
                                  "type": "integer",
                                  "name": "sensitiveData",
                                  "in": "body",
                                  "required": false
                                }
                              ],
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxItems": 200,
                              "itemsType": "object",
                              "type": "array",
                              "name": "dataItems",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "sceneId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "sceneReason",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "collectModeId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "collectMode",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "legalBasisId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "legalBasis",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "remark",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-servicetypeinfo-0000002328805213",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "sceneItems",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contractobligationmode-0000002328924941",
                      "maxItems": 100,
                      "itemsType": "object",
                      "type": "array",
                      "name": "serviceTypeInfos",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "contractObligationMode",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "itemsProperties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-servicetypeinfo-0000002328805213",
                          "maxLength": 100,
                          "type": "string",
                          "name": "serviceType",
                          "in": "body",
                          "required": false
                        },
                        {
                          "itemsProperties": [
                            {
                              "itemsProperties": [
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "maxLength": 64,
                                  "type": "string",
                                  "name": "itemId",
                                  "in": "body",
                                  "required": false
                                },
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "maxLength": 500,
                                  "type": "string",
                                  "name": "itemDesc",
                                  "in": "body",
                                  "required": false
                                },
                                {
                                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                                  "enum": [
                                    "0",
                                    "1"
                                  ],
                                  "type": "integer",
                                  "name": "sensitiveData",
                                  "in": "body",
                                  "required": false
                                }
                              ],
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxItems": 200,
                              "itemsType": "object",
                              "type": "array",
                              "name": "dataItems",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "sceneId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "sceneReason",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "collectModeId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "collectMode",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 64,
                              "type": "string",
                              "name": "legalBasisId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "legalBasis",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                              "maxLength": 500,
                              "type": "string",
                              "name": "remark",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-servicetypeinfo-0000002328805213",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "sceneItems",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-lawregulationmode-0000002295005342",
                      "maxItems": 100,
                      "itemsType": "object",
                      "type": "array",
                      "name": "serviceTypeInfos",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-personalinfo-0000002328805173",
                  "type": "object",
                  "name": "lawRegulationMode",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "type": "object",
              "name": "personalInfo",
              "in": "body",
              "required": false
            },
            {
              "itemsProperties": [
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-permission-0000002328924977",
                      "maxLength": 100,
                      "type": "string",
                      "name": "permissionName",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-permission-0000002328924977",
                      "maxLength": 500,
                      "type": "string",
                      "name": "permissionDesc",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicepermission-0000002294845674",
                  "minItems": 1,
                  "maxItems": 200,
                  "itemsType": "object",
                  "type": "array",
                  "name": "permissions",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicepermission-0000002294845674",
                  "maxLength": 64,
                  "type": "string",
                  "name": "reasonId",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicepermission-0000002294845674",
                  "maxLength": 500,
                  "type": "string",
                  "name": "reason",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicepermission-0000002294845674",
                  "maxLength": 100,
                  "type": "string",
                  "name": "groupId",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-devicepermission-0000002294845674",
                  "maxLength": 256,
                  "type": "string",
                  "name": "groupName",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "maxItems": 200,
              "itemsType": "object",
              "type": "array",
              "name": "devicePermissions",
              "in": "body",
              "required": false
            },
            {
              "properties": [
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 100,
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 100,
                      "type": "string",
                      "name": "providerName",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 100,
                      "type": "string",
                      "name": "version",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 512,
                      "type": "string",
                      "name": "privacyDeclare",
                      "in": "body",
                      "required": false
                    },
                    {
                      "itemsProperties": [
                        {
                          "itemsProperties": [
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 64,
                              "type": "string",
                              "name": "itemId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 500,
                              "type": "string",
                              "name": "itemDesc",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "enum": [
                                "0",
                                "1"
                              ],
                              "type": "integer",
                              "name": "sensitiveData",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "dataItems",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "sceneId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "sceneReason",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "collectModeId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "collectMode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "legalBasisId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "legalBasis",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "remark",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxItems": 200,
                      "itemsType": "object",
                      "type": "array",
                      "name": "privacyLabels",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 200,
                      "type": "string",
                      "name": "scene",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 100,
                      "type": "string",
                      "name": "collectType",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sdkinfo-0000002295005346",
                      "maxLength": 500,
                      "type": "string",
                      "name": "purpose",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsdkinfo-0000002328805217",
                  "maxItems": 50,
                  "itemsType": "object",
                  "type": "array",
                  "name": "sdkInfos",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "type": "object",
              "name": "thirdSdkInfo",
              "in": "body",
              "required": false
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 100,
                  "type": "string",
                  "name": "name",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 500,
                  "type": "string",
                  "name": "purpose",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 500,
                  "type": "string",
                  "name": "personalType",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 1024,
                  "type": "string",
                  "name": "officialPrivacyUrl",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 100,
                  "type": "string",
                  "name": "serviceType",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 200,
                  "type": "string",
                  "name": "scene",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxLength": 100,
                  "type": "string",
                  "name": "shareType",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                      "maxLength": 64,
                      "type": "string",
                      "name": "itemId",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                      "maxLength": 500,
                      "type": "string",
                      "name": "itemDesc",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                      "enum": [
                        "0",
                        "1"
                      ],
                      "type": "integer",
                      "name": "sensitiveData",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-thirdsharedinfo-0000002294845678",
                  "maxItems": 200,
                  "itemsType": "object",
                  "type": "array",
                  "name": "dataItems",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "maxItems": 200,
              "itemsType": "object",
              "type": "array",
              "name": "thirdSharedInfos",
              "in": "body",
              "required": false
            },
            {
              "properties": [
                {
                  "properties": [
                    {
                      "itemsMaxLength": 100,
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contactinfo-0000002328805225",
                      "maxItems": 10,
                      "itemsType": "string",
                      "type": "array",
                      "name": "email",
                      "in": "body",
                      "required": false
                    },
                    {
                      "itemsMaxLength": 31,
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contactinfo-0000002328805225",
                      "maxItems": 10,
                      "itemsType": "string",
                      "type": "array",
                      "name": "phoneNum",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contactinfo-0000002328805225",
                      "maxLength": 512,
                      "type": "string",
                      "name": "companyAddress",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-contactinfo-0000002328805225",
                      "maxLength": 500,
                      "type": "string",
                      "name": "customContactInfo",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "type": "object",
                  "name": "contactInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxLength": 512,
                      "type": "string",
                      "name": "storagePeriod",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxLength": 100,
                      "type": "string",
                      "name": "country",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "type": "boolean",
                      "name": "isCrossBorder",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxLength": 500,
                      "type": "string",
                      "name": "crossBorderReason",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxLength": 100,
                      "type": "string",
                      "name": "crossBorderReceiveName",
                      "in": "body",
                      "required": false
                    },
                    {
                      "itemsProperties": [
                        {
                          "itemsProperties": [
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 64,
                              "type": "string",
                              "name": "itemId",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "maxLength": 500,
                              "type": "string",
                              "name": "itemDesc",
                              "in": "body",
                              "required": false
                            },
                            {
                              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-dataitem-0000002328924933",
                              "enum": [
                                "0",
                                "1"
                              ],
                              "type": "integer",
                              "name": "sensitiveData",
                              "in": "body",
                              "required": false
                            }
                          ],
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxItems": 200,
                          "itemsType": "object",
                          "type": "array",
                          "name": "dataItems",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "sceneId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "sceneReason",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "collectModeId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "collectMode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 64,
                          "type": "string",
                          "name": "legalBasisId",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "legalBasis",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-sceneitem-0000002294845634",
                          "maxLength": 500,
                          "type": "string",
                          "name": "remark",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxItems": 200,
                      "itemsType": "object",
                      "type": "array",
                      "name": "crossBorderDeclarations",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-storageinfo-0000002295005350",
                      "maxLength": 100,
                      "type": "string",
                      "name": "crossBorderCountry",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "type": "object",
                  "name": "storageInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "maxLength": 512,
                  "type": "string",
                  "name": "childPrivacyUrl",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionchangedesc-0000002294845686",
                      "maxLength": 50,
                      "type": "string",
                      "name": "chapter",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionchangedesc-0000002294845686",
                      "maxLength": 500,
                      "type": "string",
                      "name": "desc",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "itemsType": "object",
                  "type": "array",
                  "name": "versionChangeDescs",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "maxLength": 300,
                  "type": "string",
                  "name": "abstracts",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infoaccess-0000002328805233",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalSettingPath",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infoaccess-0000002328805233",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalType",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-managepersionalinfo-0000002328924985",
                      "type": "object",
                      "name": "infoAccess",
                      "in": "body",
                      "required": false
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infomodify-0000002295005354",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalSettingPath",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infomodify-0000002295005354",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalType",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-managepersionalinfo-0000002328924985",
                      "type": "object",
                      "name": "infoModify",
                      "in": "body",
                      "required": false
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infodelete-0000002294845690",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalSettingPath",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infodelete-0000002294845690",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalType",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-managepersionalinfo-0000002328924985",
                      "type": "object",
                      "name": "infoDelete",
                      "in": "body",
                      "required": false
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infocancel-0000002328924989",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalSettingPath",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-infocancel-0000002328924989",
                          "maxLength": 200,
                          "type": "string",
                          "name": "serviceType",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-managepersionalinfo-0000002328924985",
                      "type": "object",
                      "name": "infoCancel",
                      "in": "body",
                      "required": false
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-servicestop-0000002328805237",
                          "maxLength": 500,
                          "type": "string",
                          "name": "personalSettingPath",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-managepersionalinfo-0000002328924985",
                      "type": "object",
                      "name": "serviceStop",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "type": "object",
                  "name": "managePersonalInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custominfo-0000002295005358",
                      "maxLength": 100,
                      "type": "string",
                      "name": "title",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custominfo-0000002295005358",
                      "maxLength": 5000,
                      "type": "string",
                      "name": "customInfoDesc",
                      "in": "body",
                      "required": false
                    },
                    {
                      "itemsProperties": [
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-customchapter-0000002294845694",
                          "maxLength": 100,
                          "type": "string",
                          "name": "title",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-customchapter-0000002294845694",
                          "maxLength": 3000,
                          "type": "string",
                          "name": "customInfoDesc",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-custominfo-0000002295005358",
                      "maxItems": 5,
                      "itemsType": "object",
                      "type": "array",
                      "name": "customInfos",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "type": "object",
                  "name": "customInfo",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "maxLength": 8192,
                  "type": "string",
                  "name": "extField",
                  "in": "body",
                  "required": false
                },
                {
                  "properties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extfieldcustominfo-0000002328924997",
                      "maxLength": 512,
                      "type": "string",
                      "name": "childPrivacyTitle",
                      "in": "body",
                      "required": false
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extfieldcustominfo-0000002328924997",
                      "maxLength": 5000,
                      "type": "string",
                      "name": "childPrivacyCustomInfoDesc",
                      "in": "body",
                      "required": false
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-extendinfo-0000002328924981",
                  "type": "object",
                  "name": "extFieldCustomInfo",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-agreementinfo-privacy-0000002294845630",
              "type": "object",
              "name": "extInfo",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169#section11431111271820",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "agreementInfos",
          "in": "body",
          "required": false,
          "description": "隐私政策协议列表。 数组长度不超过100。"
        }
      ],
      "body": "id,defaultLang,agreementInfos",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-update-privacy-agreement-0000002328805169",
      "officialSlug": "agc-help-publish-api-update-privacy-agreement-0000002328805169",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/privacy-agreement-update",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing privacy-agreement-update --invoke --body body.json",
        "show": "agc publishing privacy-agreement-update --pretty"
      }
    },
    {
      "documentation": {
        "title": "申请年龄分级",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:45.706Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-age-rating --docs --pretty"
      },
      "id": "app-age-rating",
      "familyId": "publishing",
      "name": "申请年龄分级",
      "description": "此接口用于申请或修改HarmonyOS应用/元服务的年龄分级。",
      "method": "POST",
      "path": "/api/publish/v2/app-age-rating",
      "command": "agc publishing app-age-rating",
      "requiredParams": [
        "appId",
        "feedback"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID。 获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section23242264517",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section23242264517",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "query",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网 3：分阶段 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section2357705386",
          "maxLength": 8192,
          "type": "string",
          "name": "feedback",
          "in": "body",
          "required": true,
          "description": "问卷内容。 说明 具体请参见feedback获取方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section2357705386",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5"
          ],
          "type": "integer",
          "name": "expectedRating",
          "in": "body",
          "required": false,
          "description": "预期年龄分级。 取值范围： 1：巴西适用所有年龄段，中国区及其他区域年满3周岁 2：中国区年满8周岁，巴西年满10周岁，其他区域年满7周岁 3：巴西年满14周岁，中国区及其他区域年满12周岁 4：年满16周岁 5：年满18周岁"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section2357705386",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "ratingRule",
          "in": "body",
          "required": false,
          "description": "年龄分级生效规则。 取值范围： 0：以问卷内容评级结果为准。 1：当预期年龄分级expectedRating设置的值大于问卷评级结果中的年龄值时，以预期年龄分级为准，否则以问卷内容评级结果为准。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262#section2357705386",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "childFlag",
          "in": "body",
          "required": false,
          "description": "应用是否仅面向儿童。 取值范围： 0：应用不仅面向儿童 1：应用仅面向儿童"
        }
      ],
      "body": "feedback,expectedRating,ratingRule,childFlag",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-post-app-age-rating-0000002236201262",
      "officialSlug": "agc-help-publish-api-post-app-age-rating-0000002236201262",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-age-rating",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-age-rating --invoke --body body.json",
        "show": "agc publishing app-age-rating --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交发布",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:57:47.737Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-submit-v3 --docs --pretty"
      },
      "rules": [
        {
          "id": "phased-release-description",
          "kind": "required_if",
          "field": "body.phasedReleaseDescription",
          "when": {
            "field": "body.releasePhase",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "message": "分阶段发布时必须提供 phasedReleaseDescription。",
          "suggestion": "添加 --field phasedReleaseDescription=分阶段发布说明。"
        }
      ],
      "id": "app-submit-v3",
      "familyId": "publishing",
      "name": "提交发布",
      "description": "此接口用于提交HarmonyOS应用/元服务审核，调用本接口前必须保证应用信息已补充完整，应用软件包已经上传。",
      "method": "POST",
      "path": "/api/publish/v3/app-submit",
      "command": "agc publishing app-submit-v3",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section292816392364",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "maxLength": 64,
          "type": "string",
          "name": "releaseTime",
          "in": "body",
          "required": false,
          "description": "指定发布时间。 UTC时间格式：yyyy-MM-ddTHH:mm:ssZZ，例如“2015-01-01T01:01:01+0800”。 可以不用填写，则表示立刻发布。 说明 如果在首次提交发布时已设置过releaseTime参数，撤销审核后再次提交发布时，需要将releaseTime参数重新设置为过去的时间，才能实现立即发布。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "maxLength": 300,
          "type": "string",
          "name": "remark",
          "in": "body",
          "required": false,
          "description": "提审发布备注。 可以为空，如果填写则长度范围为10-300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "body",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "enum": [
            "0",
            "3"
          ],
          "type": "integer",
          "name": "releasePhase",
          "in": "body",
          "required": false,
          "description": "分阶段发布标识。 取值范围： 0：全网发布 3：分阶段发布（7天内自动更新） 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585#section11431111271820",
          "maxLength": 500,
          "type": "string",
          "name": "phasedReleaseDescription",
          "in": "body",
          "required": false,
          "description": "分阶段发布说明。 说明 releasePhase取值为3（分阶段发布）时，此参数必填。"
        }
      ],
      "body": "releaseTime,remark,releaseType,releasePhase,phasedReleaseDescription",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-submit-0000002271160585",
      "officialSlug": "agc-help-publish-api-app-submit-0000002271160585",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-submit-v3",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-submit-v3 --invoke --body body.json",
        "show": "agc publishing app-submit-v3 --pretty"
      }
    },
    {
      "documentation": {
        "title": "撤销审核",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-on-shelf-cancel-0000002271000637",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T04:58:00.948Z",
        "status": "browser-read",
        "readCommand": "agc publishing on-shelf-cancel --docs --pretty"
      },
      "id": "on-shelf-cancel",
      "familyId": "publishing",
      "name": "撤销审核",
      "description": "此接口用于HarmonyOS应用/元服务的撤销审核，当应用发布方式为“全网”时，只有处于“审核中”、“预审中”、“升级审核中”、“待上架/预约上架”、“申请下架”状态的应用可以撤销审核；当应用发布方式为“HarmonyOS测试发布方式（API>=10）”时，只有处于“正在审核”状态的应用可以撤销审核。",
      "method": "PUT",
      "path": "/api/publish/v3/version/on-shelf/cancel",
      "command": "agc publishing on-shelf-cancel",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-on-shelf-cancel-0000002271000637#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-on-shelf-cancel-0000002271000637#section13576204051611",
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "版本ID。"
        }
      ],
      "body": "versionId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-on-shelf-cancel-0000002271000637",
      "officialSlug": "agc-help-publish-api-on-shelf-cancel-0000002271000637",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/on-shelf-cancel",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing on-shelf-cancel --invoke --body body.json",
        "show": "agc publishing on-shelf-cancel --pretty"
      }
    },
    {
      "documentation": {
        "title": "下架应用",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-shelf-off-0000002236041450",
        "updatedAt": "2026-07-31 09:08",
        "checkedAt": "2026-10-07T04:58:02.750Z",
        "status": "browser-read",
        "readCommand": "agc publishing app-shelf-off --docs --pretty"
      },
      "id": "app-shelf-off",
      "familyId": "publishing",
      "name": "下架应用",
      "description": "此接口用于对已经上架的应用进行下架处理。",
      "method": "POST",
      "path": "/api/publish/v2/app-shelf-off",
      "command": "agc publishing app-shelf-off",
      "requiredParams": [
        "appId",
        "reason"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-shelf-off-0000002236041450#section198511327144414",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要下架的应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-shelf-off-0000002236041450#section198511327144414",
          "maxLength": 1024,
          "type": "string",
          "name": "reason",
          "in": "query",
          "required": true,
          "description": "下架的原因描述。 说明 中文字符需要进行URL编码后再传入。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-shelf-off-0000002236041450#section198511327144414",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "下架的方式。 取值范围： 1：全网下架。 默认值：1"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-app-shelf-off-0000002236041450",
      "officialSlug": "agc-help-publish-api-app-shelf-off-0000002236041450",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/publishing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/publishing/endpoints/app-shelf-off",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc publishing app-shelf-off --invoke --body body.json",
        "show": "agc publishing app-shelf-off --pretty"
      }
    },
    {
      "dynamicBody": {
        "properties": [
          {
            "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098#section15344132481910",
            "maxLength": 64,
            "type": "string",
            "name": "partObjectId",
            "in": "body",
            "required": true,
            "description": "分段对象ID，必须与获取分片上传地址时返回的partObjectId一致。"
          },
          {
            "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098#section15344132481910",
            "maxLength": 64,
            "type": "string",
            "name": "etag",
            "in": "body",
            "required": true,
            "description": "上传分片实体时返回的分片的Etag值。"
          }
        ],
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098#section15344132481910",
        "type": "object",
        "name": "",
        "in": "",
        "required": true
      },
      "dynamicBodyKeyPattern": "^additionalProp[1-9][0-9]*$",
      "documentation": {
        "title": "合并分片",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:52:57.559Z",
        "status": "browser-read",
        "readCommand": "agc upload obbfile-compose --docs --pretty"
      },
      "id": "obbfile-compose",
      "familyId": "upload",
      "name": "合并分片",
      "description": "此接口用于将已经上传成功后的分片合并为一个文件。",
      "method": "POST",
      "path": "/api/publish/v2/upload/multipart/compose",
      "command": "agc upload obbfile-compose",
      "requiredParams": [
        "objectId",
        "nspUploadId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098#section0204135491218",
          "type": "string",
          "name": "objectId",
          "in": "query",
          "required": true,
          "description": "对象ID，参见分片上传初始化时生成的objectId参数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098#section0204135491218",
          "type": "string",
          "name": "nspUploadId",
          "in": "query",
          "required": true,
          "description": "上传ID，参见分片上传初始化时生成的nspUploadId参数。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-compose-0000001111845098",
      "officialSlug": "agcapi-obbfile-compose-0000001111845098",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/obbfile-compose",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload obbfile-compose --invoke --body body.json",
        "show": "agc upload obbfile-compose --pretty"
      }
    },
    {
      "documentation": {
        "title": "分片上传初始化",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:52:59.350Z",
        "status": "browser-read",
        "readCommand": "agc upload obbfile-init --docs --pretty"
      },
      "rules": [
        {
          "id": "obb-subtype-required",
          "kind": "required_if",
          "field": "query.obbType",
          "when": {
            "field": "query.fileType",
            "equals": "2",
            "default": "2"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "message": "OBB 文件必须提供 obbType；省略 fileType 时默认为 OBB。",
          "suggestion": "OBB 添加 --query obbType=1 或 2；HarmonyOS APP 明确添加 --query fileType=1。"
        },
        {
          "id": "non-obb-subtype-forbidden-1",
          "kind": "forbidden_if",
          "field": "query.obbType",
          "when": {
            "field": "query.fileType",
            "equals": "1"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "message": "非 OBB 文件不能传入 obbType。",
          "suggestion": "移除 --query obbType；保留正确的 fileType。"
        },
        {
          "id": "non-obb-subtype-forbidden-3",
          "kind": "forbidden_if",
          "field": "query.obbType",
          "when": {
            "field": "query.fileType",
            "equals": "3"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "message": "非 OBB 文件不能传入 obbType。",
          "suggestion": "移除 --query obbType；保留正确的 fileType。"
        }
      ],
      "id": "obbfile-init",
      "familyId": "upload",
      "name": "分片上传初始化",
      "description": "此接口用于分片信息初始化，在获取分片文件上传地址前调用。",
      "method": "POST",
      "path": "/api/publish/v2/upload/multipart/init",
      "command": "agc upload obbfile-init",
      "requiredParams": [
        "appId",
        "fileName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "type": "string",
          "name": "fileName",
          "in": "query",
          "required": true,
          "description": "原始文件名，需要带文件后缀。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "type": "string",
          "name": "contentType",
          "in": "query",
          "required": false,
          "description": "对象内容的类型，为http标准的content-type，例如image/jpeg。 如果不传，默认值：“application/octet-stream”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "enum": [
            "1",
            "2",
            "3"
          ],
          "type": "integer",
          "name": "fileType",
          "in": "query",
          "required": false,
          "description": "文件类型。 取值范围： 1：APP文件（HarmonyOS应用/元服务软件包）。 2：OBB（Android APK扩展文件）。 3：APK（Android软件包，含APK、AAB）。 默认值：2"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "obbType",
          "in": "query",
          "required": false,
          "description": "OBB文件类型。 取值范围： 1：主扩展文件 2：补丁扩展文件 上传OBB文件时必填，非OBB文件不能传入此参数。上传OBB文件前，应用最新版本必须已经关联了APK包。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "应用发布方式。 取值范围： 1：全网发布。 6：HarmonyOS测试发布（API>=10）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055#section12533340135616",
          "type": "integer",
          "name": "chineseMainlandFlag",
          "in": "query",
          "required": false,
          "description": "软件包是否分发中国大陆（不包括港澳台）。 取值范围： 0：不分发中国大陆 1：分发中国大陆 说明 当fileType为1且开发者注册地非中国大陆时，必须设置chineseMainlandFlag参数。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-init-0000001158365055",
      "officialSlug": "agcapi-obbfile-init-0000001158365055",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/obbfile-init",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload obbfile-init --invoke --body body.json",
        "show": "agc upload obbfile-init --pretty"
      }
    },
    {
      "documentation": {
        "title": "上传分片实体",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-upload-0000001158245067",
        "updatedAt": "2025-12-02 17:24",
        "checkedAt": "2026-10-07T02:53:00.764Z",
        "status": "browser-read",
        "readCommand": "agc upload obbfile-upload --docs --pretty"
      },
      "id": "obbfile-upload",
      "familyId": "upload",
      "name": "上传分片实体",
      "description": "将单个分片上传到获取分片上传地址接口返回的上传地址。",
      "method": "PUT",
      "path": "{uploadUrl}",
      "command": "agc upload obbfile-upload",
      "requiredParams": [
        "uploadUrl"
      ],
      "parameters": [
        {
          "name": "uploadUrl",
          "in": "path",
          "required": true,
          "description": "uploadUrl parameter"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-upload-0000001158245067",
      "officialSlug": "agcapi-obbfile-upload-0000001158245067",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/obbfile-upload",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload obbfile-upload --invoke --body body.json",
        "show": "agc upload obbfile-upload --pretty"
      }
    },
    {
      "dynamicBody": {
        "properties": [
          {
            "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208#section15344132481910",
            "maxLength": 64,
            "type": "string",
            "name": "sha256",
            "in": "body",
            "required": false,
            "description": "分片文件的sha256值。"
          },
          {
            "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208#section15344132481910",
            "type": "integer",
            "format": "int64",
            "name": "length",
            "in": "body",
            "required": true,
            "description": "分片文件大小，单位字节，必须与分片的实际大小一致。单个分片最大限制为100MB。"
          }
        ],
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208#section15344132481910",
        "type": "object",
        "name": "",
        "in": "",
        "required": true
      },
      "dynamicBodyKeyPattern": "^additionalProp[1-9][0-9]*$",
      "documentation": {
        "title": "获取分片上传地址",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:53:02.499Z",
        "status": "browser-read",
        "readCommand": "agc upload obbfile-uploadurl --docs --pretty"
      },
      "id": "obbfile-uploadurl",
      "familyId": "upload",
      "name": "获取分片上传地址",
      "description": "此接口用于获取文件所有分片的上传地址，调用此接口前必须先调用 分片上传初始化 接口完成分片初始化。",
      "method": "POST",
      "path": "/api/publish/v2/upload/multipart/parts",
      "command": "agc upload obbfile-uploadurl",
      "requiredParams": [
        "objectId",
        "nspUploadId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208#section420451011213",
          "type": "string",
          "name": "objectId",
          "in": "query",
          "required": true,
          "description": "对象ID，必须与分片上传初始化时生成的objectId参数一致。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208#section420451011213",
          "type": "string",
          "name": "nspUploadId",
          "in": "query",
          "required": true,
          "description": "上传ID，必须与分片上传初始化时生成的nspUploadId参数一致。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-obbfile-uploadurl-0000001111685208",
      "officialSlug": "agcapi-obbfile-uploadurl-0000001111685208",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/obbfile-uploadurl",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload obbfile-uploadurl --invoke --body body.json",
        "show": "agc upload obbfile-uploadurl --pretty"
      }
    },
    {
      "documentation": {
        "title": "上传文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-file-new-0000001111845090",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:53:04.769Z",
        "status": "browser-read",
        "readCommand": "agc upload upload-file-new --docs --pretty"
      },
      "id": "upload-file-new",
      "familyId": "upload",
      "name": "上传文件",
      "description": "将文件上传到获取文件上传地址接口返回的上传地址。",
      "method": "PUT",
      "path": "{uploadUrl}",
      "command": "agc upload upload-file-new",
      "requiredParams": [
        "uploadUrl"
      ],
      "parameters": [
        {
          "name": "uploadUrl",
          "in": "path",
          "required": true,
          "description": "uploadUrl parameter"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-file-new-0000001111845090",
      "officialSlug": "agcapi-upload-file-new-0000001111845090",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/upload-file-new",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload upload-file-new --invoke --body body.json",
        "show": "agc upload upload-file-new --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取文件上传地址",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200",
        "updatedAt": "2026-05-26 15:34",
        "checkedAt": "2026-10-07T02:53:06.315Z",
        "status": "browser-read",
        "readCommand": "agc upload upload-url-new --docs --pretty"
      },
      "id": "upload-url-new",
      "familyId": "upload",
      "name": "获取文件上传地址",
      "description": "上传文件至AppGallery Connect前需要先调用此接口获取上传地址，包括图片、视频、PDF等文件。",
      "method": "GET",
      "path": "/api/publish/v2/upload-url/for-obs",
      "command": "agc upload upload-url-new",
      "requiredParams": [
        "appId",
        "fileName",
        "contentLength"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "maxLength": 256,
          "type": "string",
          "name": "fileName",
          "in": "query",
          "required": true,
          "description": "原始文件名，需包含文件后缀。主要用于在生成上传地址时获取原始文件后缀。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "maxLength": 64,
          "type": "string",
          "name": "sha256",
          "in": "query",
          "required": false,
          "description": "文件内容的SHA256哈希值，如果传入此参数，文件在上传到文件服务器后会执行完整性校验。如果不传则不做校验。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "type": "integer",
          "name": "contentLength",
          "in": "query",
          "required": true,
          "description": "文件内容的大小，单位：字节。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "enum": [
            "1"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "query",
          "required": false,
          "description": "发布方式。 取值范围： 1：全网发布。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200#section798917276209",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "chineseMainlandFlag",
          "in": "query",
          "required": false,
          "description": "软件包是否分发中国大陆（不包括港澳台）。 取值范围： 0：不分发中国大陆 1：分发中国大陆 说明 当开发者注册地非中国大陆时，必须设置chineseMainlandFlag参数。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-upload-url-new-0000001111685200",
      "officialSlug": "agcapi-upload-url-new-0000001111685200",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/upload/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/upload/endpoints/upload-url-new",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc upload upload-url-new --invoke",
        "show": "agc upload upload-url-new --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量添加设备",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-device-0000002236041498",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:26.284Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-add-device --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-device-0000002236041498#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-add-device",
      "familyId": "provisioning",
      "name": "批量添加设备",
      "description": "此接口用于批量添加调试/测试设备。",
      "method": "POST",
      "path": "/api/publish/v2/device",
      "command": "agc provisioning provision-api-add-device",
      "requiredParams": [
        "deviceList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-device-0000002236041498#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-data-adddeviceinfo-0000002236201314",
              "maxLength": 100,
              "type": "string",
              "name": "deviceName",
              "in": "body",
              "required": true,
              "description": "设备名称。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-data-adddeviceinfo-0000002236201314",
              "maxLength": 64,
              "type": "string",
              "name": "udid",
              "in": "body",
              "required": true,
              "description": "设备UDID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-data-adddeviceinfo-0000002236201314",
              "enum": [
                "1",
                "2",
                "4",
                "5",
                "8",
                "19"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true,
              "description": "设备类型。 取值范围： 1：运动手表 2：智能手表 4：手机 5：平板 8：智慧屏 19：PC/2in1"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-device-0000002236041498#section16551174881019",
          "maxItems": 1000,
          "itemsType": "object",
          "type": "array",
          "name": "deviceList",
          "in": "body",
          "required": true,
          "description": "添加调试/测试设备的信息列表。 数组长度不超过1000。 说明 支持重新添加在过去一年内被删除的设备，只需输入新的deviceName，并输入原始的udid即可。"
        }
      ],
      "body": "deviceList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-device-0000002236041498",
      "officialSlug": "agc-help-provision-api-add-device-0000002236041498",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-add-device",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-add-device --invoke --body body.json",
        "show": "agc provisioning provision-api-add-device --pretty"
      }
    },
    {
      "documentation": {
        "title": "新增证书指纹",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-fingerprints-0000002431201480",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:27.746Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-add-fingerprints --docs --pretty"
      },
      "id": "provision-api-add-fingerprints",
      "familyId": "provisioning",
      "name": "新增证书指纹",
      "description": "此接口用于新增证书指纹。",
      "method": "POST",
      "path": "/api/provision/v1/fingerprints",
      "command": "agc provisioning provision-api-add-fingerprints",
      "requiredParams": [
        "appId",
        "fingerprintList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-fingerprints-0000002431201480#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 128,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-fingerprints-0000002431201480#section16551174881019",
          "minItems": 1,
          "maxItems": 50,
          "itemsType": "string",
          "type": "array",
          "name": "fingerprintList",
          "in": "body",
          "required": true,
          "description": "证书指纹列表。 最大长度50个。"
        }
      ],
      "body": "fingerprintList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-add-fingerprints-0000002431201480",
      "officialSlug": "agc-help-provision-api-add-fingerprints-0000002431201480",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-add-fingerprints",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-add-fingerprints --invoke --body body.json",
        "show": "agc provisioning provision-api-add-fingerprints --pretty"
      }
    },
    {
      "documentation": {
        "title": "申请证书",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:29.169Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-apply-cent --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-apply-cent",
      "familyId": "provisioning",
      "name": "申请证书",
      "description": "此接口用于申请二进制证书、In-house发布证书、调试证书或发布证书。",
      "method": "POST",
      "path": "/api/publish/v3/cert",
      "command": "agc provisioning provision-api-apply-cent",
      "requiredParams": [
        "csr",
        "certName",
        "certType"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302#section16551174881019",
          "maxLength": 2048,
          "type": "string",
          "name": "csr",
          "in": "body",
          "required": true,
          "description": "证书的CSR。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302#section16551174881019",
          "maxLength": 100,
          "type": "string",
          "name": "certName",
          "in": "body",
          "required": true,
          "description": "证书名称。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302#section16551174881019",
          "enum": [
            "1",
            "2",
            "3",
            "4"
          ],
          "type": "integer",
          "name": "certType",
          "in": "body",
          "required": true,
          "description": "证书类型。 取值范围： 1：调试 2：发布 3：In-house发布 4：二进制证书（用于二进制程序签名） 说明 二进制证书目前为受限开放，如需体验可通过在线工单系统与我们联系。 工单“问题分类”请选择“AppGallery Connect > 证书、APP ID和Profile > 证书”，并在“问题描述”中提供如下信息： 企业名称与资质 应用名称及APP ID 应用的业务场景与用途 申请的证书类型：二进制证书"
        }
      ],
      "body": "csr,certName,certType",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-cent-0000002236201302",
      "officialSlug": "agc-help-provision-api-apply-cent-0000002236201302",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-apply-cent",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-apply-cent --invoke --body body.json",
        "show": "agc provisioning provision-api-apply-cent --pretty"
      }
    },
    {
      "documentation": {
        "title": "申请Profile",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:31.554Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-apply-provision --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-apply-provision",
      "familyId": "provisioning",
      "name": "申请Profile",
      "description": "此接口用于申请指定设备发布Profile、In-house发布Profile、调试Profile或发布Profile。",
      "method": "POST",
      "path": "/api/publish/v3/provision",
      "command": "agc provisioning provision-api-apply-provision",
      "requiredParams": [
        "provisionName",
        "provisionType",
        "certId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "maxLength": 256,
          "type": "string",
          "name": "provisionName",
          "in": "body",
          "required": true,
          "description": "Profile名称。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "enum": [
            "1",
            "2",
            "3",
            "6"
          ],
          "type": "integer",
          "name": "provisionType",
          "in": "body",
          "required": true,
          "description": "Profile类型。 取值范围： 1：调试 2：发布 3：In-house发布 6：指定设备发布"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "maxLength": 32,
          "type": "string",
          "name": "certId",
          "in": "body",
          "required": true,
          "description": "证书ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "maxLength": 20,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "应用ID。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "maxItems": 4000,
          "itemsType": "string",
          "type": "array",
          "name": "deviceIdList",
          "in": "body",
          "required": false,
          "description": "调试/测试设备ID列表。 可通过查询设备列表接口获取。 数组长度不超过4000。"
        },
        {
          "itemsMaxLength": 256,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689#section16551174881019",
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "aclPermissionList",
          "in": "body",
          "required": false,
          "description": "受限ACL权限列表。 数组长度不超过1000。 说明 仅支持受限ACL权限已审核通过的应用使用，申请方式可参见申请受限ACL权限。"
        }
      ],
      "body": "provisionName,provisionType,certId,appId,deviceIdList,aclPermissionList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-apply-provision-0000002271000689",
      "officialSlug": "agc-help-provision-api-apply-provision-0000002271000689",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-apply-provision",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-apply-provision --invoke --body body.json",
        "show": "agc provisioning provision-api-apply-provision --pretty"
      }
    },
    {
      "documentation": {
        "title": "申请受限ACL权限",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-applyacl-0000002502198721",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:33.033Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-applyacl --docs --pretty"
      },
      "id": "provision-api-applyacl",
      "familyId": "provisioning",
      "name": "申请受限ACL权限",
      "description": "此接口用于申请受限ACL权限。",
      "method": "POST",
      "path": "/api/provision/v1/user/permission/apply",
      "command": "agc provisioning provision-api-applyacl",
      "requiredParams": [
        "appId",
        "aclPermissionList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-applyacl-0000002502198721#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-applyacl-0000002502198721#section16551174881019",
          "type": "string",
          "name": "attachment",
          "in": "body",
          "required": false,
          "description": "附件的objectId。 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-data-applypermissioninfo-0000002469038756",
              "maxLength": 256,
              "type": "string",
              "name": "name",
              "in": "body",
              "required": true,
              "description": "受限ACL权限名称。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-provision-api-data-applypermissioninfo-0000002469038756",
              "maxLength": 256,
              "type": "string",
              "name": "reason",
              "in": "body",
              "required": true,
              "description": "受限ACL权限的申请理由。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-applyacl-0000002502198721#section16551174881019",
          "itemsType": "object",
          "type": "array",
          "name": "aclPermissionList",
          "in": "body",
          "required": true,
          "description": "受限ACL权限申请列表。"
        }
      ],
      "body": "attachment,aclPermissionList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-applyacl-0000002502198721",
      "officialSlug": "agc-help-provision-api-applyacl-0000002502198721",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-applyacl",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-applyacl --invoke --body body.json",
        "show": "agc provisioning provision-api-applyacl --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除证书",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-cent-0000002271000685",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:34.515Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-delete-cent --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-cent-0000002271000685#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-delete-cent",
      "familyId": "provisioning",
      "name": "删除证书",
      "description": "此接口用于删除创建的证书。",
      "method": "POST",
      "path": "/api/publish/v2/cert/delete",
      "command": "agc provisioning provision-api-delete-cent",
      "requiredParams": [
        "certIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-cent-0000002271000685#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-cent-0000002271000685#section16551174881019",
          "minItems": 1,
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "certIds",
          "in": "body",
          "required": true,
          "description": "证书ID列表。 数组长度为1~100。"
        }
      ],
      "body": "certIds",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-cent-0000002271000685",
      "officialSlug": "agc-help-provision-api-delete-cent-0000002271000685",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-delete-cent",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-delete-cent --invoke --body body.json",
        "show": "agc provisioning provision-api-delete-cent --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除设备",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-device-0000002271160633",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:36.151Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-delete-device --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-device-0000002271160633#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-delete-device",
      "familyId": "provisioning",
      "name": "删除设备",
      "description": "此接口用于删除已添加的设备。",
      "method": "POST",
      "path": "/api/publish/v2/device/delete",
      "command": "agc provisioning provision-api-delete-device",
      "requiredParams": [
        "deviceIdList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-device-0000002271160633#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-device-0000002271160633#section16551174881019",
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "deviceIdList",
          "in": "body",
          "required": true,
          "description": "待删除的设备ID列表。 数组长度不超过1000。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-device-0000002271160633",
      "officialSlug": "agc-help-provision-api-delete-device-0000002271160633",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-delete-device",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-delete-device --invoke --body body.json",
        "show": "agc provisioning provision-api-delete-device --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除证书指纹",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-fingerprints-0000002464839925",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:38.114Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-delete-fingerprints --docs --pretty"
      },
      "id": "provision-api-delete-fingerprints",
      "familyId": "provisioning",
      "name": "删除证书指纹",
      "description": "此接口用于删除证书指纹。",
      "method": "DELETE",
      "path": "/api/provision/v1/fingerprints",
      "command": "agc provisioning provision-api-delete-fingerprints",
      "requiredParams": [
        "appId",
        "fingerprintList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-fingerprints-0000002464839925#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 128,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-fingerprints-0000002464839925#section16551174881019",
          "minItems": 1,
          "maxItems": 50,
          "itemsType": "string",
          "type": "array",
          "name": "fingerprintList",
          "in": "body",
          "required": true,
          "description": "证书指纹列表。 最大长度50个。"
        }
      ],
      "body": "fingerprintList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-fingerprints-0000002464839925",
      "officialSlug": "agc-help-provision-api-delete-fingerprints-0000002464839925",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-delete-fingerprints",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-delete-fingerprints --invoke",
        "show": "agc provisioning provision-api-delete-fingerprints --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除Profile",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-provision-0000002236201310",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:39.600Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-delete-provision --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-provision-0000002236201310#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-delete-provision",
      "familyId": "provisioning",
      "name": "删除Profile",
      "description": "此接口用于删除申请的Profile。",
      "method": "DELETE",
      "path": "/api/publish/v2/provision",
      "command": "agc provisioning provision-api-delete-provision",
      "requiredParams": [
        "id"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-provision-0000002236201310#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-provision-0000002236201310#section16551174881019",
          "maxLength": 32,
          "type": "string",
          "name": "id",
          "in": "query",
          "required": true,
          "description": "待删除Profile的ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-delete-provision-0000002236201310",
      "officialSlug": "agc-help-provision-api-delete-provision-0000002236201310",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-delete-provision",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-delete-provision --invoke",
        "show": "agc provisioning provision-api-delete-provision --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询可申请的ACL权限列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:53:41.036Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-eligible-acl --docs --pretty"
      },
      "id": "provision-api-eligible-acl",
      "familyId": "provisioning",
      "name": "查询可申请的ACL权限列表",
      "description": "此接口用于查询指定APP ID下所有可申请的ACL权限列表。",
      "method": "POST",
      "path": "/api/provision/v1/user/permission/apply/list",
      "command": "agc provisioning provision-api-eligible-acl",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044#section16551174881019",
          "maxLength": 10,
          "enum": [
            "zh",
            "en",
            "ru"
          ],
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": false,
          "description": "ACL权限的语言类型。 取值范围： zh：中文 en：英文 ru：俄语 默认值：zh"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044#section16551174881019",
          "minimum": 1,
          "type": "integer",
          "name": "start",
          "in": "body",
          "required": false,
          "description": "起始页。 最小值：1，表示从第1页开始查询。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044#section16551174881019",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页返回条数。 取值范围：[1,1000] 默认值：10"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-eligible-acl-0000002554975044",
      "officialSlug": "agc-help-provision-api-eligible-acl-0000002554975044",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-eligible-acl",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-eligible-acl --invoke --body body.json",
        "show": "agc provisioning provision-api-eligible-acl --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询证书指纹",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-get-fingerprints-0000002431361316",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:06.350Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-get-fingerprints --docs --pretty"
      },
      "id": "provision-api-get-fingerprints",
      "familyId": "provisioning",
      "name": "查询证书指纹",
      "description": "此接口用于查询已创建的证书指纹。",
      "method": "GET",
      "path": "/api/provision/v1/fingerprints",
      "command": "agc provisioning provision-api-get-fingerprints",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-get-fingerprints-0000002431361316#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-get-fingerprints-0000002431361316",
      "officialSlug": "agc-help-provision-api-get-fingerprints-0000002431361316",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-get-fingerprints",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-get-fingerprints --invoke",
        "show": "agc provisioning provision-api-get-fingerprints --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询已申请的受限ACL权限",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getacl-0000002465770113",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:07.685Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-getacl --docs --pretty"
      },
      "id": "provision-api-getacl",
      "familyId": "provisioning",
      "name": "查询已申请的受限ACL权限",
      "description": "此接口用于查询申请的受限ACL权限信息。",
      "method": "GET",
      "path": "/api/provision/v1/user/permission",
      "command": "agc provisioning provision-api-getacl",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getacl-0000002465770113#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getacl-0000002465770113",
      "officialSlug": "agc-help-provision-api-getacl-0000002465770113",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-getacl",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-getacl --invoke",
        "show": "agc provisioning provision-api-getacl --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询受限ACL权限的申请状态",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getaclapplystatus-0000002469246150",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:09.046Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-getaclapplystatus --docs --pretty"
      },
      "id": "provision-api-getaclapplystatus",
      "familyId": "provisioning",
      "name": "查询受限ACL权限的申请状态",
      "description": "此接口用于查询受限ACL权限的申请状态，包含“申请中”和“审核通过”。",
      "method": "GET",
      "path": "/api/provision/v1/user/permission/apply/status",
      "command": "agc provisioning provision-api-getaclapplystatus",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getaclapplystatus-0000002469246150#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-getaclapplystatus-0000002469246150",
      "officialSlug": "agc-help-provision-api-getaclapplystatus-0000002469246150",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-getaclapplystatus",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-getaclapplystatus --invoke",
        "show": "agc provisioning provision-api-getaclapplystatus --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询证书",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:10.537Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-query-cent --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-query-cent",
      "familyId": "provisioning",
      "name": "查询证书",
      "description": "此接口用于查询创建的证书。",
      "method": "POST",
      "path": "/api/publish/v3/cert/list",
      "command": "agc provisioning provision-api-query-cent",
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629#section16551174881019",
          "enum": [
            "1",
            "2",
            "3",
            "4"
          ],
          "type": "integer",
          "name": "certType",
          "in": "body",
          "required": false,
          "description": "证书类型。 取值范围： 1：调试 2：发布 3：In-house发布 4：二进制证书（用于二进制程序签名）"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629#section16551174881019",
          "minItems": 1,
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "certIds",
          "in": "body",
          "required": false,
          "description": "证书ID列表。 数组长度为1~100。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-cent-0000002271160629",
      "officialSlug": "agc-help-provision-api-query-cent-0000002271160629",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-query-cent",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-query-cent --invoke --body body.json",
        "show": "agc provisioning provision-api-query-cent --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询设备列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:12.058Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-query-device --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-query-device",
      "familyId": "provisioning",
      "name": "查询设备列表",
      "description": "此接口用于查询当前设备的信息。",
      "method": "GET",
      "path": "/api/publish/v2/device/list",
      "command": "agc provisioning provision-api-query-device",
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section16551174881019",
          "maxLength": 256,
          "type": "string",
          "name": "deviceName",
          "in": "query",
          "required": false,
          "description": "设备名称。 支持模糊查询。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section16551174881019",
          "minimum": 1,
          "type": "integer",
          "name": "fromRecCount",
          "in": "query",
          "required": false,
          "description": "起始页数。 取值范围：最小为1 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section16551174881019",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "maxReqCount",
          "in": "query",
          "required": false,
          "description": "每页返回条数。 取值范围：[1,100] 默认值：20"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306#section16551174881019",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "order",
          "in": "query",
          "required": false,
          "description": "返回的结果排序方式。 取值范围： 1：创建时间降序 2：设备名称升序"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-device-0000002236201306",
      "officialSlug": "agc-help-provision-api-query-device-0000002236201306",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-query-device",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-query-device --invoke",
        "show": "agc provisioning provision-api-query-device --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询Profile列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:13.513Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-query-provision --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-query-provision",
      "familyId": "provisioning",
      "name": "查询Profile列表",
      "description": "此接口用于查询申请的Profile。",
      "method": "GET",
      "path": "/api/publish/v3/provision/list",
      "command": "agc provisioning provision-api-query-provision",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section1323714041015",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section1323714041015",
          "type": "string",
          "name": "provisionId",
          "in": "header",
          "required": false,
          "description": "Profile的ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section16551174881019",
          "type": "integer",
          "name": "fromRecCount",
          "in": "query",
          "required": false,
          "description": "起始页数。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506#section16551174881019",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "maxReqCount",
          "in": "query",
          "required": false,
          "description": "每页返回条数。 取值范围：[1,100] 默认值：10"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-query-provision-0000002236041506",
      "officialSlug": "agc-help-provision-api-query-provision-0000002236041506",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-query-provision",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-query-provision --invoke",
        "show": "agc provisioning provision-api-query-provision --pretty"
      }
    },
    {
      "documentation": {
        "title": "修改Profile绑定的设备",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:14.683Z",
        "status": "browser-read",
        "readCommand": "agc provisioning provision-api-update-provision --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766#section1323714041015",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "provision-api-update-provision",
      "familyId": "provisioning",
      "name": "修改Profile绑定的设备",
      "description": "此接口用于修改调试Profile绑定的调试设备，或者修改指定设备发布Profile绑定的测试设备。",
      "method": "PUT",
      "path": "/api/publish/v3/provision",
      "command": "agc provisioning provision-api-update-provision",
      "requiredParams": [
        "provisionId",
        "deviceIdList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766#section1323714041015",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766#section16551174881019",
          "maxLength": 32,
          "type": "string",
          "name": "provisionId",
          "in": "body",
          "required": true,
          "description": "Profile的ID。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766#section16551174881019",
          "minItems": 1,
          "maxItems": 4000,
          "itemsType": "string",
          "type": "array",
          "name": "deviceIdList",
          "in": "body",
          "required": true,
          "description": "调试/测试设备ID列表。 可通过查询设备列表接口获取。 数组长度不超过4000。"
        }
      ],
      "body": "provisionId,deviceIdList",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-provision-api-update-provision-0000002469198766",
      "officialSlug": "agc-help-provision-api-update-provision-0000002469198766",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/provisioning/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/provisioning/endpoints/provision-api-update-provision",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc provisioning provision-api-update-provision --invoke --body body.json",
        "show": "agc provisioning provision-api-update-provision --pretty"
      }
    },
    {
      "documentation": {
        "title": "下载域名配置文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-download-domain-config-0000002271160653",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:15.982Z",
        "status": "browser-read",
        "readCommand": "agc domains domain-api-download-domain-config --docs --pretty"
      },
      "id": "domain-api-download-domain-config",
      "familyId": "domains",
      "name": "下载域名配置文件",
      "description": "此接口用于以文件流的形式进行直接下载域名配置文件。",
      "method": "GET",
      "path": "/api/dms/domain-manage/v1/app/domain/verify-file",
      "command": "agc domains domain-api-download-domain-config",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-download-domain-config-0000002271160653#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-download-domain-config-0000002271160653",
      "officialSlug": "agc-help-domain-api-download-domain-config-0000002271160653",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/domains/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/domains/endpoints/domain-api-download-domain-config",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc domains domain-api-download-domain-config --invoke",
        "show": "agc domains domain-api-download-domain-config --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询元服务的域名配置信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-0000002271000701",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:17.291Z",
        "status": "browser-read",
        "readCommand": "agc domains domain-api-get-domain --docs --pretty"
      },
      "id": "domain-api-get-domain",
      "familyId": "domains",
      "name": "查询元服务的域名配置信息",
      "description": "此接口用于查询元服务的域名配置信息。",
      "method": "GET",
      "path": "/api/dms/domain-manage/v1/app/domain",
      "command": "agc domains domain-api-get-domain",
      "requiredParams": [
        "appId",
        "category"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-0000002271000701#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-0000002271000701#section886219295206",
          "maxLength": 32,
          "enum": [
            "server",
            "business"
          ],
          "type": "string",
          "name": "category",
          "in": "query",
          "required": true,
          "description": "域名分类。 取值范围： server：服务器域名 business：业务域名"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-0000002271000701",
      "officialSlug": "agc-help-domain-api-get-domain-0000002271000701",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/domains/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/domains/endpoints/domain-api-get-domain",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc domains domain-api-get-domain --invoke",
        "show": "agc domains domain-api-get-domain --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询域名修改次数/配置上限",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-config-0000002236201326",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:18.730Z",
        "status": "browser-read",
        "readCommand": "agc domains domain-api-get-domain-config --docs --pretty"
      },
      "id": "domain-api-get-domain-config",
      "familyId": "domains",
      "name": "查询域名修改次数/配置上限",
      "description": "此接口用于查询域名修改次数、配置上限等信息。",
      "method": "GET",
      "path": "/api/dms/domain-manage/v1/app/domain/config",
      "command": "agc domains domain-api-get-domain-config",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-config-0000002236201326#section886219295206",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "元服务的应用ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-get-domain-config-0000002236201326",
      "officialSlug": "agc-help-domain-api-get-domain-config-0000002236201326",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/domains/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/domains/endpoints/domain-api-get-domain-config",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc domains domain-api-get-domain-config --invoke",
        "show": "agc domains domain-api-get-domain-config --pretty"
      }
    },
    {
      "documentation": {
        "title": "新增/更新元服务的域名配置信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-post-domain-0000002236041522",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:49.804Z",
        "status": "browser-read",
        "readCommand": "agc domains domain-api-post-domain --docs --pretty"
      },
      "id": "domain-api-post-domain",
      "familyId": "domains",
      "name": "新增/更新元服务的域名配置信息",
      "description": "此接口用于新增/更新元服务的域名配置信息。",
      "method": "POST",
      "path": "/api/dms/domain-manage/v1/app/domain",
      "command": "agc domains domain-api-post-domain",
      "requiredParams": [
        "appId",
        "category"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-post-domain-0000002236041522#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-post-domain-0000002236041522#section886219295206",
          "maxLength": 32,
          "enum": [
            "server",
            "business"
          ],
          "type": "string",
          "name": "category",
          "in": "query",
          "required": true,
          "description": "域名分类。 取值范围： server：服务器域名 business：业务域名"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-domain-api-data-domaininfo2-0000002273216801",
              "maxLength": 32,
              "enum": [
                "httpRequest",
                "upload",
                "download",
                "webSocket",
                "webView"
              ],
              "type": "string",
              "name": "type",
              "in": "body",
              "required": true,
              "description": "域名类型。 取值范围： httpRequest：httpRequest服务器域名 upload：upload服务器域名 download：download服务器域名 webSocket：webSocket服务器域名 webView：webView业务域名"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-domain-api-data-domaininfo2-0000002273216801",
              "maxLength": 128,
              "type": "string",
              "name": "value",
              "in": "body",
              "required": true,
              "description": "完整的域名。例如： https://huawei.com:8080"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-post-domain-0000002236041522#section141117691213",
          "maxItems": 3000,
          "itemsType": "object",
          "type": "array",
          "name": "domains",
          "in": "body",
          "required": false,
          "description": "域名全量数据。 集合长度最大3000。"
        }
      ],
      "body": "domains",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-post-domain-0000002236041522",
      "officialSlug": "agc-help-domain-api-post-domain-0000002236041522",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/domains/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/domains/endpoints/domain-api-post-domain",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc domains domain-api-post-domain --invoke --body body.json",
        "show": "agc domains domain-api-post-domain --pretty"
      }
    },
    {
      "documentation": {
        "title": "预检查业务域名配置",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-precheck-0000002295134522",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:50.960Z",
        "status": "browser-read",
        "readCommand": "agc domains domain-api-precheck --docs --pretty"
      },
      "id": "domain-api-precheck",
      "familyId": "domains",
      "name": "预检查业务域名配置",
      "description": "此接口用于对业务域名配置进行预检查。",
      "method": "POST",
      "path": "/api/dms/domain-manage/v1/app/domain/pre-check",
      "command": "agc domains domain-api-precheck",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-precheck-0000002295134522#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-domain-api-data-domaininfo-0000002272582405",
              "maxLength": 32,
              "enum": [
                "webView"
              ],
              "type": "string",
              "name": "type",
              "in": "body",
              "required": true,
              "description": "域名类型。 取值范围： httpRequest：httpRequest服务器域名 upload：upload服务器域名 download：download服务器域名 webSocket：webSocket服务器域名 webView：webView业务域名"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-domain-api-data-domaininfo-0000002272582405",
              "maxLength": 128,
              "type": "string",
              "name": "value",
              "in": "body",
              "required": true,
              "description": "完整的域名。例如： https://huawei.com:8080"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-precheck-0000002295134522#section141117691213",
          "type": "object",
          "name": "domain",
          "in": "body",
          "required": false,
          "description": "业务域名信息。 说明 type必须设置为webView。"
        }
      ],
      "body": "domain",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-domain-api-precheck-0000002295134522",
      "officialSlug": "agc-help-domain-api-precheck-0000002295134522",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/domains/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/domains/endpoints/domain-api-precheck",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc domains domain-api-precheck --invoke --body body.json",
        "show": "agc domains domain-api-precheck --pretty"
      }
    },
    {
      "documentation": {
        "title": "生成邀请码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:54:52.317Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-add-invite-code --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section1929055974115",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-add-invite-code",
      "familyId": "testing",
      "name": "生成邀请码",
      "description": "此接口用于邀请测试生成邀请码。",
      "method": "POST",
      "path": "/api/app-test/v1/invitation-code",
      "command": "agc testing test-api-add-invite-code",
      "requiredParams": [
        "appId",
        "groupId",
        "invitationCodeValidDays",
        "invitationCodeInviteLimit"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section1929055974115",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section1929055974115",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "测试群组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section141117691213",
          "type": "integer",
          "name": "invitationCodeValidDays",
          "in": "body",
          "required": true,
          "description": "邀请码有效期。 单位：天 邀请码仅支持30天有效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342#section141117691213",
          "type": "integer",
          "name": "invitationCodeInviteLimit",
          "in": "body",
          "required": true,
          "description": "邀请码可邀请人数上限。 最大值10000。"
        }
      ],
      "body": "groupId,invitationCodeValidDays,invitationCodeInviteLimit",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-invite-code-0000002236201342",
      "officialSlug": "agc-help-test-api-add-invite-code-0000002236201342",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-add-invite-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-add-invite-code --invoke --body body.json",
        "show": "agc testing test-api-add-invite-code --pretty"
      }
    },
    {
      "documentation": {
        "title": "新增测试群组",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:54:53.586Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-add-test-group --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661#section154576486341",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-add-test-group",
      "familyId": "testing",
      "name": "新增测试群组",
      "description": "此接口用于邀请测试创建内外部测试群组。",
      "method": "POST",
      "path": "/api/app-test/v1/test-group",
      "command": "agc testing test-api-add-test-group",
      "requiredParams": [
        "appId",
        "groupName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661#section154576486341",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661#section154576486341",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661#section141117691213",
          "maxLength": 50,
          "type": "string",
          "name": "groupName",
          "in": "body",
          "required": true,
          "description": "测试群组。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661#section141117691213",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "groupType",
          "in": "body",
          "required": false,
          "description": "群组类别。 取值范围： 0: 外部群组（默认）。 1: 内部群组。"
        }
      ],
      "body": "groupName,groupType",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-0000002271160661",
      "officialSlug": "agc-help-test-api-add-test-group-0000002271160661",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-add-test-group",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-add-test-group --invoke --body body.json",
        "show": "agc testing test-api-add-test-group --pretty"
      }
    },
    {
      "documentation": {
        "title": "新增测试群组成员",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:54:55.274Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-add-test-group-user --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section1585011135518",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-add-test-group-user",
      "familyId": "testing",
      "name": "新增测试群组成员",
      "description": "此接口用于邀请测试新增测试群组成员。",
      "method": "POST",
      "path": "/api/publish/v2/test/user",
      "command": "agc testing test-api-add-test-group-user",
      "requiredParams": [
        "appId",
        "groupId",
        "hwAccount"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section1585011135518",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section1585011135518",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "测试群组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section141117691213",
          "maxLength": 64,
          "type": "string",
          "name": "nickName",
          "in": "body",
          "required": false,
          "description": "需要添加到测试群组的成员昵称。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section141117691213",
          "maxLength": 256,
          "type": "string",
          "name": "hwAccount",
          "in": "body",
          "required": true,
          "description": "测试群组成员的华为账号、邮箱或者手机号。 手机号格式为：国家码-手机号 内部群组手机号格式为：0086手机号 外部群组手机号格式为：86-手机号"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338#section141117691213",
          "maxLength": 128,
          "type": "string",
          "name": "uid",
          "in": "body",
          "required": false,
          "description": "联盟账号id，内部群组添加成员必填。"
        }
      ],
      "body": "groupId,hwAccount,nickName,uid",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-group-user-0000002236201338",
      "officialSlug": "agc-help-test-api-add-test-group-user-0000002236201338",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-add-test-group-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-add-test-group-user --invoke --body body.json",
        "show": "agc testing test-api-add-test-group-user --pretty"
      }
    },
    {
      "documentation": {
        "title": "添加软件包",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:56.608Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-add-test-package --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-add-test-package",
      "familyId": "testing",
      "name": "添加软件包",
      "description": "此接口用于测试版本上传软件包。",
      "method": "POST",
      "path": "/api/publish/v2/test/version/pkg",
      "command": "agc testing test-api-add-test-package",
      "requiredParams": [
        "appId",
        "file"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330#section141117691213",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "distributeMode",
          "in": "body",
          "required": false,
          "description": "软件包分发方式。 取值范围： 1：测试专区 2：应用市场"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-fileinfo-0000002272575549",
              "maxLength": 255,
              "type": "string",
              "name": "fileName",
              "in": "body",
              "required": true,
              "description": "文件名称，包括文件的后缀名。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-fileinfo-0000002272575549",
              "maxLength": 1024,
              "type": "string",
              "name": "objectId",
              "in": "body",
              "required": true,
              "description": "文件在文件服务器中的对象ID。 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330#section141117691213",
          "type": "object",
          "name": "file",
          "in": "body",
          "required": true,
          "description": "文件信息。"
        }
      ],
      "body": "file,distributeMode",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-package-0000002236201330",
      "officialSlug": "agc-help-test-api-add-test-package-0000002236201330",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-add-test-package",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-add-test-package --invoke --body body.json",
        "show": "agc testing test-api-add-test-package --pretty"
      }
    },
    {
      "documentation": {
        "title": "新建测试版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:54:58.085Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-add-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-add-test-version",
      "familyId": "testing",
      "name": "新建测试版本",
      "description": "此接口用于创建HarmonyOS应用/元服务的测试版本。",
      "method": "POST",
      "path": "/api/publish/v2/test/app/version",
      "command": "agc testing test-api-add-test-version",
      "requiredParams": [
        "appId",
        "releaseType",
        "testType",
        "testDesc"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section141117691213",
          "type": "integer",
          "name": "releaseType",
          "in": "body",
          "required": true,
          "description": "HarmonyOS测试发布方式（API>=10）。 默认值：6"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section141117691213",
          "enum": [
            "3",
            "4"
          ],
          "type": "integer",
          "name": "testType",
          "in": "body",
          "required": true,
          "description": "测试类型。 取值范围： 3：HarmonyOS邀请测试。 4：HarmonyOS公开测试。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section141117691213",
          "maxLength": 50,
          "type": "string",
          "name": "testDesc",
          "in": "body",
          "required": true,
          "description": "测试版本描述。 最长50个字符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526#section141117691213",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "onshelfSelfDetect",
          "in": "body",
          "required": false,
          "description": "是否进行上架自检。 取值范围： 0：否。 1：是。 说明 选择“是”，将提交邀请测试并按照正式上架的审核要求自检，上架自检预计1天内完成。 选择“否”，将仅提交邀请测试审核，不进行正式上架自检。 上架自检不影响您邀请测试的上架结果。 一个应用有且仅支持存在一个上架自检中的任务，若存在上架自检中的任务时，再次创建邀请测试，该字段设置无效。"
        }
      ],
      "body": "releaseType,testType,testDesc,onshelfSelfDetect",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-add-test-version-0000002236041526",
      "officialSlug": "agc-help-test-api-add-test-version-0000002236041526",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-add-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-add-test-version --invoke --body body.json",
        "show": "agc testing test-api-add-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建公开链接",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-create-open-test-link-0000002665117715",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T05:04:13.887Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-create-open-test-link --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-create-open-test-link-0000002665117715#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-create-open-test-link",
      "familyId": "testing",
      "name": "创建公开链接",
      "description": "此接口用于创建群组级公开测试链接。",
      "method": "POST",
      "path": "/api/app-test/v1/test-group/public-link",
      "command": "agc testing test-api-create-open-test-link",
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-create-open-test-link-0000002665117715#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-create-open-test-link-0000002665117715",
      "officialSlug": "agc-help-test-api-create-open-test-link-0000002665117715",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-create-open-test-link",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-create-open-test-link --invoke --body body.json",
        "show": "agc testing test-api-create-open-test-link --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除测试问题反馈",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-feedback-0000002634718668",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:01.149Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-delete-feedback --docs --pretty"
      },
      "id": "test-api-delete-feedback",
      "familyId": "testing",
      "name": "删除测试问题反馈",
      "description": "此接口用于删除测试问题反馈。",
      "method": "DELETE",
      "path": "/api/app-test/v1/mgmt/tester-feedback",
      "command": "agc testing test-api-delete-feedback",
      "requiredParams": [
        "delFeedBackInfos",
        "deleteMode"
      ],
      "parameters": [
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delfeedbackinfos-0000002641014324",
              "maxLength": 32,
              "type": "string",
              "name": "problemId",
              "in": "body",
              "required": true,
              "description": "问题ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-delfeedbackinfos-0000002641014324",
              "maxLength": 32,
              "type": "string",
              "name": "testerId",
              "in": "body",
              "required": true,
              "description": "测试用户ID。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-deletefeedbackrequest-0000002671009673",
          "itemsType": "object",
          "type": "array",
          "name": "delFeedBackInfos",
          "in": "body",
          "required": true,
          "description": "待删除问题反馈信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-deletefeedbackrequest-0000002671009673",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "deleteMode",
          "in": "body",
          "required": true,
          "description": "删除模式，1-仅删除反馈，2-删除反馈+测试用户。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-feedback-0000002634718668",
      "officialSlug": "agc-help-test-api-delete-feedback-0000002634718668",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-delete-feedback",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-delete-feedback --invoke",
        "show": "agc testing test-api-delete-feedback --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除邀请码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:02.651Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-delete-invite-code --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570#section9736184114188",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-delete-invite-code",
      "familyId": "testing",
      "name": "删除邀请码",
      "description": "此接口用于邀请测试删除邀请码。",
      "method": "DELETE",
      "path": "/api/app-test/v1/invitation-code",
      "command": "agc testing test-api-delete-invite-code",
      "requiredParams": [
        "appId",
        "invitationCodeId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570#section9736184114188",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570#section9736184114188",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570#section162251741185115",
          "type": "string",
          "name": "invitationCodeId",
          "in": "query",
          "required": true,
          "description": "待删除的邀请码ID；参数表缺漏，Query位置由官方请求示例确认。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-invite-code-0000002634878570",
      "officialSlug": "agc-help-test-api-delete-invite-code-0000002634878570",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-delete-invite-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-delete-invite-code --invoke",
        "show": "agc testing test-api-delete-invite-code --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除测试群组",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:22.144Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-delete-test-group --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534#section8258621134013",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-delete-test-group",
      "familyId": "testing",
      "name": "删除测试群组",
      "description": "此接口用于邀请测试删除测试群组。",
      "method": "DELETE",
      "path": "/api/app-test/v1/publish-api/test-group",
      "command": "agc testing test-api-delete-test-group",
      "requiredParams": [
        "appId",
        "groupId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534#section8258621134013",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534#section8258621134013",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "query",
          "required": true,
          "description": "测试群组ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-0000002236041534",
      "officialSlug": "agc-help-test-api-delete-test-group-0000002236041534",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-delete-test-group",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-delete-test-group --invoke",
        "show": "agc testing test-api-delete-test-group --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除测试群组成员",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-user-0000002271000721",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:23.289Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-delete-test-group-user --docs --pretty"
      },
      "id": "test-api-delete-test-group-user",
      "familyId": "testing",
      "name": "删除测试群组成员",
      "description": "此接口用于邀请测试删除测试群组中的成员。",
      "method": "DELETE",
      "path": "/api/publish/v2/test/user",
      "command": "agc testing test-api-delete-test-group-user",
      "requiredParams": [
        "appId",
        "deleteTesterIds",
        "groupId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-user-0000002271000721#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "itemsMaxLength": 100,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-user-0000002271000721#section141117691213",
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "deleteTesterIds",
          "in": "body",
          "required": true,
          "description": "需要删除的测试成员的ID列表。 数组长度不超过100。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-user-0000002271000721#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "测试群组ID。"
        }
      ],
      "body": "groupId,deleteTesterIds",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-group-user-0000002271000721",
      "officialSlug": "agc-help-test-api-delete-test-group-user-0000002271000721",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-delete-test-group-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-delete-test-group-user --invoke",
        "show": "agc testing test-api-delete-test-group-user --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除测试版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:55:24.555Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-delete-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-delete-test-version",
      "familyId": "testing",
      "name": "删除测试版本",
      "description": "此接口用于删除测试版本。",
      "method": "DELETE",
      "path": "/api/publish/v2/test/app/version",
      "command": "agc testing test-api-delete-test-version",
      "requiredParams": [
        "versionId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346#section6641436115716",
          "type": "string",
          "name": "versionId",
          "in": "query",
          "required": true,
          "description": "测试版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-delete-test-version-0000002236201346",
      "officialSlug": "agc-help-test-api-delete-test-version-0000002236201346",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-delete-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-delete-test-version --invoke",
        "show": "agc testing test-api-delete-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "修改公开链接",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:25.938Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-edit-open-test-link --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-edit-open-test-link",
      "familyId": "testing",
      "name": "修改公开链接",
      "description": "此接口用于编辑群组级公开测试链接。",
      "method": "PUT",
      "path": "/api/app-test/v1/test-group/public-link",
      "command": "agc testing test-api-edit-open-test-link",
      "requiredParams": [
        "groupId",
        "status"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666#section6641436115716",
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "群组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666#section6641436115716",
          "type": "integer",
          "name": "limit",
          "in": "body",
          "required": false,
          "description": "允许通过此公开链接加入群的数量限制，传null表示不限制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666#section6641436115716",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "status",
          "in": "body",
          "required": true,
          "description": "链接状态。 取值范围： 1：生效 2：失效"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-open-test-link-0000002634718666",
      "officialSlug": "agc-help-test-api-edit-open-test-link-0000002634718666",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-edit-open-test-link",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-edit-open-test-link --invoke --body body.json",
        "show": "agc testing test-api-edit-open-test-link --pretty"
      }
    },
    {
      "documentation": {
        "title": "修改测试群组",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:27.137Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-edit-test-group --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664#section2081954113114",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-edit-test-group",
      "familyId": "testing",
      "name": "修改测试群组",
      "description": "此接口用于邀请测试修改测试群组。",
      "method": "PUT",
      "path": "/api/app-test/v2/test-group",
      "command": "agc testing test-api-edit-test-group",
      "requiredParams": [
        "appId",
        "groupId",
        "groupName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664#section2081954113114",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664#section2081954113114",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "测试群组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664#section141117691213",
          "maxLength": 50,
          "type": "string",
          "name": "groupName",
          "in": "body",
          "required": true,
          "description": "群组名称。"
        }
      ],
      "body": "groupId,groupName",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-edit-test-group-0000002634718664",
      "officialSlug": "agc-help-test-api-edit-test-group-0000002634718664",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-edit-test-group",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-edit-test-group --invoke --body body.json",
        "show": "agc testing test-api-edit-test-group --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询上架自检报告信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-detect-task-0000002525033189",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:55:28.305Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-get-detect-task --docs --pretty"
      },
      "id": "test-api-get-detect-task",
      "familyId": "testing",
      "name": "查询上架自检报告信息",
      "description": "此接口用于查询邀请测试进行上架自检的报告信息。",
      "method": "GET",
      "path": "/api/publish/v2/test/app/version/detect-report",
      "command": "agc testing test-api-get-detect-task",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-detect-task-0000002525033189#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-detect-task-0000002525033189#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "query",
          "required": true,
          "description": "测试版本ID。 可从新建测试版本接口返回的versionId参数中获取。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-detect-task-0000002525033189",
      "officialSlug": "agc-help-test-api-get-detect-task-0000002525033189",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-get-detect-task",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-get-detect-task --invoke",
        "show": "agc testing test-api-get-detect-task --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询测试群组邀请码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:29.470Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-get-invite-code --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669#section16187395428",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-get-invite-code",
      "familyId": "testing",
      "name": "查询测试群组邀请码",
      "description": "此接口用于邀请测试查询测试群组邀请码信息。",
      "method": "GET",
      "path": "/api/app-test/v1/test-group/invitation-code",
      "command": "agc testing test-api-get-invite-code",
      "requiredParams": [
        "appId",
        "groupId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669#section16187395428",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669#section16187395428",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "query",
          "required": true,
          "description": "测试群组ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-invite-code-0000002271160669",
      "officialSlug": "agc-help-test-api-get-invite-code-0000002271160669",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-get-invite-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-get-invite-code --invoke",
        "show": "agc testing test-api-get-invite-code --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询测试群组列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:30.803Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-get-test-grouplist --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section523365814351",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-get-test-grouplist",
      "familyId": "testing",
      "name": "查询测试群组列表",
      "description": "此接口用于邀请测试查询已创建的内外部测试群组列表。",
      "method": "GET",
      "path": "/api/app-test/v1/test-group/list",
      "command": "agc testing test-api-get-test-grouplist",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section523365814351",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section523365814351",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section141117691213",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "groupType",
          "in": "query",
          "required": false,
          "description": "群组类别。 取值范围： 0: 外部群组（默认）。 1: 内部群组。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section141117691213",
          "type": "integer",
          "name": "current",
          "in": "query",
          "required": false,
          "description": "当前页。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717#section141117691213",
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false,
          "description": "每页数。 默认值：10"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-get-test-grouplist-0000002271000717",
      "officialSlug": "agc-help-test-api-get-test-grouplist-0000002271000717",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-get-test-grouplist",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-get-test-grouplist --invoke",
        "show": "agc testing test-api-get-test-grouplist --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新测试版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:32.017Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-modify-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        },
        {
          "id": "testing-ai-types",
          "kind": "required_if",
          "field": "body.extInfo.aiTypes",
          "when": {
            "field": "body.extInfo.isAiGenerate",
            "equals": "1"
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
          "message": "AI-generated services require aiTypes.",
          "suggestion": "Supply the documented AI service types in extInfo.aiTypes."
        }
      ],
      "id": "test-api-modify-test-version",
      "familyId": "testing",
      "name": "更新测试版本",
      "description": "此接口用于更新已创建的测试版本。",
      "method": "PUT",
      "path": "/api/publish/v2/test/app/version",
      "command": "agc testing test-api-modify-test-version",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "需要更新的测试版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "pkgId",
          "in": "body",
          "required": false,
          "description": "需要上传的软件包ID。 说明 请确保上传的软件包是正常状态，即确认查询软件包编译状态接口中的响应参数successStatus为0。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 20,
              "type": "string",
              "name": "language",
              "in": "body",
              "required": true,
              "description": "应用支持的语言。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 255,
              "minLength": 2,
              "type": "string",
              "name": "appName",
              "in": "body",
              "required": false,
              "description": "应用名称。 不少于2个字符，否则应用信息不完整。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 8000,
              "minLength": 2,
              "type": "string",
              "name": "appDesc",
              "in": "body",
              "required": true,
              "description": "对应语言的应用介绍。 不少于2个字符，否则应用信息不完整。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 256,
              "minLength": 1,
              "type": "string",
              "name": "briefInfo",
              "in": "body",
              "required": false,
              "description": "应用简介，用于新增应用一句话介绍。 不少于1个字符，否则应用信息不完整。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 1024,
              "type": "string",
              "name": "newFeatures",
              "in": "body",
              "required": true,
              "description": "测试说明，描述测试版本的重点特性。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxLength": 1024,
              "type": "string",
              "name": "formalVersionNewFeatures",
              "in": "body",
              "required": false,
              "description": "描述正式版本的重点特性。 当为测试版本时，该字段表示后续转成正式版本的新版本特性描述。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicematerial-0000002237336492",
                  "enum": [
                    "4",
                    "5",
                    "12",
                    "14"
                  ],
                  "type": "integer",
                  "name": "deviceType",
                  "in": "body",
                  "required": true,
                  "description": "设备类型。 取值范围： 4：手机 5：平板 12：智能手表 14：运动手表"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicematerial-0000002237336492",
                  "maxLength": 300,
                  "minLength": 1,
                  "type": "string",
                  "name": "appIcon",
                  "in": "body",
                  "required": false,
                  "description": "应用图标下载地址。 不少于1个字符，否则应用信息不完整。 注意 作为输入参数是相对地址，作为查询结果是完整地址。"
                },
                {
                  "itemsMaxLength": 300,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicematerial-0000002237336492",
                  "minItems": 3,
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "screenShots",
                  "in": "body",
                  "required": false,
                  "description": "应用截屏地址。 不少于1个字符，否则应用信息不完整。 多个地址以英文逗号隔开，最多不超过10个地址，最少不少于3个地址。 注意 作为输入参数是相对地址，作为查询结果是完整地址。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicematerial-0000002237336492",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "showType",
                  "in": "body",
                  "required": false,
                  "description": "截图展现方式。 取值范围： 0：竖屏 1：横屏"
                },
                {
                  "itemsMaxLength": 300,
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicematerial-0000002237336492",
                  "maxItems": 10,
                  "itemsType": "string",
                  "type": "array",
                  "name": "promoGraphics",
                  "in": "body",
                  "required": false,
                  "description": "宣传图片地址。 多个地址以英文逗号隔开，最多不超过10个地址。 注意 作为输入参数是相对地址，作为查询结果是完整地址。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-applanguage-0000002237496312",
              "maxItems": 6,
              "itemsType": "object",
              "type": "array",
              "name": "deviceMaterials",
              "in": "body",
              "required": false,
              "description": "设备类型相关的素材。 数组长度不超过6。 说明 素材的格式请参考素材规范。 注意 接口不校验素材的格式（尺寸、分辨率、文件后缀等），请开发者自行保证素材格式的准确性，以免影响素材最终的呈现效果。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "languages",
          "in": "body",
          "required": false,
          "description": "版本多语言本地化信息。 数组长度不超过100。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicetypeinfo-0000002237336488",
              "enum": [
                "4",
                "5",
                "12",
                "14"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true,
              "description": "设备类型。 取值范围： 4：手机 5：平板 12：智能手表 14：运动手表 说明 其他设备类型暂未开放。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-devicetypeinfo-0000002237336488",
              "type": "string",
              "name": "appAdapters",
              "in": "body",
              "required": false,
              "description": "适配设备类型。 5：平板 说明 当deviceType为4（手机）时，系统会默认兼容分发到平板设备，即给appAdapters赋值5。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxItems": 6,
          "itemsType": "object",
          "type": "array",
          "name": "deviceTypes",
          "in": "body",
          "required": false,
          "description": "版本的设备类型信息。 数组长度不超过6。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxLength": 1024,
          "type": "string",
          "name": "distCountryList",
          "in": "body",
          "required": false,
          "description": "版本发布国家的国家码。 多个国家以英文逗号分隔，例如：“CN,DE,MC”。 如果取值为“OTHER”，则表示当AppGallery支持的国家或地区列表中新增某个国家或地区时，版本将自动分发到新增的国家和地区。国家码列表请参见国家码。 注意 取值不能只包含OTHER。仅公开测试支持填写此字段。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 128,
              "type": "string",
              "name": "testUserName",
              "in": "body",
              "required": false,
              "description": "应用审核信息的测试账号。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 128,
              "type": "string",
              "name": "testUserPassword",
              "in": "body",
              "required": false,
              "description": "应用审核信息的测试用户密码。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 300,
              "type": "string",
              "name": "appRemark",
              "in": "body",
              "required": false,
              "description": "应用审核信息的备注。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "enum": [
                "1"
              ],
              "type": "integer",
              "name": "isSignedCommitment",
              "in": "body",
              "required": false,
              "description": "是否签署合规承诺函。 取值范围： 空：未签署 1：已签署 说明 目前只有元服务涉及签署。 默认值：空 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "enum": [
                "-1",
                "1",
                "2",
                "3"
              ],
              "type": "integer",
              "name": "registeredIdType",
              "in": "body",
              "required": false,
              "description": "备案证件类型。 取值范围： -1：清空数据，同时也会清空registeredIdNumber的内容。 1：面向企业，备案证件为社会信用。 2：面向个人，备案证件为身份证。 3：面向机构，备案证件为机构代码。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 64,
              "type": "string",
              "name": "registeredIdNumber",
              "in": "body",
              "required": false,
              "description": "备案证件号码。 取值范围： registeredIdType为1时，对应社会信用代码。 registeredIdType为2时，对应身份证号码。 registeredIdType为3时，对应机构代码。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 32,
              "type": "string",
              "name": "privacyAgreementId",
              "in": "body",
              "required": false,
              "description": "隐私协议ID。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 512,
              "type": "string",
              "name": "userAgreementUrl",
              "in": "body",
              "required": false,
              "description": "用户协议URL。 注意 仅公开测试支持填写此字段。"
            },
            {
              "itemsMaxLength": 32,
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxItems": 5,
              "itemsType": "string",
              "type": "array",
              "name": "userAgreementIds",
              "in": "body",
              "required": false,
              "description": "用户协议ID列表。 当userAgreementUrl和userAgreementIds同时传值时，以userAgreementIds值为准。 数组长度不超过5。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 512,
              "type": "string",
              "name": "privacyPolicy",
              "in": "body",
              "required": false,
              "description": "隐私政策网址。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 256,
              "type": "string",
              "name": "privacyRightsUrl",
              "in": "body",
              "required": false,
              "description": "隐私权利网址。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "encrypted",
              "in": "body",
              "required": false,
              "description": "包是否加密。 取值范围： 0：否，表示不加密。 1：是，表示加密。 默认值：1"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "isAiGenerate",
              "in": "body",
              "required": false,
              "description": "是否涉及AI生成合成服务。 取值范围： 0：不涉及。 1：涉及。 注意 仅公开测试支持填写此字段。"
            },
            {
              "itemsEnum": [
                "-1",
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "itemsType": "integer",
              "type": "array",
              "name": "aiTypes",
              "in": "body",
              "required": false,
              "description": "涉及的AI生成合成服务类型。 注意 仅公开测试支持填写此字段。 取值范围： -1：其他 1：文本 2：图片 3：音频 4：视频 5：虚拟场景 说明 isAiGenerate取值为1（涉及）时，此参数必填。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-appreviewcontact-0000002527365043",
                  "maxLength": 500,
                  "type": "string",
                  "name": "account",
                  "in": "body",
                  "required": false,
                  "description": "应用负责人的手机号码或者邮箱账号。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "type": "object",
              "name": "appReviewPhoneInfo",
              "in": "body",
              "required": false,
              "description": "应用负责人的手机号信息。用于沟通审核问题。 注意 仅公开测试支持填写此字段。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-appreviewcontact-0000002527365043",
                  "maxLength": 500,
                  "type": "string",
                  "name": "account",
                  "in": "body",
                  "required": false,
                  "description": "应用负责人的手机号码或者邮箱账号。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "type": "object",
              "name": "appReviewEmailInfo",
              "in": "body",
              "required": false,
              "description": "应用负责人的邮箱账号信息。用于接收上架审核结果，应用整改或下架通知。 注意 仅公开测试支持填写此字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-versionextinfo-0000002272455645",
              "maxLength": 256,
              "type": "string",
              "name": "appReviewName",
              "in": "body",
              "required": false,
              "description": "应用负责人的姓名。 注意 仅公开测试支持填写此字段。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "type": "object",
          "name": "extInfo",
          "in": "body",
          "required": false,
          "description": "版本扩展信息。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-opentestinfo-0000002272575553",
              "type": "integer",
              "name": "startTime",
              "in": "body",
              "required": true,
              "description": "测试版本开始时间。 时间是与1970年1月1日午夜之间的差值。 单位：毫秒 示例：1704211200000"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-opentestinfo-0000002272575553",
              "type": "integer",
              "name": "endTime",
              "in": "body",
              "required": true,
              "description": "测试版本结束时间。 时间是与1970年1月1日午夜之间的差值。 单位：毫秒 示例：1704211200000"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-opentestinfo-0000002272575553",
              "maxLength": 50,
              "type": "string",
              "name": "testDesc",
              "in": "body",
              "required": false,
              "description": "测试版本描述。"
            },
            {
              "properties": [
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-groupinfo-0000002272575557",
                      "maxLength": 32,
                      "type": "string",
                      "name": "groupId",
                      "in": "body",
                      "required": false,
                      "description": "测试群组ID。"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-groupinfo-0000002272575557",
                      "maxLength": 50,
                      "type": "string",
                      "name": "groupName",
                      "in": "body",
                      "required": false,
                      "description": "测试群组名称。"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-groupinfo-0000002272575557",
                      "type": "integer",
                      "name": "addedTesterNum",
                      "in": "body",
                      "required": false,
                      "description": "已添加测试群组成员的数量。"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-groupinfo-0000002272575557",
                      "enum": [
                        "0",
                        "1"
                      ],
                      "type": "integer",
                      "name": "bind",
                      "in": "body",
                      "required": false,
                      "description": "是否绑定该测试群组。 取值范围： 1：已绑定 0：未绑定"
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-testtaskinfo-0000002272455649",
                  "itemsType": "object",
                  "type": "array",
                  "name": "groupInfos",
                  "in": "body",
                  "required": true,
                  "description": "测试用户信息。 注意 公开测试不支持修改。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-testtaskinfo-0000002272455649",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "needShareLink",
                  "in": "body",
                  "required": false,
                  "description": "是否需要生成分享链接。 取值范围： 0：不需要。 1：需要。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-testtaskinfo-0000002272455649",
                  "type": "integer",
                  "name": "publicTestInstallLimit",
                  "in": "body",
                  "required": false,
                  "description": "公开测试安装次数上限。 默认值：10万次 注意 仅公开测试支持填写此字段。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-testtaskinfo-0000002272455649",
                  "maxLength": 32,
                  "type": "string",
                  "name": "displayArea",
                  "in": "body",
                  "required": false,
                  "description": "展示区域。 取值范围： 1：AppGallery客户端测试专区 说明 邀请测试该字段必填。 公开测试该字段选填。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-testtaskinfo-0000002272455649",
                  "enum": [
                    "0",
                    "1"
                  ],
                  "type": "integer",
                  "name": "needNotify",
                  "in": "body",
                  "required": false,
                  "description": "是否向用户发送测试通知。 取值范围： 0：不需要 1：需要 默认值：1"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-opentestinfo-0000002272575553",
              "type": "object",
              "name": "testTaskInfo",
              "in": "body",
              "required": false,
              "description": "测试发布信息。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "type": "object",
          "name": "openTestInfo",
          "in": "body",
          "required": false,
          "description": "测试版本信息，包含测试版本开始时间和结束时间。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-packagepermissionintrovideo-0000002237496316",
              "maxLength": 8,
              "type": "string",
              "name": "lang",
              "in": "body",
              "required": true,
              "description": "语言种类。 说明 取值请参见语言类型。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-packagepermissionintrovideo-0000002237496316",
              "maxLength": 512,
              "type": "string",
              "name": "permissionName",
              "in": "body",
              "required": true,
              "description": "权限标记字符串。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-packagepermissionintrovideo-0000002237496316",
              "enum": [
                "4",
                "5",
                "12",
                "14"
              ],
              "type": "integer",
              "name": "deviceType",
              "in": "body",
              "required": true,
              "description": "设备类型。 取值范围： 4：手机 5：平板 12：智能手表 14：运动手表"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-test-api-data-packagepermissionintrovideo-0000002237496316",
              "maxLength": 512,
              "type": "string",
              "name": "objectId",
              "in": "body",
              "required": true,
              "description": "文件在OBS上的objectId。 说明 objectId的获取流程：先调用获取上传文件地址接口，然后调用上传文件接口上传文件，最后得到获取上传文件地址接口返回的objectId。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxItems": 100,
          "itemsType": "object",
          "type": "array",
          "name": "packagePermissionIntroVideoList",
          "in": "body",
          "required": false,
          "description": "软件包权限使用场景说明视频。 数组长度不超过100。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvocreq-0000002527368597",
              "maxLength": 32,
              "type": "string",
              "name": "versionId",
              "in": "body",
              "required": true,
              "description": "版本号。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvocreq-0000002527368597",
              "maxLength": 32,
              "type": "string",
              "name": "packageId",
              "in": "body",
              "required": true,
              "description": "软件包ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-data-versionvocreq-0000002527368597",
              "maxLength": 32,
              "type": "string",
              "name": "vocId",
              "in": "body",
              "required": true,
              "description": "问题工单ID。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657#section141117691213",
          "maxItems": 1000,
          "itemsType": "object",
          "type": "array",
          "name": "versionVocReq",
          "in": "body",
          "required": false,
          "description": "应用版本已解决问题。 数组长度不超过1000。 仅公开测试支持填写此字段。 说明 调用查询应用未处理的问题工单接口可以查询用户反馈的应用问题。如果在应用版本更新时某些问题已经解决，可以将这些问题提交审核，工单平台验证通过后会关闭工单。"
        }
      ],
      "body": "versionId,pkgId,languages,deviceTypes,distCountryList,extInfo,openTestInfo,packagePermissionIntroVideoList,versionVocReq",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-modify-test-version-0000002271160657",
      "officialSlug": "agc-help-test-api-modify-test-version-0000002271160657",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-modify-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-modify-test-version --invoke --body body.json",
        "show": "agc testing test-api-modify-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "发送邀请测试通知",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-post-test-notify-0000002236041538",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:33.320Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-post-test-notify --docs --pretty"
      },
      "id": "test-api-post-test-notify",
      "familyId": "testing",
      "name": "发送邀请测试通知",
      "description": "此接口用于给内外部群组的测试用户发送邀请测试的通知。",
      "method": "POST",
      "path": "/api/publish/v1/test/user/action/notify",
      "command": "agc testing test-api-post-test-notify",
      "requiredParams": [
        "appId",
        "groupId",
        "testerIds"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-post-test-notify-0000002236041538#section236517415165",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-post-test-notify-0000002236041538#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "测试群组ID。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-post-test-notify-0000002236041538#section141117691213",
          "maxItems": 10000,
          "itemsType": "string",
          "type": "array",
          "name": "testerIds",
          "in": "body",
          "required": true,
          "description": "需要通知的测试用户ID。 数组长度不超过10000。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-post-test-notify-0000002236041538",
      "officialSlug": "agc-help-test-api-post-test-notify-0000002236041538",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-post-test-notify",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-post-test-notify --invoke --body body.json",
        "show": "agc testing test-api-post-test-notify --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询测试问题反馈",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-0000002665117717",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:34.569Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-query-feedback --docs --pretty"
      },
      "id": "test-api-query-feedback",
      "familyId": "testing",
      "name": "查询测试问题反馈",
      "description": "此接口用于查询测试问题反馈列表。",
      "method": "POST",
      "path": "/api/app-test/v1/mgmt/tester-feedback/action/query",
      "command": "agc testing test-api-query-feedback",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-0000002665117717#section7338205532",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "type": "integer",
          "name": "startTime",
          "in": "body",
          "required": false,
          "description": "时间戳，开始时间，不填默认近一年。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "type": "integer",
          "name": "endTime",
          "in": "body",
          "required": false,
          "description": "时间戳，结束时间，不填默认近一年。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "itemsType": "string",
          "type": "array",
          "name": "appVersions",
          "in": "body",
          "required": false,
          "description": "应用版本。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "itemsType": "string",
          "type": "array",
          "name": "models",
          "in": "body",
          "required": false,
          "description": "模型。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "itemsType": "string",
          "type": "array",
          "name": "deviceVersions",
          "in": "body",
          "required": false,
          "description": "设备版本。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "itemsType": "string",
          "type": "array",
          "name": "machineTypes",
          "in": "body",
          "required": false,
          "description": "机器类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "type": "integer",
          "name": "currentPage",
          "in": "body",
          "required": false,
          "description": "当前页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-submission/agc-help-publish-api-feedbacklistrequest-0000002671389861",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页数量。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-0000002665117717",
      "officialSlug": "agc-help-test-api-query-feedback-0000002665117717",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-query-feedback",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-query-feedback --invoke --body body.json",
        "show": "agc testing test-api-query-feedback --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询测试问题反馈维度",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:36.402Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-query-feedback-dimension --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section513712243310",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-query-feedback-dimension",
      "familyId": "testing",
      "name": "查询测试问题反馈维度",
      "description": "此接口用于查询测试反馈维度。",
      "method": "POST",
      "path": "/api/app-test/v1/mgmt/tester-feedback-dimension/action/query",
      "command": "agc testing test-api-query-feedback-dimension",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section513712243310",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section513712243310",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "type": "integer",
          "name": "startTime",
          "in": "body",
          "required": false,
          "description": "开始时间。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "type": "integer",
          "name": "endTime",
          "in": "body",
          "required": false,
          "description": "结束时间。"
        },
        {
          "itemsMaxLength": 64,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "itemsType": "string",
          "type": "array",
          "name": "appVersions",
          "in": "body",
          "required": false,
          "description": "应用版本。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "maxLength": 64,
          "type": "string",
          "name": "models",
          "in": "body",
          "required": false,
          "description": "模型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "maxLength": 64,
          "type": "string",
          "name": "deviceVersions",
          "in": "body",
          "required": false,
          "description": "设备版本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572#section6641436115716",
          "maxLength": 64,
          "type": "string",
          "name": "machineTypes",
          "in": "body",
          "required": false,
          "description": "机器类型。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-feedback-dimension-0000002634878572",
      "officialSlug": "agc-help-test-api-query-feedback-dimension-0000002634878572",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-query-feedback-dimension",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-query-feedback-dimension --invoke --body body.json",
        "show": "agc testing test-api-query-feedback-dimension --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询公开链接",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:37.909Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-query-open-test-link --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-query-open-test-link",
      "familyId": "testing",
      "name": "查询公开链接",
      "description": "此接口用于查询群组级公开测试链接。",
      "method": "GET",
      "path": "/api/app-test/v1/test-group/public-link",
      "command": "agc testing test-api-query-open-test-link",
      "requiredParams": [
        "versionId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775#section6641436115716",
          "type": "string",
          "name": "versionId",
          "in": "query",
          "required": true,
          "description": "测试版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-open-test-link-0000002664997775",
      "officialSlug": "agc-help-test-api-query-open-test-link-0000002664997775",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-query-open-test-link",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-query-open-test-link --invoke",
        "show": "agc testing test-api-query-open-test-link --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询测试群组成员",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:39.362Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-query-test-user --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section18864141115296",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-query-test-user",
      "familyId": "testing",
      "name": "查询测试群组成员",
      "description": "此接口用于查询测试群组成员。",
      "method": "GET",
      "path": "/api/app-test/v1/test-user",
      "command": "agc testing test-api-query-test-user",
      "requiredParams": [
        "appId",
        "groupId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section18864141115296",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section18864141115296",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "groupId",
          "in": "query",
          "required": true,
          "description": "测试群组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section141117691213",
          "type": "integer",
          "name": "current",
          "in": "query",
          "required": false,
          "description": "当前页。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773#section141117691213",
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false,
          "description": "每页数。 默认值：25"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-query-test-user-0000002664997773",
      "officialSlug": "agc-help-test-api-query-test-user-0000002664997773",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-query-test-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-query-test-user --invoke",
        "show": "agc testing test-api-query-test-user --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新测试生效版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:40.822Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-release-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-release-test-version",
      "familyId": "testing",
      "name": "更新测试生效版本",
      "description": "此接口用于将公开测试版本转为全网版本或者分阶段版本。",
      "method": "PUT",
      "path": "/api/publish/v2/test/version/release",
      "command": "agc testing test-api-release-test-version",
      "requiredParams": [
        "appId",
        "versionId",
        "releaseType"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "需要转为全网版本或者分阶段版本的测试版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section141117691213",
          "enum": [
            "1",
            "2"
          ],
          "type": "integer",
          "name": "releaseType",
          "in": "body",
          "required": true,
          "description": "发布方式。 取值范围： 1：全网发布。 2：分阶段发布。 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section141117691213",
          "type": "integer",
          "name": "releaseTime",
          "in": "body",
          "required": false,
          "description": "发布时间。 时间为毫秒数。 0，则表示立即上架。 非0，则表示指定时间上架，只对转全网生效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713#section141117691213",
          "type": "object",
          "name": "phasedReleaseInfo",
          "in": "body",
          "required": false,
          "description": "分阶段发布信息。 说明 releaseType为2时，该参数必填。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-release-test-version-0000002271000713",
      "officialSlug": "agc-help-test-api-release-test-version-0000002271000713",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-release-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-release-test-version --invoke --body body.json",
        "show": "agc testing test-api-release-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "停止邀请码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725",
        "updatedAt": "2026-08-11 10:20",
        "checkedAt": "2026-10-07T02:55:42.982Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-stop-invite-code --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725#section667421774310",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-stop-invite-code",
      "familyId": "testing",
      "name": "停止邀请码",
      "description": "此接口用于邀请测试停止邀请码。",
      "method": "POST",
      "path": "/api/app-test/v1/invitation-code/action/stop",
      "command": "agc testing test-api-stop-invite-code",
      "requiredParams": [
        "appId",
        "invitationCodeId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725#section667421774310",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查看应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725#section667421774310",
          "type": "integer",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "invitationCodeId",
          "in": "body",
          "required": true,
          "description": "邀请码ID。"
        }
      ],
      "body": "invitationCodeId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-invite-code-0000002271000725",
      "officialSlug": "agc-help-test-api-stop-invite-code-0000002271000725",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-stop-invite-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-stop-invite-code --invoke --body body.json",
        "show": "agc testing test-api-stop-invite-code --pretty"
      }
    },
    {
      "documentation": {
        "title": "停止测试版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542",
        "updatedAt": "2026-06-25 19:52",
        "checkedAt": "2026-10-07T02:55:44.345Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-stop-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-stop-test-version",
      "familyId": "testing",
      "name": "停止测试版本",
      "description": "此接口用于停止测试版本。",
      "method": "POST",
      "path": "/api/publish/v2/test/version/stop",
      "command": "agc testing test-api-stop-test-version",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "测试版本ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-stop-test-version-0000002236041542",
      "officialSlug": "agc-help-test-api-stop-test-version-0000002236041542",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-stop-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-stop-test-version --invoke --body body.json",
        "show": "agc testing test-api-stop-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交测试版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:45.828Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-submit-test-version --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-submit-test-version",
      "familyId": "testing",
      "name": "提交测试版本",
      "description": "此接口用于测试版本提交审核。",
      "method": "POST",
      "path": "/api/publish/v2/test/app/version/submit",
      "command": "agc testing test-api-submit-test-version",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "测试版本ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-submit-test-version-0000002236201334",
      "officialSlug": "agc-help-test-api-submit-test-version-0000002236201334",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-submit-test-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-submit-test-version --invoke --body body.json",
        "show": "agc testing test-api-submit-test-version --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新有效期内的测试版本信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530",
        "updatedAt": "2026-08-05 11:22",
        "checkedAt": "2026-10-07T02:55:47.214Z",
        "status": "browser-read",
        "readCommand": "agc testing test-api-update-test-version-opentest --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section15707195611112",
          "message": "OAuth authorization requires its selected teamId.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "test-api-update-test-version-opentest",
      "familyId": "testing",
      "name": "更新有效期内的测试版本信息",
      "description": "此接口用于更新有效期内测试版本的测试时间和下载安装次数。",
      "method": "PUT",
      "path": "/api/publish/v2/test/version/open-test",
      "command": "agc testing test-api-update-test-version-opentest",
      "requiredParams": [
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section15707195611112",
          "maxLength": 64,
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "开发者所在团队的团队ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section6641436115716",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section141117691213",
          "maxLength": 32,
          "type": "string",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "需要更新的测试版本ID。 测试版本的状态必须是正在测试和等待生效。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section141117691213",
          "type": "integer",
          "name": "startTime",
          "in": "body",
          "required": false,
          "description": "测试版本开始时间。 此时间是与1970年1月1日午夜之间的差值。 单位：毫秒 示例：1704211200000"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section141117691213",
          "type": "integer",
          "name": "endTime",
          "in": "body",
          "required": false,
          "description": "测试版本结束时间。 此时间是与1970年1月1日午夜之间的差值。 单位：毫秒 示例：1704211200000"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section141117691213",
          "type": "integer",
          "name": "publicTestInstallLimit",
          "in": "body",
          "required": false,
          "description": "公开测试安装次数上限。 默认值：10万次。"
        },
        {
          "itemsMaxLength": 32,
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530#section141117691213",
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "newBindGroupIds",
          "in": "body",
          "required": false,
          "description": "需要关联测试版本的测试群组ID列表。 数组长度不超过1000。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/app/agc-help-test-api-update-test-version-opentest-0000002236041530",
      "officialSlug": "agc-help-test-api-update-test-version-opentest-0000002236041530",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/testing/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/testing/endpoints/test-api-update-test-version-opentest",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc testing test-api-update-test-version-opentest --invoke --body body.json",
        "show": "agc testing test-api-update-test-version-opentest --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取给指定用户群发奖的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:55:48.944Z",
        "status": "browser-read",
        "readCommand": "agc reports activityawardexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "activityawardexport",
      "familyId": "reports",
      "name": "获取给指定用户群发奖的报表",
      "description": "获取指定给用户群发奖的报表数据的CSV文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/activityAwardExport/{appId}",
      "command": "agc reports activityawardexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器，目前只支持“activityId”，表示基于活动过滤。如果不传此参数默认无过滤器。 URL示例：&filterCondition=activityId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值，例如过滤器是“activityId”，此参数的取值为活动ID。目前只支持输入1个活动ID，不支持输入多个活动ID。 活动ID可在AppGallery Connect网站应用开发页面的“运营 > 活动运营 > 活动管理”页面查看。 URL示例：&filterConditionValue=939130"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-activityawardexport-0000001158245071",
      "officialSlug": "agcapi-activityawardexport-0000001158245071",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/activityawardexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports activityawardexport --invoke",
        "show": "agc reports activityawardexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取新增和留存的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:17.878Z",
        "status": "browser-read",
        "readCommand": "agc reports addadkpexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        }
      ],
      "id": "addadkpexport",
      "familyId": "reports",
      "name": "获取新增和留存的报表",
      "description": "获取新增和留存的报表数据的CSV或者Excel文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/addAdKpExport/{appId}",
      "command": "agc reports addadkpexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "userTag",
          "in": "query",
          "required": false,
          "description": "基于账号还是设备查询。 取值范围： 0: 账号 1: 设备 默认值：1"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102#section886219295206",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型。 取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addadkpexport-0000001111845102",
      "officialSlug": "agcapi-addadkpexport-0000001111845102",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/addadkpexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports addadkpexport --invoke",
        "show": "agc reports addadkpexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取下载安装的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:18.806Z",
        "status": "browser-read",
        "readCommand": "agc reports appdownloadexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "appdownloadexport",
      "familyId": "reports",
      "name": "获取下载安装的报表",
      "description": "获取下载安装的报表数据的CSV或者Excel文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/appDownloadExport/{appId}",
      "command": "agc reports appdownloadexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器。 取值范围： countryId：按国家过滤。 businessType：按业务类型过滤。 appVersion：按应用版本过滤。 如果不传，默认无过滤器。 支持countryId、businessType和appVersion同时使用，URL示例：&filterCondition=countryId&filterCondition=businessType&filterCondition=appVersion"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值。 如果过滤器为countryId，此参数的取值为国家码的字符串数组，例如“CN, AL, AD, AT”。具体国家码列表参考国家码。传入“all”表示查询全球。传入“others”表示仅查询“US,CU,IR,SD,SY”（美国,古巴,伊朗,苏丹,叙利亚），获取的数据作为一个整体展示，例如“CN,AL,others”。“all”和“others”不区分大小写。 如果过滤器为businessType，此参数的取值为业务类型，取值范围为： ALL：所有业务 AppGallery：华为应用市场 AppTouch：AppTouch业务 取值区分大小写。 如果过滤器为appVersion，此参数的取值为应用版本，多个版本以英文逗号分隔，如：“1.0.0,2.0.0”。“all”表示查询所有应用版本，“all”不区分大小写。 如果传入多个过滤器，使用多个filterConditionValue表示，顺序必须与filterCondition中过滤器的顺序一致。URL示例：&filterConditionValue=CN&filterConditionValue=AppGallery。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "type": "string",
          "name": "groupBy",
          "in": "query",
          "required": false,
          "description": "数据统计的分组信息，支持按如下依据分组。 取值范围： date：按日期分组 countryId：按国家分组 businessType：按业务类型分组 appVersion：按应用版本分组 默认值：date"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059#section886219295206",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型。 取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadexport-0000001158365059",
      "officialSlug": "agcapi-appdownloadexport-0000001158365059",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/appdownloadexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports appdownloadexport --invoke",
        "show": "agc reports appdownloadexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取安装失败数据的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:19.769Z",
        "status": "browser-read",
        "readCommand": "agc reports appdownloadfailexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "appdownloadfailexport",
      "familyId": "reports",
      "name": "获取安装失败数据的报表",
      "description": "获取安装失败数据的报表CSV或EXCEL文件。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/appDownloadFailExport/{appId}",
      "command": "agc reports appdownloadfailexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器，目前只支持机型“deviceName”、下载类型“downloadType”、应用版本“appVersion”和国家/地区“countryId”过滤。四个参数可以组合。如果不传此参数默认无过滤器。URL示例：&filterCondition=deviceName&filterCondition=downloadType&filterCondition=countryId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值。 downloadType对应的取值：1（新下载）、2（更新下载）。 deviceName为设备型号的名称，取值例如： “Mate30Pro-5G版”、“P40-lite”、“P30-Pro”、“P40-lite-5G”、“nova7-SE”、“nova7_SE_5G乐活版”、“nova6-5G版”、“nova6-SE”。 countryId对应的值：“CN,AL,AD,AT” appVersion对应的值：\"1.0.0,2.0.0\" URL示例：&filterConditionValue=mate20&filterConditionValue=1&filterConditionValue=CN"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "itemsType": "string",
          "type": "array",
          "name": "groupBy",
          "in": "query",
          "required": false,
          "description": "数据统计的分组信息。支持按照日期(date) 、机型(deviceName)、下载类型(downloadType)、应用版本（appVersion）或国家/地区(countryId)进行分组。如果不传默认按照日期分组。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063#section423141017508",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型，取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appdownloadfailexport-0000001158365063",
      "officialSlug": "agcapi-appdownloadfailexport-0000001158365063",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/appdownloadfailexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports appdownloadfailexport --invoke",
        "show": "agc reports appdownloadfailexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取优惠券活动的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:20.937Z",
        "status": "browser-read",
        "readCommand": "agc reports couponexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "couponexport",
      "familyId": "reports",
      "name": "获取优惠券活动的报表",
      "description": "获取优惠券活动的报表CSV或EXCEL文件。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/activityCouponExport/{appId}",
      "command": "agc reports couponexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器，目前只支持“activityId”，表示基于活动过滤。如果不传此参数默认无过滤器。 URL示例：&filterCondition=activityId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值，例如过滤器是“activityId”，此参数的取值为活动ID。目前只支持输入1个活动ID，不支持输入多个活动ID。 活动ID可在AppGallery Connect网站应用开发页面的“运营 > 活动运营 > 活动管理”页面查看。 URL示例：&filterConditionValue=123456"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104#section886219295206",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型，取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-couponexport-0000001111845104",
      "officialSlug": "agcapi-couponexport-0000001111845104",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/couponexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports couponexport --invoke",
        "show": "agc reports couponexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取元服务分发分析的报表文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:22.007Z",
        "status": "browser-read",
        "readCommand": "agc reports fa-distribute-analysis-export --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352#section27982911",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        }
      ],
      "id": "fa-distribute-analysis-export",
      "familyId": "reports",
      "name": "获取元服务分发分析的报表文件",
      "description": "获取元服务分发分析的报表数据的CSV或者Excel文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/fa/distributeAnalysisExport/",
      "command": "agc reports fa-distribute-analysis-export",
      "requiredParams": [
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352#section27982911",
          "maxLength": 10,
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": false,
          "description": "查询语言。 报表title会根据不同语言来展现。 只支持简体中文（zh-CN）, 美式英文（en-US），俄文（ru-RU）。 默认简体中文。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352#section27982911",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352#section27982911",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352#section27982911",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型。 取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-distribute_analysis_export-0000001690307352",
      "officialSlug": "agcapi-fa-distribute_analysis_export-0000001690307352",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/fa-distribute-analysis-export",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports fa-distribute-analysis-export --invoke",
        "show": "agc reports fa-distribute-analysis-export --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取元服务新增留存的报表文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:23.264Z",
        "status": "browser-read",
        "readCommand": "agc reports fa-user-analysis-export --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        }
      ],
      "id": "fa-user-analysis-export",
      "familyId": "reports",
      "name": "获取元服务新增留存的报表文件",
      "description": "获取元服务新增留存的报表数据的CSV或者Excel文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/fa/userAnalysisExport/",
      "command": "agc reports fa-user-analysis-export",
      "requiredParams": [
        "startTime",
        "endTime",
        "userTag"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "maxLength": 10,
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": false,
          "description": "查询语言。 报表title会根据不同语言来展现。 只支持简体中文（zh-CN）, 美式英文（en-US），俄文（ru-RU）。 默认简体中文。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "userTag",
          "in": "query",
          "required": true,
          "description": "统计维度类型。 取值范围： 0：按照账号维度 1：按照设备维度 默认值：0"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949#section27982911",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型。 取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-user_analysis_export-0000001738465949",
      "officialSlug": "agcapi-fa-user_analysis_export-0000001738465949",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/fa-user-analysis-export",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports fa-user-analysis-export --invoke",
        "show": "agc reports fa-user-analysis-export --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取元服务卡片分析的报表文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:24.316Z",
        "status": "browser-read",
        "readCommand": "agc reports fa-widget-analysis-export --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092#section27982911",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        }
      ],
      "id": "fa-widget-analysis-export",
      "familyId": "reports",
      "name": "获取元服务卡片分析的报表文件",
      "description": "获取元服务卡片分析的报表数据的CSV或者Excel文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/fa/widgetAnalysisExport/",
      "command": "agc reports fa-widget-analysis-export",
      "requiredParams": [
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092#section27982911",
          "maxLength": 10,
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": false,
          "description": "查询语言。 报表title会根据不同语言来展现。 只支持简体中文（zh-CN）, 美式英文（en-US），俄文（ru-RU）。 默认简体中文。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092#section27982911",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092#section27982911",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间。 UTC时间。 格式：YYYYMMDD startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092#section27982911",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型。 取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-fa-widget_analysis_export-0000001690467092",
      "officialSlug": "agcapi-fa-widget_analysis_export-0000001690467092",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/fa-widget-analysis-export",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports fa-widget-analysis-export --invoke",
        "show": "agc reports fa-widget-analysis-export --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取预约的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:25.394Z",
        "status": "browser-read",
        "readCommand": "agc reports gamereservationexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        }
      ],
      "id": "gamereservationexport",
      "familyId": "reports",
      "name": "获取预约的报表",
      "description": "获取预约报表数据的CSV或EXCEL文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/gameReservationExport/{appId}",
      "command": "agc reports gamereservationexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212#section886219295206",
          "enum": [
            "zh-CN"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，目前只支持简体中文（zh-CN）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-gamereservationexport-0000001111685212",
      "officialSlug": "agcapi-gamereservationexport-0000001111685212",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/gamereservationexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports gamereservationexport --invoke",
        "show": "agc reports gamereservationexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取应用内付费的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:26.548Z",
        "status": "browser-read",
        "readCommand": "agc reports iapexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "iapexport",
      "familyId": "reports",
      "name": "获取应用内付费的报表",
      "description": "获取应用内付费的报表的CSV或者EXCEL文件地址。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/IAPExport/{appId}",
      "command": "agc reports iapexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime",
        "currency"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器，取值范围： countryId：按国家过滤。 businessType：按业务类型过滤。 如果不传，默认无过滤器。 支持countryId和businessType同时使用，URL示例：&filterCondition=countryId&filterCondition=businessType"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值。 如果过滤器为countryId，此参数的取值为国家码的字符串数组，例如“CN, AL, AD, AT”。具体国家码列表参考国家码。传入“all”表示查询全球。传入“others”表示仅查询“US,CU,IR,SD,SY”（美国,古巴,伊朗,苏丹,叙利亚），获取的数据作为一个整体展示，例如“CN,AL,others”。“all”和“others”不区分大小写。 如果过滤器为businessType，此参数的取值为业务类型，取值范围为: ALL：所有业务 AppGallery：华为应用市场 AppTouch：AppTouch业务 取值区分大小写。 如果传入多个过滤器，使用多个filterConditionValue表示，顺序必须与filterCondition中过滤器的顺序一致。URL示例：&filterConditionValue=CN&filterConditionValue=AppGallery。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "type": "string",
          "name": "groupBy",
          "in": "query",
          "required": false,
          "description": "数据统计的分组信息，支持按如下依据分组。 date：按日期分组。 countryId：按国家分组 businessType：按业务类型分组 默认值：date。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "enum": [
            "CNY",
            "EUR",
            "USD"
          ],
          "type": "string",
          "name": "currency",
          "in": "query",
          "required": true,
          "description": "货币单位编码，只支持3种货币单位，分别为：CNY(元)、EUR(欧元)、USD(美金)。 设置后，报表中非指定货币单位的货币值将按汇率转换为指定的货币值。例如：设置为USD，那么报表中以CNY、EUR等为单位的数据将按汇率转换为以USD为单位的数据呈现。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061#section886219295206",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型，取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-iapexport-0000001158365061",
      "officialSlug": "agcapi-iapexport-0000001158365061",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/iapexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports iapexport --invoke",
        "show": "agc reports iapexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取付费下载的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:27.783Z",
        "status": "browser-read",
        "readCommand": "agc reports orderanalysisexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 365,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 365 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "orderanalysisexport",
      "familyId": "reports",
      "name": "获取付费下载的报表",
      "description": "获取付费下载报表的CSV或者EXCEL文件。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/orderAnalysisExport/{appId}",
      "command": "agc reports orderanalysisexport",
      "requiredParams": [
        "appId",
        "language",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过365天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。 startTime和endTime之间不超过365天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": false,
          "description": "过滤器，目前只支持“countryId”，表示基于国家过滤，支持多国家查询。如果不传此参数默认查询所有国家。 URL示例：&filterCondition=countryId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": false,
          "description": "过滤器对应的值，例如过滤器是“countryId”，此参数的取值为国家码的字符串数组，例如CN。具体国家码列表请参见国家码。 URL示例：&filterConditionValue=CN"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214#section886219295206",
          "enum": [
            "CSV",
            "EXCEL"
          ],
          "type": "string",
          "name": "exportType",
          "in": "query",
          "required": false,
          "description": "导出文件类型，取值范围： CSV：导出CSV文件格式 EXCEL：导出Excel文件格式 默认值：CSV。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderanalysisexport-0000001111685214",
      "officialSlug": "agcapi-orderanalysisexport-0000001111685214",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/orderanalysisexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports orderanalysisexport --invoke",
        "show": "agc reports orderanalysisexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取付费下载明细的报表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:29.001Z",
        "status": "browser-read",
        "readCommand": "agc reports orderdetailexport --docs --pretty"
      },
      "rules": [
        {
          "maxDays": 180,
          "id": "report-date-window",
          "kind": "date_window",
          "fields": [
            "query.startTime",
            "query.endTime"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "message": "Report dates must be real YYYYMMDD dates in chronological order within the documented query interval.",
          "suggestion": "Use YYYYMMDD dates with endTime at or after startTime and no more than 180 days apart."
        },
        {
          "id": "ordered-filter-pairs",
          "kind": "equal_length",
          "fields": [
            "query.filterCondition",
            "query.filterConditionValue"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "message": "Each filterCondition must have a filterConditionValue at the same position.",
          "suggestion": "Repeat both query keys once per filter, preserving matching order."
        }
      ],
      "id": "orderdetailexport",
      "familyId": "reports",
      "name": "获取付费下载明细的报表",
      "description": "获取付费下载明细的报表CSV文件。",
      "method": "GET",
      "path": "/api/report/distribution-operation-quality/v1/orderDetailExport/{appId}",
      "command": "agc reports orderdetailexport",
      "requiredParams": [
        "appId",
        "language",
        "queryType",
        "startTime",
        "endTime",
        "filterCondition",
        "filterConditionValue"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section1250171775311",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "enum": [
            "zh-CN",
            "en-US",
            "ru-RU"
          ],
          "type": "string",
          "name": "language",
          "in": "query",
          "required": true,
          "description": "查询语言，报表title会根据不同语言来展现，只支持简体中文（zh-CN），美式英文（en-US），俄文（ru-RU）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "queryType",
          "in": "query",
          "required": true,
          "description": "查询日期类型。 0：按照购买时间查询 1：按照退款时间查询"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "type": "string",
          "name": "startTime",
          "in": "query",
          "required": true,
          "description": "查询开始时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "type": "string",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "查询结束时间，UTC时间，格式为YYYYMMDD。startTime和endTime之间不超过180天。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterCondition",
          "in": "query",
          "required": true,
          "description": "过滤器，目前支持countryId、orderID、orderStatus三种，可以进行组合，其中countryId必须包含。过滤器为countryId时，不支持多个国家，每次查询只支持一个国家。 URL示例：&filterCondition=countryId&filterCondition=orderID"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073#section886219295206",
          "itemsType": "string",
          "type": "array",
          "name": "filterConditionValue",
          "in": "query",
          "required": true,
          "description": "过滤器对应的值。 过滤器是“countryId”，此参数的取值为国家码的字符串数组，数组中每次只支持查询一个值，例如CN。具体国家码列表参考国家码。 过滤器是“orderID”，此参数的取值为订单ID，例如44rRFFrereere3343。 过滤器是“orderStatus”，此参数的取值可以为：0(已付)、 1(已退)、2(付款失败)、3(退款失败)、5(退款中)。 如果filterCondition传入多个过滤器，filterConditionValue的顺序必须对应。URL示例：filterConditionValue=CN&filterConditionValue=44rRFFrereere3343"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-orderdetailexport-0000001158245073",
      "officialSlug": "agcapi-orderdetailexport-0000001158245073",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/reports/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/reports/endpoints/orderdetailexport",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc reports orderdetailexport --invoke",
        "show": "agc reports orderdetailexport --pretty"
      }
    },
    {
      "documentation": {
        "title": "添加证书指纹",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218",
        "updatedAt": "2025-10-30 11:38",
        "checkedAt": "2026-10-07T02:56:30.244Z",
        "status": "browser-read",
        "readCommand": "agc projects addappfingerprint --docs --pretty"
      },
      "id": "addappfingerprint",
      "familyId": "projects",
      "name": "添加证书指纹",
      "description": "此接口用于设置应用的证书指纹信息。",
      "method": "PUT",
      "path": "/api/cds/app-distirbution/v1/all/app-extra-info/{appId}",
      "command": "agc projects addappfingerprint",
      "requiredParams": [
        "oauth2Token",
        "uid",
        "teamId",
        "appId",
        "addCertFingerprints"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218#section236517415165",
          "type": "string",
          "name": "oauth2Token",
          "in": "header",
          "required": true,
          "description": "认证信息，传入获取用户授权码中获取的Access Token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218#section236517415165",
          "type": "string",
          "name": "uid",
          "in": "header",
          "required": true,
          "description": "开发者账号ID，可通过查询开发者账号ID查询。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": true,
          "description": "应用归属的团队账号ID，可以通过获取应用简略信息接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218#section886219295206",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID。"
        },
        {
          "itemsPattern": "^[^:]*$",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218#section843129163214",
          "maxItems": 5,
          "itemsType": "string",
          "type": "array",
          "name": "addCertFingerprints",
          "in": "body",
          "required": true,
          "description": "需要添加的证书指纹，证书指纹中不能包含冒号。 1个应用最多只能有5个证书指纹。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addappfingerprint-0000001111685218",
      "officialSlug": "agcapi-addappfingerprint-0000001111685218",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/addappfingerprint",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects addappfingerprint --invoke --body body.json",
        "show": "agc projects addappfingerprint --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取应用简略信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T05:24:11.249Z",
        "status": "browser-read",
        "readCommand": "agc projects appbriefinfo --docs --pretty"
      },
      "rules": [
        {
          "unlessPresent": "query.appId",
          "minItems": 1,
          "maxItems": 100,
          "id": "application-package-count",
          "kind": "csv_count",
          "field": "query.packageNames",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "message": "packageNames accepts at most 100 nonempty comma-separated package names.",
          "suggestion": "Use at most 100 package names, or select applications with appId, which takes precedence."
        },
        {
          "id": "application-identity",
          "kind": "at_least_one",
          "fields": [
            "query.appId",
            "query.packageNames"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "message": "Supply appId or packageNames to select applications.",
          "suggestion": "Provide a comma-separated appId list or packageNames list; appId takes precedence when both exist."
        }
      ],
      "id": "appbriefinfo",
      "familyId": "projects",
      "name": "获取应用简略信息",
      "description": "批量查询应用简略信息。",
      "method": "GET",
      "path": "/api/cds/app-distirbution/v1/all/app-brief-info/list",
      "command": "agc projects appbriefinfo",
      "requiredParams": [
        "oauth2Token",
        "userID"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section236517415165",
          "type": "string",
          "name": "oauth2Token",
          "in": "header",
          "required": true,
          "description": "认证信息，传入获取用户授权码中获取的Access Token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section236517415165",
          "type": "integer",
          "name": "userID",
          "in": "header",
          "required": true,
          "description": "主账号用户id，即团队ID。通过获取团队列表接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": false,
          "description": "需要查询的应用ID列表，多个值间以半角逗号分隔。 appId和packageNames必须传一个，如果同时存在则以appId为准。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "type": "string",
          "name": "packageNames",
          "in": "query",
          "required": false,
          "description": "需要查询的应用包名，多个包名用逗号分隔，最大100个。 appId和packageNames必须传一个，如果同时存在则以appId为准。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "enum": [
            "1",
            "2",
            "4",
            "8",
            "9",
            "19",
            "23",
            "27",
            "28",
            "29",
            "30",
            "9998",
            "9999"
          ],
          "type": "string",
          "name": "appType",
          "in": "query",
          "required": false,
          "description": "应用类型。 1：移动应用(包括普通应用和游戏) 2：电视应用 4：路由器应用 8：华为VR应用 9：手表应用 19：RPK应用 23：大屏快应用 27：车机应用 28：车机快应用 29：运动手表 30：云游戏 9998：ios应用 9999：web应用"
        },
        {
          "pattern": "^(?:-999|-995|0|1|62|101|99999|9998|9997)(?:,(?:-999|-995|0|1|62|101|99999|9998|9997))*$",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "type": "string",
          "name": "appDistStatus",
          "in": "query",
          "required": false,
          "description": "应用分发状态列表，多个值间以半角逗号分隔。 -999：审核中 -995：升级中 0：不通过 1：已下架（含强制下架） 62：待上架 101：已上架（含升级不通过，申请下架失败） 99999：申请下架 9998：草稿 9997：已删除"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "minimum": 1,
          "type": "integer",
          "name": "fromRecCount",
          "in": "query",
          "required": false,
          "description": "起始页数。从1开始，表示第1个。如果不传，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "maximum": 1000,
          "type": "integer",
          "name": "maxReqCount",
          "in": "query",
          "required": false,
          "description": "每页返回条数；缺省20（最大1000）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106#section423141017508",
          "type": "string",
          "name": "sortType",
          "in": "query",
          "required": false,
          "description": "排序方式。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-appbriefinfo-0000001111845106",
      "officialSlug": "agcapi-appbriefinfo-0000001111845106",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/appbriefinfo",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects appbriefinfo --invoke",
        "show": "agc projects appbriefinfo --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取配置文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getconfigfile-0000001158365065",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:32.464Z",
        "status": "browser-read",
        "readCommand": "agc projects getconfigfile --docs --pretty"
      },
      "id": "getconfigfile",
      "familyId": "projects",
      "name": "获取配置文件",
      "description": "获取应用的配置文件。",
      "method": "GET",
      "path": "/api/cpms/project-management-service/v1/config-file",
      "command": "agc projects getconfigfile",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getconfigfile-0000001158365065#section886219295206",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "需要获取配置文件的应用ID，可以通过获取应用简略信息接口获取。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getconfigfile-0000001158365065",
      "officialSlug": "agcapi-getconfigfile-0000001158365065",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/getconfigfile",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects getconfigfile --invoke",
        "show": "agc projects getconfigfile --pretty"
      }
    },
    {
      "documentation": {
        "title": "获取团队列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getteamlist-0000001158245075",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:56:33.514Z",
        "status": "browser-read",
        "readCommand": "agc projects getteamlist --docs --pretty"
      },
      "id": "getteamlist",
      "familyId": "projects",
      "name": "获取团队列表",
      "description": "获取开发者的团队账号列表信息。",
      "method": "GET",
      "path": "/api/ups/user-permission-service/v1/user-team-list",
      "command": "agc projects getteamlist",
      "requiredParams": [
        "oauth2Token"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getteamlist-0000001158245075#section236517415165",
          "type": "string",
          "name": "oauth2Token",
          "in": "header",
          "required": true,
          "description": "认证信息，传入获取用户授权码中获取的Access Token。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getteamlist-0000001158245075",
      "officialSlug": "agcapi-getteamlist-0000001158245075",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/getteamlist",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects getteamlist --invoke",
        "show": "agc projects getteamlist --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询证书指纹和AppSecret",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:56:34.746Z",
        "status": "browser-read",
        "readCommand": "agc projects queryappfingerprint --docs --pretty"
      },
      "id": "queryappfingerprint",
      "familyId": "projects",
      "name": "查询证书指纹和AppSecret",
      "description": "此接口用于根据应用ID查询App Secret、证书指纹信息。",
      "method": "GET",
      "path": "/api/cds/app-distirbution/v1/all/app-extra-info/{appId}",
      "command": "agc projects queryappfingerprint",
      "requiredParams": [
        "oauth2Token",
        "uid",
        "teamId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077#section236517415165",
          "type": "string",
          "name": "oauth2Token",
          "in": "header",
          "required": true,
          "description": "认证信息，传入获取用户授权码中获取的Access Token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077#section236517415165",
          "type": "string",
          "name": "uid",
          "in": "header",
          "required": true,
          "description": "开发者账号ID，可通过查询开发者账号ID查询。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": true,
          "description": "应用归属的团队账号ID，可以通过获取应用简略信息接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077#section886219295206",
          "type": "string",
          "name": "appId",
          "in": "path",
          "required": true,
          "description": "应用ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryappfingerprint-0000001158245077",
      "officialSlug": "agcapi-queryappfingerprint-0000001158245077",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/queryappfingerprint",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects queryappfingerprint --invoke",
        "show": "agc projects queryappfingerprint --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询项目详情及项目下的应用",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectdetail-0000001158365067",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:36.578Z",
        "status": "browser-read",
        "readCommand": "agc projects queryprojectdetail --docs --pretty"
      },
      "id": "queryprojectdetail",
      "familyId": "projects",
      "name": "查询项目详情及项目下的应用",
      "description": "此接口用于查询指定项目的详细项目信息和项目下的应用列表信息。",
      "method": "GET",
      "path": "/api/project-service/v1/projects/{projectId}",
      "command": "agc projects queryprojectdetail",
      "requiredParams": [
        "projectId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectdetail-0000001158365067#section35551630174017",
          "type": "string",
          "name": "projectId",
          "in": "path",
          "required": true,
          "description": "需要查询的项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectdetail-0000001158365067#section886219295206",
          "enum": [
            "0",
            "1"
          ],
          "type": "string",
          "name": "queryFlag",
          "in": "query",
          "required": false,
          "description": "是否需要查询项目下的应用信息。 0：不需要 1：需要 如果不传，默认值：0，响应参数中将不会返回appList。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectdetail-0000001158365067",
      "officialSlug": "agcapi-queryprojectdetail-0000001158365067",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/queryprojectdetail",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects queryprojectdetail --invoke",
        "show": "agc projects queryprojectdetail --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询项目列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:37.663Z",
        "status": "browser-read",
        "readCommand": "agc projects queryprojectlist --docs --pretty"
      },
      "rules": [
        {
          "id": "oauth-team",
          "kind": "required_with",
          "field": "header.teamId",
          "fields": [
            "header.oauth2Token"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220#section236517415165",
          "message": "teamId is required with OAuth authorization.",
          "suggestion": "Supply the selected OAuth team ID in the teamId header."
        }
      ],
      "id": "queryprojectlist",
      "familyId": "projects",
      "name": "查询项目列表",
      "description": "此接口用于查询指定团队账号下的项目列表信息。",
      "method": "GET",
      "path": "/api/project-service/v1/projects",
      "command": "agc projects queryprojectlist",
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220#section236517415165",
          "type": "string",
          "name": "teamId",
          "in": "header",
          "required": false,
          "description": "需要查询的团队账号ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220#section886219295206",
          "type": "string",
          "name": "fromPage",
          "in": "query",
          "required": false,
          "description": "起始页，默认是1，表示从第1页开始查询。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220#section886219295206",
          "type": "string",
          "name": "pageSize",
          "in": "query",
          "required": false,
          "description": "每页查询的条数，默认值：100。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryprojectlist-0000001111685220",
      "officialSlug": "agcapi-queryprojectlist-0000001111685220",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/queryprojectlist",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects queryprojectlist --invoke",
        "show": "agc projects queryprojectlist --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询服务开通状态",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryservice-0000001111845108",
        "updatedAt": "2026-03-11 09:18",
        "checkedAt": "2026-10-07T02:56:38.722Z",
        "status": "browser-read",
        "readCommand": "agc projects queryservice --docs --pretty"
      },
      "id": "queryservice",
      "familyId": "projects",
      "name": "查询服务开通状态",
      "description": "此接口用于查询项目、应用开通的服务信息列表以及API的状态。",
      "method": "GET",
      "path": "/api/cpms/project-service/v1/services/order-api",
      "command": "agc projects queryservice",
      "requiredParams": [
        "projectId",
        "appID"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryservice-0000001111845108#section886219295206",
          "type": "string",
          "name": "projectId",
          "in": "query",
          "required": true,
          "description": "应用所在的项目ID，可以通过获取应用简略信息接口获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryservice-0000001111845108#section886219295206",
          "type": "integer",
          "name": "appID",
          "in": "query",
          "required": true,
          "description": "应用ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-queryservice-0000001111845108",
      "officialSlug": "agcapi-queryservice-0000001111845108",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/projects/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/projects/endpoints/queryservice",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc projects queryservice --invoke",
        "show": "agc projects queryservice --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询单个评论详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248",
        "updatedAt": "2025-10-24 16:14",
        "checkedAt": "2026-10-07T02:56:39.782Z",
        "status": "browser-read",
        "readCommand": "agc comments com-getreviewinfo --docs --pretty"
      },
      "id": "com-getreviewinfo",
      "familyId": "comments",
      "name": "查询单个评论详情",
      "description": "获取单个评论详情。",
      "method": "GET",
      "path": "/api/reviews/v1/manage/dev/reviews/{reviewId}",
      "command": "agc comments com-getreviewinfo",
      "requiredParams": [
        "reviewId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248#section3861044135212",
          "type": "string",
          "name": "reviewId",
          "in": "path",
          "required": true,
          "description": "评论ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248#section1268762644313",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248#section1268762644313",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求页码，默认1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248#section1268762644313",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条每页，默认20条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-0000001116028248",
      "officialSlug": "agcapi-com-getreviewinfo-0000001116028248",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-getreviewinfo",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-getreviewinfo --invoke",
        "show": "agc comments com-getreviewinfo --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询单个评论详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839",
        "updatedAt": "2026-04-29 19:20",
        "checkedAt": "2026-10-07T02:57:09.424Z",
        "status": "browser-read",
        "readCommand": "agc comments com-getreviewinfo-harmonyos --docs --pretty"
      },
      "id": "com-getreviewinfo-harmonyos",
      "familyId": "comments",
      "name": "查询单个评论详情",
      "description": "开发者查询对应鸿蒙应用下的单个评论详情及评论下的回复列表。",
      "method": "GET",
      "path": "/api/marketing-api/v2/reviews/manage/dev/reviews/{reviewId}",
      "command": "agc comments com-getreviewinfo-harmonyos",
      "requiredParams": [
        "reviewId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839#ZH-CN_TOPIC_0000002504053839__title1271mcpsimp",
          "type": "string",
          "name": "reviewId",
          "in": "path",
          "required": true,
          "description": "评论ID，可从查询应用评论列表接口中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839#ZH-CN_TOPIC_0000002504053839__title1301mcpsimp",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839#ZH-CN_TOPIC_0000002504053839__title1301mcpsimp",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求查询的页码，默认1。 例如，查询时page配置为2，limit配置为20，表示返回时每页显示20条评论数据，当前查询第2页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839#ZH-CN_TOPIC_0000002504053839__title1301mcpsimp",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条每页，默认20条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-getreviewinfo-harmonyos-0000002504053839",
      "officialSlug": "agcapi-com-getreviewinfo-harmonyos-0000002504053839",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-getreviewinfo-harmonyos",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-getreviewinfo-harmonyos --invoke",
        "show": "agc comments com-getreviewinfo-harmonyos --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用评分",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426",
        "updatedAt": "2025-10-24 16:14",
        "checkedAt": "2026-10-07T02:57:11.483Z",
        "status": "browser-read",
        "readCommand": "agc comments com-rating --docs --pretty"
      },
      "id": "com-rating",
      "familyId": "comments",
      "name": "查询应用评分",
      "description": "开发者查询对应应用下的评分列表及综合评分。",
      "method": "GET",
      "path": "/api/reviews/v1/manage/dev/ratings",
      "command": "agc comments com-rating",
      "requiredParams": [
        "appId",
        "beginTime",
        "endTime",
        "countries"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "integer",
          "format": "int64",
          "name": "beginTime",
          "in": "query",
          "required": true,
          "description": "开始时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "integer",
          "format": "int64",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "结束时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。 beginTime和endTime不能超过6个月的跨度。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "string",
          "name": "countries",
          "in": "query",
          "required": true,
          "description": "ISO国家码（例如：CN），多个国家码使用英文逗号分隔，但一次只能查询同一站点内的国家。取值请参考国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "string",
          "name": "apkVersions",
          "in": "query",
          "required": false,
          "description": "应用版本（例：a.b.c），为应用市场中应用显示的版本号。该参数不设置时默认查询所有版本的评论内容，否则请设置具体版本，查询多个版本的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "string",
          "name": "ratings",
          "in": "query",
          "required": false,
          "description": "评分（1~5），该参数不设置时默认查询所有评分的评论内容，否则请设置具体评分，查询多个评分的评论内容时使用英文逗号分隔。 例如： 如果传递参数“5”为查询所有评分为5的评论。 如果传递参数“4,5”为查询所有评分为4和5的评论。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "enum": [
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "sort",
          "in": "query",
          "required": false,
          "description": "排序方式，默认值：0。 0：BYTIME，按时间排序。 1：BYSCOREDESC，按分数降序。 2：BYSCOREASC，按分数排序。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求查询的页码，默认1。 例如，查询时page配置为2，limit配置为20，表示返回时每页显示20条评论数据，当前查询第2页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426#section1268762644313",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条每页，默认50条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-0000001133889426",
      "officialSlug": "agcapi-com-rating-0000001133889426",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-rating",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-rating --invoke",
        "show": "agc comments com-rating --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用评分列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921",
        "updatedAt": "2026-04-29 19:20",
        "checkedAt": "2026-10-07T02:57:13.089Z",
        "status": "browser-read",
        "readCommand": "agc comments com-rating-harmonyos --docs --pretty"
      },
      "id": "com-rating-harmonyos",
      "familyId": "comments",
      "name": "查询应用评分列表",
      "description": "开发者查询对应鸿蒙应用下的评分列表。",
      "method": "GET",
      "path": "/api/marketing-api/v2/reviews/manage/dev/ratings",
      "command": "agc comments com-rating-harmonyos",
      "requiredParams": [
        "appId",
        "beginTime",
        "endTime",
        "countries"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "integer",
          "format": "int64",
          "name": "beginTime",
          "in": "query",
          "required": true,
          "description": "开始时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "integer",
          "format": "int64",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "结束时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。 说明 beginTime和endTime之间不能超过6个月的跨度。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "string",
          "name": "countries",
          "in": "query",
          "required": true,
          "description": "国家码（例如：CN），多个国家码使用英文逗号分隔，但一次只能查询同一站点内的国家。取值请参考国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "string",
          "name": "ratings",
          "in": "query",
          "required": false,
          "description": "评分（1~5），该参数不设置时默认查询所有评分的评论内容，否则请设置具体评分，查询多个评分的评论内容时使用英文逗号分隔。 例如： 如果传递参数“5”，则查询所有评分为5的评论。 如果传递参数“4,5”，则查询所有评分为4和5的评论。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "string",
          "name": "appVersions",
          "in": "query",
          "required": false,
          "description": "应用版本（例：a.b.c），为应用市场中应用显示的版本号。 该参数不设置时，默认查询所有版本的评论内容，否则请设置具体版本，查询多个版本的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "enum": [
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "sort",
          "in": "query",
          "required": false,
          "description": "排序方式，默认值：0。 0：BYTIME，按时间降序排序。 1：BYSCOREDESC，按分数降序排序。 2：BYSCOREASC，按分数升序排序。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求查询的页码，默认1。 例如，查询时page配置为2，limit配置为20，表示返回时每页显示20条评论数据，当前查询第2页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921#ZH-CN_TOPIC_0000002503933921__title153mcpsimp",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条。每页默认50条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-rating-harmonyos-0000002503933921",
      "officialSlug": "agcapi-com-rating-harmonyos-0000002503933921",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-rating-harmonyos",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-rating-harmonyos --invoke",
        "show": "agc comments com-rating-harmonyos --pretty"
      }
    },
    {
      "documentation": {
        "title": "回复评论和回复",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117",
        "updatedAt": "2025-10-24 16:14",
        "checkedAt": "2026-10-07T02:57:14.451Z",
        "status": "browser-read",
        "readCommand": "agc comments com-reviewreply --docs --pretty"
      },
      "rules": [
        {
          "id": "reply-target-exclusive",
          "kind": "at_most_one",
          "fields": [
            "body.toReplyId",
            "body.updateReplyId"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "message": "toReplyId and updateReplyId cannot both be supplied.",
          "suggestion": "Choose whether to reply to a user reply or modify an existing developer reply, and provide only its corresponding ID."
        }
      ],
      "id": "com-reviewreply",
      "familyId": "comments",
      "name": "回复评论和回复",
      "description": "开发者在自己的应用下回复用户的评论，并继续回复用户的回复。",
      "method": "POST",
      "path": "/api/reviews/v1/manage/dev/reviews",
      "command": "agc comments com-reviewreply",
      "requiredParams": [
        "requestId",
        "lang",
        "appId",
        "reviewId",
        "devReplyContent",
        "countryCode"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section62259187482",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度64个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言（例：zh_CN），由语言（采用ISO-639-1标准）和国家/地区代码（参考国家码）中间加下划线\"_\"组成。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "reviewId",
          "in": "body",
          "required": true,
          "description": "评论ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "devReplyContent",
          "in": "body",
          "required": true,
          "description": "回复内容。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "countryCode",
          "in": "body",
          "required": true,
          "description": "ISO标准国家码，取值请参考国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "toReplyId",
          "in": "body",
          "required": false,
          "description": "回复ID（非必传参数，传递这个参数说明回复的是用户的回复）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117#section739714276488",
          "type": "string",
          "name": "updateReplyId",
          "in": "body",
          "required": false,
          "description": "回复ID（非必传参数，传递这个参数说明是对回复的修改）。 toReplyId和updateReplyId不能同时传递。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-0000001162548117",
      "officialSlug": "agcapi-com-reviewreply-0000001162548117",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-reviewreply",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-reviewreply --invoke --body body.json",
        "show": "agc comments com-reviewreply --pretty"
      }
    },
    {
      "documentation": {
        "title": "回复评论和回复",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974",
        "updatedAt": "2026-07-30 11:38",
        "checkedAt": "2026-10-07T02:57:15.378Z",
        "status": "browser-read",
        "readCommand": "agc comments com-reviewreply-harmonyos --docs --pretty"
      },
      "id": "com-reviewreply-harmonyos",
      "familyId": "comments",
      "name": "回复评论和回复",
      "description": "开发者在自己的鸿蒙应用下回复用户的评论，并支持继续回复用户的回复。",
      "method": "POST",
      "path": "/api/marketing-api/v2/",
      "command": "agc comments com-reviewreply-harmonyos",
      "requiredParams": [
        "lang",
        "appId",
        "reviewId",
        "devReplyContent",
        "countryCode"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "enum": [
            "zh",
            "en",
            "bo",
            "ug"
          ],
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，支持： zh：中文 en：英文 bo：藏语 ug：维吾尔语"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "应用ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "type": "integer",
          "format": "int64",
          "name": "reviewId",
          "in": "body",
          "required": true,
          "description": "评论ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "type": "string",
          "name": "devReplyContent",
          "in": "body",
          "required": true,
          "description": "回复内容。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "type": "string",
          "name": "countryCode",
          "in": "body",
          "required": true,
          "description": "ISO标准国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974#ZH-CN_TOPIC_0000002471053974__title542mcpsimp",
          "type": "string",
          "name": "toReplyId",
          "in": "body",
          "required": false,
          "description": "回复ID。 说明 非必传参数，传递这个参数说明回复的是用户的回复。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-com-reviewreply-harmonyos-0000002471053974",
      "officialSlug": "agcapi-com-reviewreply-harmonyos-0000002471053974",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/com-reviewreply-harmonyos",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments com-reviewreply-harmonyos --invoke --body body.json",
        "show": "agc comments com-reviewreply-harmonyos --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询评论列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139",
        "updatedAt": "2025-10-24 16:14",
        "checkedAt": "2026-10-07T02:57:17.010Z",
        "status": "browser-read",
        "readCommand": "agc comments comapi-getreviews --docs --pretty"
      },
      "id": "comapi-getreviews",
      "familyId": "comments",
      "name": "查询评论列表",
      "description": "开发者查询对应应用下的评论列表。",
      "method": "GET",
      "path": "/api/reviews/v1/manage/dev/reviews",
      "command": "agc comments comapi-getreviews",
      "requiredParams": [
        "appId",
        "beginTime",
        "endTime",
        "countries"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "content",
          "in": "query",
          "required": false,
          "description": "评论内容的关键词，支持模糊匹配。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "integer",
          "format": "int64",
          "name": "beginTime",
          "in": "query",
          "required": true,
          "description": "开始时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "integer",
          "format": "int64",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "结束时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。 beginTime和endTime不能超过6个月的跨度。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "countries",
          "in": "query",
          "required": true,
          "description": "国家码（例如：CN），多个国家码使用英文逗号分隔，但一次只能查询同一站点内的国家。取值请参考国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "ratings",
          "in": "query",
          "required": false,
          "description": "评分（1~5），该参数不设置时默认查询所有评分的评论内容，否则请设置具体评分，查询多个评分的评论内容时使用英文逗号分隔。 例如： 如果传递参数“5”为查询所有评分为5的评论。 如果传递参数“4,5”为查询所有评分为4和5的评论。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "apkVersions",
          "in": "query",
          "required": false,
          "description": "应用版本（例：a.b.c），为应用市场中应用显示的版本号。该参数不设置时默认查询所有版本的评论内容，否则请设置具体版本，查询多个版本的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "auditStates",
          "in": "query",
          "required": false,
          "description": "已废弃。 审核状态，该参数不设置时默认查询所有审核状态的评论内容。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "devReplyStates",
          "in": "query",
          "required": false,
          "description": "答复状态，该参数不设置时默认查询所有答复状态的评论内容。 0：未答复，用户提交评论后的状态。 1：已答复，开发者已针对该评论发表了答复。 6：用户追加回复开发者，用户针对开发者的答复内容进行了追加回复。 3：答复内容被回复，开发者针对用户追加的回复进行了答复。 可以查询多个答复状态的评论数据，多个答复状态之间使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "string",
          "name": "langs",
          "in": "query",
          "required": false,
          "description": "语言（例：zh_CN），由语言（采用ISO-639-1标准）和国家/地区代码（参考国家码）中间加下划线\"_\"组成。 该参数不设置时默认查询所有语言类型的评论内容，否则请设置具体语言，查询多个语言的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "enum": [
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "sort",
          "in": "query",
          "required": false,
          "description": "排序方式，默认值：0。 0：BYTIME，按时间排序。 1：BYSCOREDESC，按分数降序。 2：BYSCOREASC，按分数排序。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求查询的页码，默认1。 例如，查询时page配置为2，limit配置为20，表示返回时每页显示20条评论数据，当前查询第2页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139#section126711053144817",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条每页，默认20条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-0000001162468139",
      "officialSlug": "agcapi-comapi-getreviews-0000001162468139",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/comapi-getreviews",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments comapi-getreviews --invoke",
        "show": "agc comments comapi-getreviews --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询应用评论列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976",
        "updatedAt": "2026-04-29 19:20",
        "checkedAt": "2026-10-07T02:57:18.274Z",
        "status": "browser-read",
        "readCommand": "agc comments comapi-getreviews-harmonyos --docs --pretty"
      },
      "id": "comapi-getreviews-harmonyos",
      "familyId": "comments",
      "name": "查询应用评论列表",
      "description": "开发者查询对应鸿蒙应用下的评论列表。",
      "method": "GET",
      "path": "/api/marketing-api/v2/reviews/manage/dev/reviews",
      "command": "agc comments comapi-getreviews-harmonyos",
      "requiredParams": [
        "appId",
        "beginTime",
        "endTime",
        "countries"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "content",
          "in": "query",
          "required": false,
          "description": "评论内容的关键词，支持模糊匹配。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "integer",
          "format": "int64",
          "name": "beginTime",
          "in": "query",
          "required": true,
          "description": "开始时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "integer",
          "format": "int64",
          "name": "endTime",
          "in": "query",
          "required": true,
          "description": "结束时间的时间戳，从1970/01/01 08:00:00开始计算的毫秒数。 说明 beginTime和endTime之间不能超过6个月的跨度。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "countries",
          "in": "query",
          "required": true,
          "description": "国家码（例如：CN），多个国家码使用英文逗号分隔，但一次只能查询同一站点内的国家。取值请参考国家码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "ratings",
          "in": "query",
          "required": false,
          "description": "评分（1~5），该参数不设置时默认查询所有评分的评论内容，否则请设置具体评分，查询多个评分的评论内容时使用英文逗号分隔。 例如： 如果传递参数“5”，则查询所有评分为5的评论。 如果传递参数“4,5”，则查询所有评分为4和5的评论。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "appVersions",
          "in": "query",
          "required": false,
          "description": "应用版本（例：a.b.c），为应用市场中应用显示的版本号。 该参数不设置时，默认查询所有版本的评论内容，否则请设置具体版本，查询多个版本的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "devReplyStates",
          "in": "query",
          "required": false,
          "description": "答复状态，该参数不设置时默认查询所有答复状态的评论内容。 0：未答复，用户提交评论后的状态。 1：已答复，开发者已针对该评论发表了答复。 6：用户追加回复开发者，用户针对开发者的答复内容进行了追加回复。 3：答复内容被回复，开发者针对用户追加的回复进行了答复。 可以查询多个答复状态的评论数据，多个答复状态之间使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "string",
          "name": "langs",
          "in": "query",
          "required": false,
          "description": "语言（例：zh），采用ISO-639-1标准。 该参数不设置时默认查询所有语言类型的评论内容，否则请设置具体语言，查询多个语言的评论内容时使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "enum": [
            "0",
            "1",
            "2"
          ],
          "type": "integer",
          "name": "sort",
          "in": "query",
          "required": false,
          "description": "排序方式，默认值：0。 0：BYTIME，按时间降序排序。 1：BYSCOREDESC，按分数降序排序。 2：BYSCOREASC，按分数升序排序。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求查询的页码，默认1。 例如，查询时page配置为2，limit配置为20，表示返回时每页显示20条评论数据，当前查询第2页。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976#ZH-CN_TOPIC_0000002470893976__title958mcpsimp",
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "每页请求数目，最大100条每页，默认20条。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-comapi-getreviews-harmonyos-0000002470893976",
      "officialSlug": "agcapi-comapi-getreviews-harmonyos-0000002470893976",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/comments/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/comments/endpoints/comapi-getreviews-harmonyos",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc comments comapi-getreviews-harmonyos --invoke",
        "show": "agc comments comapi-getreviews-harmonyos --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-android-0000002171407001",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:19.778Z",
        "status": "browser-read",
        "readCommand": "agc pms addproduct-android --docs --pretty"
      },
      "id": "addproduct-android",
      "familyId": "pms",
      "name": "创建商品",
      "description": "此接口用于创建商品定义信息，包含商品价格，展示语言等。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product",
      "command": "agc pms addproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "product"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-android-0000002171407001#section983512465111",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-android-0000002171407001#section18899113085213",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-android-0000002171407001#section18899113085213",
          "type": "object",
          "name": "product",
          "in": "body",
          "required": true,
          "description": "商品信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-android-0000002171407001",
      "officialSlug": "agcapi-addproduct-android-0000002171407001",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addproduct-android --invoke --body body.json",
        "show": "agc pms addproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-harmonyosnext-0000002131508844",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T02:57:21.491Z",
        "status": "browser-read",
        "readCommand": "agc pms addproduct-harmonyosnext --docs --pretty"
      },
      "id": "addproduct-harmonyosnext",
      "familyId": "pms",
      "name": "创建商品",
      "description": "此接口用于创建商品定义信息，包含商品价格，展示语言等。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product",
      "command": "agc pms addproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "product"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-harmonyosnext-0000002131508844#section983512465111",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-harmonyosnext-0000002131508844#section18899113085213",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-harmonyosnext-0000002131508844#section18899113085213",
          "type": "object",
          "name": "product",
          "in": "body",
          "required": true,
          "description": "商品信息。"
        }
      ],
      "body": "requestId,product",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproduct-harmonyosnext-0000002131508844",
      "officialSlug": "agcapi-addproduct-harmonyosnext-0000002131508844",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms addproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-android-0000002135929308",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:23.062Z",
        "status": "browser-read",
        "readCommand": "agc pms addproductgroup-android --docs --pretty"
      },
      "id": "addproductgroup-android",
      "familyId": "pms",
      "name": "创建商品订阅分组信息",
      "description": "此接口用于创建商品订阅分组信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/group",
      "command": "agc pms addproductgroup-android",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-android-0000002135929308#section35001623704",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-android-0000002135929308#section1039611495218",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-android-0000002135929308#section1039611495218",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品订阅分组信息。"
        }
      ],
      "body": "requestId,resource",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-android-0000002135929308",
      "officialSlug": "agcapi-addproductgroup-android-0000002135929308",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addproductgroup-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addproductgroup-android --invoke --body body.json",
        "show": "agc pms addproductgroup-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-harmonyosnext-0000002166748605",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:24.580Z",
        "status": "browser-read",
        "readCommand": "agc pms addproductgroup-harmonyosnext --docs --pretty"
      },
      "id": "addproductgroup-harmonyosnext",
      "familyId": "pms",
      "name": "创建商品订阅分组信息",
      "description": "此接口用于创建商品订阅分组信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/group",
      "command": "agc pms addproductgroup-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-harmonyosnext-0000002166748605#section35001623704",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-harmonyosnext-0000002166748605#section1039611495218",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-harmonyosnext-0000002166748605#section1039611495218",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品订阅分组信息。"
        }
      ],
      "body": "requestId,resource",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addproductgroup-harmonyosnext-0000002166748605",
      "officialSlug": "agcapi-addproductgroup-harmonyosnext-0000002166748605",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addproductgroup-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addproductgroup-harmonyosnext --invoke --body body.json",
        "show": "agc pms addproductgroup-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-android-0000002171407021",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:25.861Z",
        "status": "browser-read",
        "readCommand": "agc pms addpromotion-android --docs --pretty"
      },
      "id": "addpromotion-android",
      "familyId": "pms",
      "name": "创建商品促销信息",
      "description": "此接口用于创建商品促销信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion",
      "command": "agc pms addpromotion-android",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-android-0000002171407021#section1792174114120",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-android-0000002171407021#section1166073246",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-android-0000002171407021#section1166073246",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品促销价格信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-android-0000002171407021",
      "officialSlug": "agcapi-addpromotion-android-0000002171407021",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addpromotion-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addpromotion-android --invoke --body body.json",
        "show": "agc pms addpromotion-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "创建商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-harmonyosnext-0000002131508856",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:27.930Z",
        "status": "browser-read",
        "readCommand": "agc pms addpromotion-harmonyosnext --docs --pretty"
      },
      "id": "addpromotion-harmonyosnext",
      "familyId": "pms",
      "name": "创建商品促销信息",
      "description": "此接口用于创建商品促销信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion",
      "command": "agc pms addpromotion-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-harmonyosnext-0000002131508856#section1792174114120",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-harmonyosnext-0000002131508856#section1166073246",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-harmonyosnext-0000002131508856#section1166073246",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品促销价格信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-addpromotion-harmonyosnext-0000002131508856",
      "officialSlug": "agcapi-addpromotion-harmonyosnext-0000002131508856",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/addpromotion-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms addpromotion-harmonyosnext --invoke --body body.json",
        "show": "agc pms addpromotion-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询关联APP已有商品类型",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basicapplication-harmonyosnext-0000002131519928",
        "updatedAt": "2025-08-18 14:34",
        "checkedAt": "2026-10-07T02:57:29.364Z",
        "status": "browser-read",
        "readCommand": "agc pms basicapplication-harmonyosnext --docs --pretty"
      },
      "id": "basicapplication-harmonyosnext",
      "familyId": "pms",
      "name": "查询关联APP已有商品类型",
      "description": "此接口用于查询关联APP已有商品类型。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v2/manage/application/basic",
      "command": "agc pms basicapplication-harmonyosnext",
      "requiredParams": [
        "appId",
        "purchaseType",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basicapplication-harmonyosnext-0000002131519928#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basicapplication-harmonyosnext-0000002131519928#section48988321545",
          "type": "string",
          "name": "purchaseType",
          "in": "body",
          "required": true,
          "description": "商品类型。如果查多种商品类型，使用英文逗号分隔，取值如下： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 non_renewing_subscription：非续期订阅型"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basicapplication-harmonyosnext-0000002131519928#section48988321545",
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basicapplication-harmonyosnext-0000002131519928",
      "officialSlug": "agcapi-basicapplication-harmonyosnext-0000002131519928",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/basicapplication-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms basicapplication-harmonyosnext --invoke",
        "show": "agc pms basicapplication-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量激活商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-android-0000002171288617",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:30.912Z",
        "status": "browser-read",
        "readCommand": "agc pms batchactproduct-android --docs --pretty"
      },
      "id": "batchactproduct-android",
      "familyId": "pms",
      "name": "批量激活商品",
      "description": "此接口用于批量激活商品。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/batchActive",
      "command": "agc pms batchactproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-android-0000002171288617#section7926166412",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-android-0000002171288617#section7821124016311",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-android-0000002171288617#section7821124016311",
          "itemsType": "string",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品标识，只有下线状态的商品才能被激活。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-android-0000002171288617",
      "officialSlug": "agcapi-batchactproduct-android-0000002171288617",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchactproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchactproduct-android --invoke --body body.json",
        "show": "agc pms batchactproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量激活商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-harmonyosnext-0000002131350712",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T02:57:32.221Z",
        "status": "browser-read",
        "readCommand": "agc pms batchactproduct-harmonyosnext --docs --pretty"
      },
      "id": "batchactproduct-harmonyosnext",
      "familyId": "pms",
      "name": "批量激活商品",
      "description": "此接口用于批量激活商品 ， 生效已下线商品，已结束的促销不会重新生效 。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/batchActive",
      "command": "agc pms batchactproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-harmonyosnext-0000002131350712#section7926166412",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-harmonyosnext-0000002131350712#section7821124016311",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-harmonyosnext-0000002131350712#section7821124016311",
          "itemsType": "string",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品标识，只有下线状态的商品才能被激活。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactproduct-harmonyosnext-0000002131350712",
      "officialSlug": "agcapi-batchactproduct-harmonyosnext-0000002131350712",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchactproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchactproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchactproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量上线商品促销活动",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-android-0000002171407025",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:33.713Z",
        "status": "browser-read",
        "readCommand": "agc pms batchactpromotion-android --docs --pretty"
      },
      "id": "batchactpromotion-android",
      "familyId": "pms",
      "name": "批量上线商品促销活动",
      "description": "此接口用于批量上线商品促销活动。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion/batchActive",
      "command": "agc pms batchactpromotion-android",
      "requiredParams": [
        "appId",
        "requestId",
        "promotions"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-android-0000002171407025#section191801561027",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-android-0000002171407025#section37798271043",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-android-0000002171407025#section37798271043",
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "promotions",
          "in": "body",
          "required": true,
          "description": "商品促销ID列表，促销ID长度最大32字符，列表中不超过100个促销ID。"
        }
      ],
      "body": "requestId,promotions",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-android-0000002171407025",
      "officialSlug": "agcapi-batchactpromotion-android-0000002171407025",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchactpromotion-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchactpromotion-android --invoke --body body.json",
        "show": "agc pms batchactpromotion-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量上线商品促销活动",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-harmonyosnext-0000002131508860",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:57:34.992Z",
        "status": "browser-read",
        "readCommand": "agc pms batchactpromotion-harmonyosnext --docs --pretty"
      },
      "id": "batchactpromotion-harmonyosnext",
      "familyId": "pms",
      "name": "批量上线商品促销活动",
      "description": "此接口用于批量上线商品促销活动。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion/batchActive",
      "command": "agc pms batchactpromotion-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "promotions"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-harmonyosnext-0000002131508860#section191801561027",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-harmonyosnext-0000002131508860#section37798271043",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-harmonyosnext-0000002131508860#section37798271043",
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "promotions",
          "in": "body",
          "required": true,
          "description": "商品促销ID列表，促销ID长度最大32字符，列表中不超过100个促销ID。"
        }
      ],
      "body": "requestId,promotions",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchactpromotion-harmonyosnext-0000002131508860",
      "officialSlug": "agcapi-batchactpromotion-harmonyosnext-0000002131508860",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchactpromotion-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchactpromotion-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchactpromotion-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量创建商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-android-0000002171288605",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T02:57:38.960Z",
        "status": "browser-read",
        "readCommand": "agc pms batchaddproduct-android --docs --pretty"
      },
      "id": "batchaddproduct-android",
      "familyId": "pms",
      "name": "批量创建商品",
      "description": "此接口用于批量创建商品定义信息，展示语言，商品价格，促销活动信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/batchImportProducts",
      "command": "agc pms batchaddproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-android-0000002171288605#section167710014",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-android-0000002171288605#section19451915006",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "itemsRules": [
            {
              "id": "subscription-subGroupId",
              "kind": "required_if",
              "field": "body.subGroupId",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subGroupId is required for auto_subscription",
              "suggestion": "Supply subGroupId using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriod",
              "kind": "required_if",
              "field": "body.subPeriod",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subPeriod is required for auto_subscription",
              "suggestion": "Supply subPeriod using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriodUnit",
              "kind": "required_if",
              "field": "body.subPeriodUnit",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subPeriodUnit is required for auto_subscription",
              "suggestion": "Supply subPeriodUnit using the subscription group and period documented by ProductImportInfo."
            }
          ],
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "productNo",
              "in": "body",
              "required": true,
              "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "active",
                "inactive"
              ],
              "type": "string",
              "name": "status",
              "in": "body",
              "required": false,
              "description": "商品状态，支持创建active和inactive状态的商品默认值：inactive。取值如下： active：上线 inactive：下线"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "maxLength": 55,
              "type": "string",
              "name": "productName",
              "in": "body",
              "required": true,
              "description": "商品名称，支持多语言配置，根据defaultLocale配置此处的商品名称。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "maxLength": 100,
              "type": "string",
              "name": "productDesc",
              "in": "body",
              "required": true,
              "description": "默认商品描述信息。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "consumable",
                "auto_subscription",
                "non_consumable"
              ],
              "type": "string",
              "name": "purchaseType",
              "in": "body",
              "required": true,
              "description": "商品类型，取值范围： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "subGroupId",
              "in": "body",
              "required": false,
              "description": "订阅分组ID，purchaseType为auto_subscription时必须传入，依赖于已调用创建商品订阅分组信息接口创建订阅分组。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "subPeriod",
              "in": "body",
              "required": false,
              "description": "订购周期，purchaseType为auto_subscription时必须传入。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "D",
                "W",
                "M",
                "Y"
              ],
              "type": "string",
              "name": "subPeriodUnit",
              "in": "body",
              "required": false,
              "description": "订购周期单位，purchaseType为auto_subscription时必须传入。采用ISO 8601格式指定，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 例如：订阅周期为2个月，则subPeriod=2， subPeriodUnit=M。 更新时不能修改。 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "force",
              "in": "body",
              "required": false,
              "description": "自动续期型商品，价格变更之后，对于已订阅用户是否强制涨价。不传默认值：0。 0：不强制 1：强制"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "defaultLocale",
              "in": "body",
              "required": true,
              "description": "默认语言环境，请参见国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，具体请参见国家/地区、语言、币种列表，默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "商品原始价格，如果商品为上线状态，则此字段不能为空。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "currency",
                  "in": "body",
                  "required": true,
                  "description": "用于支付的币种，请参见国家/地区、语言、币种列表。 例如：USD、CNY、MYR。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "object",
              "name": "defaultPriceInfo",
              "in": "body",
              "required": false,
              "description": "默认价格信息。如果未传入，则会默认设置此对象中的Country为CN，Currency为CNY。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "type": "string",
                  "name": "locale",
                  "in": "body",
                  "required": true,
                  "description": "语言环境，请参考国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "maxLength": 55,
                  "type": "string",
                  "name": "productName",
                  "in": "body",
                  "required": true,
                  "description": "商品名称。不支持特殊字符|。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "maxLength": 100,
                  "type": "string",
                  "name": "productDesc",
                  "in": "body",
                  "required": true,
                  "description": "商品描述。不支持特殊字符|。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "object",
              "type": "array",
              "name": "languages",
              "in": "body",
              "required": false,
              "description": "商品多语言信息。 如果未传值，则通过默认的productName、productDesc和defaultLocale构造。 如果传入了该列表，当列表内某一ProductLanguageInfo对象的locale的值等于当前ProductImportInfo内defaultLocale的值时，需保证该对象内productName和productDesc的值分别与当前ProductImportInfo内productName和productDesc的值一致。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-android-0000002171288645",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，请参见国家/地区、语言、币种列表，例如CN。 默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-android-0000002171288645",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": true,
                  "description": "定价，单位为分。 例如：1.99元此参数需要传入199。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "object",
              "type": "array",
              "name": "prices",
              "in": "body",
              "required": false,
              "description": "自定义价格。如果传入了该列表，则必须传入DefaultProductPriceInfo对象中的price字段。 说明 更新场景时，仅更新该列表中的价格，不自动刷新其他国家价格。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "promotionId",
                  "in": "body",
                  "required": false,
                  "description": "优惠唯一ID，批量创建时不需要传入，更新时必传。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "promotionTitle",
                  "in": "body",
                  "required": true,
                  "description": "促销名称。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "开始优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "结束优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "status",
                  "in": "body",
                  "required": false,
                  "description": "促销状态，取值如下，默认值：inactive。 active：上线 inactive：下线"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "strategy",
                  "in": "body",
                  "required": true,
                  "description": "促销策略类型： trial：免费试用 说明 仅当关联商品的purchaseType为auto_subscription类型时支持配置trial。 introductory：按周期扣费"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "默认促销价格，单位为分，strategy取值为introductory时，必须传入。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "numberOfUnits",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期数。如优惠两个月，numberOfUnits=2， periodUnit=M"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "periodUnit",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期单位： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "itemsType": "object",
                  "type": "array",
                  "name": "languages",
                  "in": "body",
                  "required": false,
                  "description": "各个国家的语言信息。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "itemsType": "object",
                  "type": "array",
                  "name": "promotionPrice",
                  "in": "body",
                  "required": true,
                  "description": "各个国家的自定义价格信息。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "object",
              "name": "promotion",
              "in": "body",
              "required": false,
              "description": "促销信息。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "string",
              "type": "array",
              "name": "salesCountry",
              "in": "body",
              "required": false,
              "description": "销售国家/地区。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "autoAddSaleCountry",
              "in": "body",
              "required": false,
              "description": "是否启用自动添加销售国家或地区，默认值：0。 1：是 0：否"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-android-0000002171288605#section19451915006",
          "itemsType": "object",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品列表信息。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-android-0000002171288605",
      "officialSlug": "agcapi-batchaddproduct-android-0000002171288605",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchaddproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchaddproduct-android --invoke --body body.json",
        "show": "agc pms batchaddproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量创建商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-harmonyosnext-0000002131350704",
        "updatedAt": "2025-08-15 09:52",
        "checkedAt": "2026-10-07T02:57:41.958Z",
        "status": "browser-read",
        "readCommand": "agc pms batchaddproduct-harmonyosnext --docs --pretty"
      },
      "id": "batchaddproduct-harmonyosnext",
      "familyId": "pms",
      "name": "批量创建商品",
      "description": "此接口用于批量创建商品定义信息，展示语言，商品价格，促销活动信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/batchImportProducts",
      "command": "agc pms batchaddproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-harmonyosnext-0000002131350704#section167710014",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-harmonyosnext-0000002131350704#section19451915006",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "itemsRules": [
            {
              "id": "subscription-subGroupId",
              "kind": "required_if",
              "field": "body.subGroupId",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subGroupId is required for auto_subscription",
              "suggestion": "Supply subGroupId using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriod",
              "kind": "required_if",
              "field": "body.subPeriod",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subPeriod is required for auto_subscription",
              "suggestion": "Supply subPeriod using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriodUnit",
              "kind": "required_if",
              "field": "body.subPeriodUnit",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subPeriodUnit is required for auto_subscription",
              "suggestion": "Supply subPeriodUnit using the subscription group and period documented by ProductImportInfo."
            }
          ],
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "productNo",
              "in": "body",
              "required": true,
              "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "drafts"
              ],
              "type": "string",
              "name": "status",
              "in": "body",
              "required": false,
              "description": "商品状态，取值如下： drafts: 草稿，仅在批量创建时支持。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "maxLength": 55,
              "type": "string",
              "name": "productName",
              "in": "body",
              "required": true,
              "description": "商品名称，支持多语言配置，根据defaultLocale配置此处的商品名称。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "maxLength": 100,
              "type": "string",
              "name": "productDesc",
              "in": "body",
              "required": true,
              "description": "默认商品描述信息。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "consumable",
                "auto_subscription",
                "non_consumable",
                "non-renewing-subscription"
              ],
              "type": "string",
              "name": "purchaseType",
              "in": "body",
              "required": true,
              "description": "商品类型，取值范围： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 non-renewing-subscription：非续期订阅型 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "subGroupId",
              "in": "body",
              "required": false,
              "description": "订阅分组ID，purchaseType为auto_subscription时必须传入，依赖于已调用创建商品订阅分组信息接口创建订阅分组。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "subPeriod",
              "in": "body",
              "required": false,
              "description": "订购周期，purchaseType为auto_subscription时必须传入。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "D",
                "W",
                "M",
                "Y"
              ],
              "type": "string",
              "name": "subPeriodUnit",
              "in": "body",
              "required": false,
              "description": "订购周期单位，purchaseType为auto_subscription时必须传入。采用ISO 8601格式指定，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 例如：订阅周期为2个月，则subPeriod=2， subPeriodUnit=M。 更新时不能修改。 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "force",
              "in": "body",
              "required": false,
              "description": "自动续期型商品，价格变更之后，对于已订阅用户是否强制涨价。不传默认值：0。 0：不强制 1：强制"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "defaultLocale",
              "in": "body",
              "required": true,
              "description": "默认语言环境，请参见国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，具体请参见国家/地区、语言、币种列表，默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "商品原始价格，如果商品为上线状态，则此字段不能为空。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "currency",
                  "in": "body",
                  "required": true,
                  "description": "用于支付的币种，请参见国家/地区、语言、币种列表。 例如：USD、CNY、MYR。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "object",
              "name": "defaultPriceInfo",
              "in": "body",
              "required": false,
              "description": "默认价格信息。如果未传入，则会默认设置此对象中的Country为CN，Currency为CNY。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "type": "string",
                  "name": "locale",
                  "in": "body",
                  "required": true,
                  "description": "语言环境，请参考国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "maxLength": 55,
                  "type": "string",
                  "name": "productName",
                  "in": "body",
                  "required": true,
                  "description": "商品名称。不支持特殊字符|。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "maxLength": 100,
                  "type": "string",
                  "name": "productDesc",
                  "in": "body",
                  "required": true,
                  "description": "商品描述。不支持特殊字符|。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "object",
              "type": "array",
              "name": "languages",
              "in": "body",
              "required": false,
              "description": "商品多语言信息。 如果未传值，则通过默认的productName、productDesc和defaultLocale构造。 如果传入了该列表，当列表内某一ProductLanguageInfo对象的locale的值等于当前ProductImportInfo内defaultLocale的值时，需保证该对象内productName和productDesc的值分别与当前ProductImportInfo内productName和productDesc的值一致。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，请参见国家/地区、语言、币种列表，例如CN。 默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": true,
                  "description": "定价，单位为分。 例如：1.99元此参数需要传入199。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "价格调整开始时间。默认值：当前时间。 说明 价格调整计划必须连续，开始时间必须等于上一个调整计划的结束时间。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "价格调整结束时间。若不填写结束时间，则默认值：永久。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "tag",
                  "in": "body",
                  "required": true,
                  "description": "价格调整标识。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "object",
              "type": "array",
              "name": "prices",
              "in": "body",
              "required": false,
              "description": "自定义价格。如果传入了该列表，则必须传入DefaultProductPriceInfo对象中的price字段。 说明 更新场景时，仅更新该列表中的价格，不自动刷新其他国家价格。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "promotionId",
                  "in": "body",
                  "required": false,
                  "description": "优惠唯一ID，批量创建时不需要传入，更新时必传。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "promotionTitle",
                  "in": "body",
                  "required": true,
                  "description": "促销名称。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "开始优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "结束优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "status",
                  "in": "body",
                  "required": false,
                  "description": "促销状态，取值如下，默认值：inactive。 active：上线 inactive：下线"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "strategy",
                  "in": "body",
                  "required": true,
                  "description": "促销策略类型： trial：免费试用（仅自动续期型商品支持） introductory：按周期扣费（仅自动续期型商品支持） pay-up-front：提前支付（仅自动续期型商品支持） single-promotion：单商品优惠（仅消耗型，非消耗型，非续期型商品支持） 商品类型与策略类型映射关系请参见商品类型与促销类型、策略类型关系映射表。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "默认促销价格，单位为分，strategy取值为introductory、pay-up-front时，必须传入。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "numberOfUnits",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期数。如优惠两个月，numberOfUnits=2， periodUnit=M"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "periodUnit",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期单位，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "itemsType": "object",
                  "type": "array",
                  "name": "languages",
                  "in": "body",
                  "required": false,
                  "description": "各个国家的语言信息。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "itemsType": "object",
                  "type": "array",
                  "name": "promotionPrice",
                  "in": "body",
                  "required": true,
                  "description": "各个国家的自定义价格信息。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "object",
              "name": "promotion",
              "in": "body",
              "required": false,
              "description": "促销信息。 说明 消耗型、非消耗型、非续期订阅型商品不支持传入该字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewResourceId",
              "in": "body",
              "required": false,
              "description": "资源ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewNote",
              "in": "body",
              "required": false,
              "description": "审核文本。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewPath",
              "in": "body",
              "required": false,
              "description": "资源内路径。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "string",
              "type": "array",
              "name": "salesCountry",
              "in": "body",
              "required": false,
              "description": "销售国家/地区。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "autoAddSaleCountry",
              "in": "body",
              "required": false,
              "description": "是否启用自动添加销售国家或地区，默认值：0。 1：是 0：否"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-harmonyosnext-0000002131350704#section19451915006",
          "itemsType": "object",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品列表信息。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchaddproduct-harmonyosnext-0000002131350704",
      "officialSlug": "agcapi-batchaddproduct-harmonyosnext-0000002131350704",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchaddproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchaddproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchaddproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量去激活商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-android-0000002135929320",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:12.479Z",
        "status": "browser-read",
        "readCommand": "agc pms batchdeactproduct-android --docs --pretty"
      },
      "id": "batchdeactproduct-android",
      "familyId": "pms",
      "name": "批量去激活商品",
      "description": "此接口用于批量去激活商品。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/batchDeactive",
      "command": "agc pms batchdeactproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-android-0000002135929320#section62221212714",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-android-0000002135929320#section32521047636",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-android-0000002135929320#section32521047636",
          "itemsType": "string",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品标识，只有上线状态的商品才能被去激活。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-android-0000002135929320",
      "officialSlug": "agcapi-batchdeactproduct-android-0000002135929320",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchdeactproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchdeactproduct-android --invoke --body body.json",
        "show": "agc pms batchdeactproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量去激活商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-harmonyosnext-0000002166748613",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T02:58:14.167Z",
        "status": "browser-read",
        "readCommand": "agc pms batchdeactproduct-harmonyosnext --docs --pretty"
      },
      "id": "batchdeactproduct-harmonyosnext",
      "familyId": "pms",
      "name": "批量去激活商品",
      "description": "此接口用于批量去激活商品 ，下线已生效商品，结束促销活动 。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/batchDeactive",
      "command": "agc pms batchdeactproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-harmonyosnext-0000002166748613#section62221212714",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-harmonyosnext-0000002166748613#section32521047636",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-harmonyosnext-0000002166748613#section32521047636",
          "itemsType": "string",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品标识，只有上线状态的商品才能被去激活。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactproduct-harmonyosnext-0000002166748613",
      "officialSlug": "agcapi-batchdeactproduct-harmonyosnext-0000002166748613",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchdeactproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchdeactproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchdeactproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量下线商品促销活动",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:15.604Z",
        "status": "browser-read",
        "readCommand": "agc pms batchdeactpromotion-android --docs --pretty"
      },
      "id": "batchdeactpromotion-android",
      "familyId": "pms",
      "name": "批量下线商品促销活动",
      "description": "此接口用于批量下线商品促销活动。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion/batchDeactive",
      "command": "agc pms batchdeactpromotion-android",
      "requiredParams": [
        "appId",
        "requestId",
        "promotions"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629#section48988321545",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629#section48988321545",
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "promotions",
          "in": "body",
          "required": true,
          "description": "商品促销ID列表，促销ID长度最大32字符，列表中不超过100个促销ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629#section48988321545",
          "maxLength": 2,
          "type": "string",
          "name": "immediateEnd",
          "in": "body",
          "required": false,
          "description": "值为1标识促销立即结束，更新促销结束时间，不传或者其它值不更新促销结束时间。"
        }
      ],
      "body": "requestId,promotions,immediateEnd",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-android-0000002171288629",
      "officialSlug": "agcapi-batchdeactpromotion-android-0000002171288629",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchdeactpromotion-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchdeactpromotion-android --invoke --body body.json",
        "show": "agc pms batchdeactpromotion-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量下线商品促销活动",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:17.063Z",
        "status": "browser-read",
        "readCommand": "agc pms batchdeactpromotion-harmonyosnext --docs --pretty"
      },
      "id": "batchdeactpromotion-harmonyosnext",
      "familyId": "pms",
      "name": "批量下线商品促销活动",
      "description": "此接口用于批量下线商品促销活动。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion/batchDeactive",
      "command": "agc pms batchdeactpromotion-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "promotions"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720#section48988321545",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720#section48988321545",
          "maxItems": 100,
          "itemsType": "string",
          "type": "array",
          "name": "promotions",
          "in": "body",
          "required": true,
          "description": "商品促销ID列表，促销ID长度最大32字符，列表中不超过100个促销ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720#section48988321545",
          "maxLength": 2,
          "type": "string",
          "name": "immediateEnd",
          "in": "body",
          "required": false,
          "description": "值为1标识促销立即结束，更新促销结束时间，不传或者其它值不更新促销结束时间。"
        }
      ],
      "body": "requestId,promotions,immediateEnd",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchdeactpromotion-harmonyosnext-0000002131350720",
      "officialSlug": "agcapi-batchdeactpromotion-harmonyosnext-0000002131350720",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchdeactpromotion-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchdeactpromotion-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchdeactpromotion-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量更新商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-android-0000002171407013",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:18.434Z",
        "status": "browser-read",
        "readCommand": "agc pms batchupdateproduct-android --docs --pretty"
      },
      "id": "batchupdateproduct-android",
      "familyId": "pms",
      "name": "批量更新商品",
      "description": "此接口用于批量更新商品定义信息，展示语言，商品价格，促销活动信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/batchImportProducts",
      "command": "agc pms batchupdateproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-android-0000002171407013#section167891815112",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-android-0000002171407013#section13500173412311",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列ID，开发者自定义唯一标识符。"
        },
        {
          "itemsRules": [
            {
              "id": "subscription-subGroupId",
              "kind": "required_if",
              "field": "body.subGroupId",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subGroupId is required for auto_subscription",
              "suggestion": "Supply subGroupId using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriod",
              "kind": "required_if",
              "field": "body.subPeriod",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subPeriod is required for auto_subscription",
              "suggestion": "Supply subPeriod using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriodUnit",
              "kind": "required_if",
              "field": "body.subPeriodUnit",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "message": "subPeriodUnit is required for auto_subscription",
              "suggestion": "Supply subPeriodUnit using the subscription group and period documented by ProductImportInfo."
            }
          ],
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "productNo",
              "in": "body",
              "required": true,
              "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "active",
                "inactive"
              ],
              "type": "string",
              "name": "status",
              "in": "body",
              "required": false,
              "description": "商品状态，支持创建active和inactive状态的商品默认值：inactive。取值如下： active：上线 inactive：下线"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "maxLength": 55,
              "type": "string",
              "name": "productName",
              "in": "body",
              "required": true,
              "description": "商品名称，支持多语言配置，根据defaultLocale配置此处的商品名称。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "maxLength": 100,
              "type": "string",
              "name": "productDesc",
              "in": "body",
              "required": true,
              "description": "默认商品描述信息。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "consumable",
                "auto_subscription",
                "non_consumable"
              ],
              "type": "string",
              "name": "purchaseType",
              "in": "body",
              "required": true,
              "description": "商品类型，取值范围： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "subGroupId",
              "in": "body",
              "required": false,
              "description": "订阅分组ID，purchaseType为auto_subscription时必须传入，依赖于已调用创建商品订阅分组信息接口创建订阅分组。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "subPeriod",
              "in": "body",
              "required": false,
              "description": "订购周期，purchaseType为auto_subscription时必须传入。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "D",
                "W",
                "M",
                "Y"
              ],
              "type": "string",
              "name": "subPeriodUnit",
              "in": "body",
              "required": false,
              "description": "订购周期单位，purchaseType为auto_subscription时必须传入。采用ISO 8601格式指定，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 例如：订阅周期为2个月，则subPeriod=2， subPeriodUnit=M。 更新时不能修改。 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "force",
              "in": "body",
              "required": false,
              "description": "自动续期型商品，价格变更之后，对于已订阅用户是否强制涨价。不传默认值：0。 0：不强制 1：强制"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "string",
              "name": "defaultLocale",
              "in": "body",
              "required": true,
              "description": "默认语言环境，请参见国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，具体请参见国家/地区、语言、币种列表，默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "商品原始价格，如果商品为上线状态，则此字段不能为空。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-android-0000002171407033",
                  "type": "string",
                  "name": "currency",
                  "in": "body",
                  "required": true,
                  "description": "用于支付的币种，请参见国家/地区、语言、币种列表。 例如：USD、CNY、MYR。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "object",
              "name": "defaultPriceInfo",
              "in": "body",
              "required": false,
              "description": "默认价格信息。如果未传入，则会默认设置此对象中的Country为CN，Currency为CNY。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "type": "string",
                  "name": "locale",
                  "in": "body",
                  "required": true,
                  "description": "语言环境，请参考国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "maxLength": 55,
                  "type": "string",
                  "name": "productName",
                  "in": "body",
                  "required": true,
                  "description": "商品名称。不支持特殊字符|。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-android-0000002171407041",
                  "maxLength": 100,
                  "type": "string",
                  "name": "productDesc",
                  "in": "body",
                  "required": true,
                  "description": "商品描述。不支持特殊字符|。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "object",
              "type": "array",
              "name": "languages",
              "in": "body",
              "required": false,
              "description": "商品多语言信息。 如果未传值，则通过默认的productName、productDesc和defaultLocale构造。 如果传入了该列表，当列表内某一ProductLanguageInfo对象的locale的值等于当前ProductImportInfo内defaultLocale的值时，需保证该对象内productName和productDesc的值分别与当前ProductImportInfo内productName和productDesc的值一致。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-android-0000002171288645",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，请参见国家/地区、语言、币种列表，例如CN。 默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-android-0000002171288645",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": true,
                  "description": "定价，单位为分。 例如：1.99元此参数需要传入199。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "object",
              "type": "array",
              "name": "prices",
              "in": "body",
              "required": false,
              "description": "自定义价格。如果传入了该列表，则必须传入DefaultProductPriceInfo对象中的price字段。 说明 更新场景时，仅更新该列表中的价格，不自动刷新其他国家价格。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "promotionId",
                  "in": "body",
                  "required": false,
                  "description": "优惠唯一ID，批量创建时不需要传入，更新时必传。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "promotionTitle",
                  "in": "body",
                  "required": true,
                  "description": "促销名称。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "开始优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "结束优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "status",
                  "in": "body",
                  "required": false,
                  "description": "促销状态，取值如下，默认值：inactive。 active：上线 inactive：下线"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "strategy",
                  "in": "body",
                  "required": true,
                  "description": "促销策略类型： trial：免费试用 说明 仅当关联商品的purchaseType为auto_subscription类型时支持配置trial。 introductory：按周期扣费"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "默认促销价格，单位为分，strategy取值为introductory时，必须传入。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "integer",
                  "name": "numberOfUnits",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期数。如优惠两个月，numberOfUnits=2， periodUnit=M"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "type": "string",
                  "name": "periodUnit",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期单位： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "itemsType": "object",
                  "type": "array",
                  "name": "languages",
                  "in": "body",
                  "required": false,
                  "description": "各个国家的语言信息。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-android-0000002136087440",
                  "itemsType": "object",
                  "type": "array",
                  "name": "promotionPrice",
                  "in": "body",
                  "required": true,
                  "description": "各个国家的自定义价格信息。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "type": "object",
              "name": "promotion",
              "in": "body",
              "required": false,
              "description": "促销信息。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "itemsType": "string",
              "type": "array",
              "name": "salesCountry",
              "in": "body",
              "required": false,
              "description": "销售国家/地区。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-android-0000002135929344",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "autoAddSaleCountry",
              "in": "body",
              "required": false,
              "description": "是否启用自动添加销售国家或地区，默认值：0。 1：是 0：否"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-android-0000002171407013#section13500173412311",
          "itemsType": "object",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品列表信息。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-android-0000002171407013",
      "officialSlug": "agcapi-batchupdateproduct-android-0000002171407013",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchupdateproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchupdateproduct-android --invoke --body body.json",
        "show": "agc pms batchupdateproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量更新商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-harmonyosnext-0000002131508852",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:20.551Z",
        "status": "browser-read",
        "readCommand": "agc pms batchupdateproduct-harmonyosnext --docs --pretty"
      },
      "id": "batchupdateproduct-harmonyosnext",
      "familyId": "pms",
      "name": "批量更新商品",
      "description": "此接口用于批量更新商品定义信息，展示语言，商品价格，促销活动信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/batchImportProducts",
      "command": "agc pms batchupdateproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "products"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-harmonyosnext-0000002131508852#section167891815112",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-harmonyosnext-0000002131508852#section13500173412311",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列ID，开发者自定义唯一标识符。"
        },
        {
          "itemsRules": [
            {
              "id": "subscription-subGroupId",
              "kind": "required_if",
              "field": "body.subGroupId",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subGroupId is required for auto_subscription",
              "suggestion": "Supply subGroupId using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriod",
              "kind": "required_if",
              "field": "body.subPeriod",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subPeriod is required for auto_subscription",
              "suggestion": "Supply subPeriod using the subscription group and period documented by ProductImportInfo."
            },
            {
              "id": "subscription-subPeriodUnit",
              "kind": "required_if",
              "field": "body.subPeriodUnit",
              "when": {
                "field": "body.purchaseType",
                "equals": "auto_subscription"
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "message": "subPeriodUnit is required for auto_subscription",
              "suggestion": "Supply subPeriodUnit using the subscription group and period documented by ProductImportInfo."
            }
          ],
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "productNo",
              "in": "body",
              "required": true,
              "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "drafts"
              ],
              "type": "string",
              "name": "status",
              "in": "body",
              "required": false,
              "description": "商品状态，取值如下： drafts: 草稿，仅在批量创建时支持。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "maxLength": 55,
              "type": "string",
              "name": "productName",
              "in": "body",
              "required": true,
              "description": "商品名称，支持多语言配置，根据defaultLocale配置此处的商品名称。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "maxLength": 100,
              "type": "string",
              "name": "productDesc",
              "in": "body",
              "required": true,
              "description": "默认商品描述信息。不支持特殊字符|。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "consumable",
                "auto_subscription",
                "non_consumable",
                "non-renewing-subscription"
              ],
              "type": "string",
              "name": "purchaseType",
              "in": "body",
              "required": true,
              "description": "商品类型，取值范围： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 non-renewing-subscription：非续期订阅型 更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "subGroupId",
              "in": "body",
              "required": false,
              "description": "订阅分组ID，purchaseType为auto_subscription时必须传入，依赖于已调用创建商品订阅分组信息接口创建订阅分组。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "subPeriod",
              "in": "body",
              "required": false,
              "description": "订购周期，purchaseType为auto_subscription时必须传入。更新时不能修改。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "D",
                "W",
                "M",
                "Y"
              ],
              "type": "string",
              "name": "subPeriodUnit",
              "in": "body",
              "required": false,
              "description": "订购周期单位，purchaseType为auto_subscription时必须传入。采用ISO 8601格式指定，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 例如：订阅周期为2个月，则subPeriod=2， subPeriodUnit=M。 更新时不能修改。 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "force",
              "in": "body",
              "required": false,
              "description": "自动续期型商品，价格变更之后，对于已订阅用户是否强制涨价。不传默认值：0。 0：不强制 1：强制"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "defaultLocale",
              "in": "body",
              "required": true,
              "description": "默认语言环境，请参见国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，具体请参见国家/地区、语言、币种列表，默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "商品原始价格，如果商品为上线状态，则此字段不能为空。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-dppriceinfo-harmonyosnext-0000002131508864",
                  "type": "string",
                  "name": "currency",
                  "in": "body",
                  "required": true,
                  "description": "用于支付的币种，请参见国家/地区、语言、币种列表。 例如：USD、CNY、MYR。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "object",
              "name": "defaultPriceInfo",
              "in": "body",
              "required": false,
              "description": "默认价格信息。如果未传入，则会默认设置此对象中的Country为CN，Currency为CNY。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "type": "string",
                  "name": "locale",
                  "in": "body",
                  "required": true,
                  "description": "语言环境，请参考国家/地区、语言、币种列表。 例如：zh_CN、en_US。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "maxLength": 55,
                  "type": "string",
                  "name": "productName",
                  "in": "body",
                  "required": true,
                  "description": "商品名称。不支持特殊字符|。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pdlanguageinfo-harmonyosnext-0000002131508872",
                  "maxLength": 100,
                  "type": "string",
                  "name": "productDesc",
                  "in": "body",
                  "required": true,
                  "description": "商品描述。不支持特殊字符|。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "object",
              "type": "array",
              "name": "languages",
              "in": "body",
              "required": false,
              "description": "商品多语言信息。 如果未传值，则通过默认的productName、productDesc和defaultLocale构造。 如果传入了该列表，当列表内某一ProductLanguageInfo对象的locale的值等于当前ProductImportInfo内defaultLocale的值时，需保证该对象内productName和productDesc的值分别与当前ProductImportInfo内productName和productDesc的值一致。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "country",
                  "in": "body",
                  "required": true,
                  "description": "国家码，请参见国家/地区、语言、币种列表，例如CN。 默认值CN。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": true,
                  "description": "定价，单位为分。 例如：1.99元此参数需要传入199。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "价格调整开始时间。默认值：当前时间。 说明 价格调整计划必须连续，开始时间必须等于上一个调整计划的结束时间。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "价格调整结束时间。若不填写结束时间，则默认值：永久。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-ppriceinfo-harmonyosnext-0000002131350736",
                  "type": "string",
                  "name": "tag",
                  "in": "body",
                  "required": true,
                  "description": "价格调整标识。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "object",
              "type": "array",
              "name": "prices",
              "in": "body",
              "required": false,
              "description": "自定义价格。如果传入了该列表，则必须传入DefaultProductPriceInfo对象中的price字段。 说明 更新场景时，仅更新该列表中的价格，不自动刷新其他国家价格。"
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "promotionId",
                  "in": "body",
                  "required": false,
                  "description": "优惠唯一ID，批量创建时不需要传入，更新时必传。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "promotionTitle",
                  "in": "body",
                  "required": true,
                  "description": "促销名称。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "startDate",
                  "in": "body",
                  "required": true,
                  "description": "开始优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "endDate",
                  "in": "body",
                  "required": false,
                  "description": "结束优惠时间，格式为毫秒单位的时间戳。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "status",
                  "in": "body",
                  "required": false,
                  "description": "促销状态，取值如下，默认值：inactive。 active：上线 inactive：下线"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "strategy",
                  "in": "body",
                  "required": true,
                  "description": "促销策略类型： trial：免费试用（仅自动续期型商品支持） introductory：按周期扣费（仅自动续期型商品支持） pay-up-front：提前支付（仅自动续期型商品支持） single-promotion：单商品优惠（仅消耗型，非消耗型，非续期型商品支持） 商品类型与策略类型映射关系请参见商品类型与促销类型、策略类型关系映射表。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "price",
                  "in": "body",
                  "required": false,
                  "description": "默认促销价格，单位为分，strategy取值为introductory、pay-up-front时，必须传入。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "integer",
                  "name": "numberOfUnits",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期数。如优惠两个月，numberOfUnits=2， periodUnit=M"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "type": "string",
                  "name": "periodUnit",
                  "in": "body",
                  "required": false,
                  "description": "优惠周期单位，取值范围： D：天 W：周 M：月 Y：年 可选值： 1周 1个月 2个月 3个月 6个月 1年 30天（上次订阅日期+30天） 31天（上次订阅日期+31天） 说明 当前仅purchaseType为\"auto_subscription\"的自动续期型商品需要维护。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "itemsType": "object",
                  "type": "array",
                  "name": "languages",
                  "in": "body",
                  "required": false,
                  "description": "各个国家的语言信息。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-promotioninfo-harmonyosnext-0000002166670169",
                  "itemsType": "object",
                  "type": "array",
                  "name": "promotionPrice",
                  "in": "body",
                  "required": true,
                  "description": "各个国家的自定义价格信息。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "object",
              "name": "promotion",
              "in": "body",
              "required": false,
              "description": "促销信息。 说明 消耗型、非消耗型、非续期订阅型商品不支持传入该字段。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewResourceId",
              "in": "body",
              "required": false,
              "description": "资源ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewNote",
              "in": "body",
              "required": false,
              "description": "审核文本。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "type": "string",
              "name": "reviewPath",
              "in": "body",
              "required": false,
              "description": "资源内路径。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "itemsType": "string",
              "type": "array",
              "name": "salesCountry",
              "in": "body",
              "required": false,
              "description": "销售国家/地区。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-pms-pimportinfo-harmonyosnext-0000002166748629",
              "enum": [
                "0",
                "1"
              ],
              "type": "integer",
              "name": "autoAddSaleCountry",
              "in": "body",
              "required": false,
              "description": "是否启用自动添加销售国家或地区，默认值：0。 1：是 0：否"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-harmonyosnext-0000002131508852#section13500173412311",
          "itemsType": "object",
          "type": "array",
          "name": "products",
          "in": "body",
          "required": true,
          "description": "商品列表信息。"
        }
      ],
      "body": "requestId,products",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-batchupdateproduct-harmonyosnext-0000002131508852",
      "officialSlug": "agcapi-batchupdateproduct-harmonyosnext-0000002131508852",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/batchupdateproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms batchupdateproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms batchupdateproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "按条件查询商品信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:21.986Z",
        "status": "browser-read",
        "readCommand": "agc pms bygetproductinfo-android --docs --pretty"
      },
      "id": "bygetproductinfo-android",
      "familyId": "pms",
      "name": "按条件查询商品信息",
      "description": "此接口用于商品查询，支持多条件过滤，根据productNo和AppId唯一查询一个商品信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/list",
      "command": "agc pms bygetproductinfo-android",
      "requiredParams": [
        "appId",
        "requestId",
        "country"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section9925175016016",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "productNo",
          "in": "body",
          "required": false,
          "description": "查询应用内指定商品标识的商品，如果不传值默认查询所有应用内商品。支持多个商品标识过滤查询，使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "maxLength": 55,
          "type": "string",
          "name": "productName",
          "in": "body",
          "required": false,
          "description": "待查询的商品名称，支持按关键字模糊查询。不支持特殊字符|。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "purchaseType",
          "in": "body",
          "required": false,
          "description": "如果查多种商品类型，使用英文逗号分隔，取值如下： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "status",
          "in": "body",
          "required": false,
          "description": "如果查多种商品状态，使用英文逗号分隔，取值如下： active：在线 inactive：下线 delete：删除"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。不传值时默认按照数据库中创建时间降序。 key取值范围为： price：价格 updateTime：更新时间 value取值desc降序或者asc升序 例如：按价格price升序，更新时间updateTime降序, 则配置为{\"price\": \"asc\",\"updateTime\": \"desc\"}"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "beginTime",
          "in": "body",
          "required": false,
          "description": "商品更新开始时间，格式为：yyyy-MM-dd HH:mm:ss。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "endTime",
          "in": "body",
          "required": false,
          "description": "商品更新结束时间，格式为：yyyy-MM-dd HH:mm:ss。 beginTime和endTime设置后可以查询出updateTime在此时间段内的商品。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "请求查询的起始页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页请求数目，默认每页20条，最大不能超过300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "country",
          "in": "body",
          "required": true,
          "description": "将商品价格转为该国家的价格进行展示。 请参见国家/地区、语言、币种列表，例如US、CN。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316#section57323163316",
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": false,
          "description": "订阅组ID，如果不为空，则仅查询该组下商品。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-android-0000002135929316",
      "officialSlug": "agcapi-bygetproductinfo-android-0000002135929316",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/bygetproductinfo-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms bygetproductinfo-android --invoke --body body.json",
        "show": "agc pms bygetproductinfo-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "按条件查询商品信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:23.893Z",
        "status": "browser-read",
        "readCommand": "agc pms bygetproductinfo-harmonyosnext --docs --pretty"
      },
      "id": "bygetproductinfo-harmonyosnext",
      "familyId": "pms",
      "name": "按条件查询商品信息",
      "description": "此接口用于商品查询，支持多条件过滤，根据productNo和AppId唯一查询一个商品信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/list",
      "command": "agc pms bygetproductinfo-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "country"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section9925175016016",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "productNo",
          "in": "body",
          "required": false,
          "description": "查询应用内指定商品标识的商品，如果不传值默认查询所有应用内商品。支持多个商品标识过滤查询，使用英文逗号分隔。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "maxLength": 55,
          "type": "string",
          "name": "productName",
          "in": "body",
          "required": false,
          "description": "待查询的商品名称，支持按关键字模糊查询。不支持特殊字符|。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "purchaseType",
          "in": "body",
          "required": false,
          "description": "如果查多种商品类型，使用英文逗号分隔，取值如下： consumable：消耗型 auto_subscription：自动续期型 non_consumable：非消耗型 non_renewing_subscription：非续期订阅型"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "status",
          "in": "body",
          "required": false,
          "description": "如果查多种商品状态，使用英文逗号分隔，取值如下： active：在线 inactive：下线 delete：删除 drafts: 草稿 toBeSubmitted: 待提交 underReview：审核中 rejected: 审核不通过"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。不传值时默认按照数据库中创建时间降序。 key取值范围为： price：价格 updateTime：更新时间 value取值desc降序或者asc升序 例如：按价格price升序，更新时间updateTime降序, 则配置为{\"price\": \"asc\",\"updateTime\": \"desc\"}"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "beginTime",
          "in": "body",
          "required": false,
          "description": "商品更新开始时间，格式为：yyyy-MM-dd HH:mm:ss。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "endTime",
          "in": "body",
          "required": false,
          "description": "商品更新结束时间，格式为：yyyy-MM-dd HH:mm:ss。 beginTime和endTime设置后可以查询出updateTime在此时间段内的商品。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "请求查询的起始页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页请求数目，默认每页20条，最大不能超过300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "country",
          "in": "body",
          "required": true,
          "description": "将商品价格转为该国家的价格进行展示。 请参见国家/地区、语言、币种列表，例如US、CN。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609#section57323163316",
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": false,
          "description": "订阅组ID，如果不为空，则仅查询该组下商品。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetproductinfo-harmonyosnext-0000002166748609",
      "officialSlug": "agcapi-bygetproductinfo-harmonyosnext-0000002166748609",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/bygetproductinfo-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms bygetproductinfo-harmonyosnext --invoke --body body.json",
        "show": "agc pms bygetproductinfo-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "按条件查询商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:25.557Z",
        "status": "browser-read",
        "readCommand": "agc pms bygetpromotioninfo-android --docs --pretty"
      },
      "id": "bygetpromotioninfo-android",
      "familyId": "pms",
      "name": "按条件查询商品促销信息",
      "description": "此接口用于商品促销查询，支持多条件过滤。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion/list",
      "command": "agc pms bygetpromotioninfo-android",
      "requiredParams": [
        "appId",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section97101017212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "string",
          "name": "productNo",
          "in": "body",
          "required": false,
          "description": "查询指定的商品的促销信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "string",
          "name": "promotionId",
          "in": "body",
          "required": false,
          "description": "预留字段，暂不启用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "string",
          "name": "strategy",
          "in": "body",
          "required": false,
          "description": "策略类型： trial：免费 introductory：按周期扣费"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "请求查询的起始页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页请求数目，默认每页20条，最大不能超过300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。 key取值范围为： createTime：创建时间 updateTime：更新时间 status：促销进行状态 startDate：开始促销时间 endDate：结束促销时间 value取值desc降序或者asc升序 例如：按createTime升序，updateTime降序，则配置为{\"createTime\": \"asc\",\"updateTime\": \"desc\"}"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416#section1084310219419",
          "type": "string",
          "name": "filterBy",
          "in": "body",
          "required": false,
          "description": "支持按促销状态和时间过滤。配置JSON对象，key为属性名，value为过滤的值。 key值范围如下： status：促销状态取值范围为 0：正在进行中的促销 1：未开始的促销 2：已结束的促销 例如：单选{\"status\":\"0\"}和多选{\"status\":[\"0\", \"1\"]} startDate：促销开始时间范围 例如：{\"startDate\":{\"1621843475000\":\"1631435475000\"}} endDate：促销结束时间范围 例如：{\"endDate\":{\"1621843475000\":\"1631435475000\"}} date：该时间范围内开始的促销、结束的促销和进行中的促销活动 例如：{\"date\":{\"1621843475000\":\"1631435475000\"}} key值可以包含上面的所有取值进行组合过滤，比如同时使用status和startDate过滤可以用下面的JSON： {\"status\":[ \"0\",\"1\"],\"startDate\":{\"1021843475000\":\"1631435475000\"}}"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-android-0000002136087416",
      "officialSlug": "agcapi-bygetpromotioninfo-android-0000002136087416",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/bygetpromotioninfo-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms bygetpromotioninfo-android --invoke --body body.json",
        "show": "agc pms bygetpromotioninfo-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "按条件查询商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:27.712Z",
        "status": "browser-read",
        "readCommand": "agc pms bygetpromotioninfo-harmonyosnext --docs --pretty"
      },
      "id": "bygetpromotioninfo-harmonyosnext",
      "familyId": "pms",
      "name": "按条件查询商品促销信息",
      "description": "此接口用于商品促销查询，支持多条件过滤。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion/list",
      "command": "agc pms bygetpromotioninfo-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section97101017212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "productNo",
          "in": "body",
          "required": false,
          "description": "查询指定的商品的促销信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "promotionId",
          "in": "body",
          "required": false,
          "description": "预留字段，暂不启用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "strategy",
          "in": "body",
          "required": false,
          "description": "策略类型： trial：免费（仅自动续期型商品支持） introductory：按周期扣费（仅自动续期型商品支持） pay-up-front：提前支付（仅自动续期型商品支持） single-promotion：单商品优惠（仅消耗型，非消耗型，非续期型商品支持）"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "请求查询的起始页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "每页请求数目，默认每页20条，最大不能超过300。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。 key取值范围为： createTime：创建时间 updateTime：更新时间 status：促销进行状态 startDate：开始促销时间 endDate：结束促销时间 value取值desc降序或者asc升序 例如：按createTime升序，updateTime降序, 则配置为{\"createTime\": \"asc\",\"updateTime\": \"desc\"}"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "filterBy",
          "in": "body",
          "required": false,
          "description": "支持按促销状态和时间过滤。配置JSON对象，key为属性名，value为过滤的值。 key值范围如下： status：促销状态取值范围为 0：正在进行中的促销 1：未开始的促销 2：已结束的促销 例如：单选{\"status\":\"0\"}和多选{\"status\":[\"0\", \"1\"]} startDate：促销开始时间范围 例如：{\"startDate\":{\"1621843475000\":\"1631435475000\"}} endDate：促销结束时间范围 例如：{\"endDate\":{\"1621843475000\":\"1631435475000\"}} date：该时间范围内开始的促销、结束的促销和进行中的促销活动 例如：{\"date\":{\"1621843475000\":\"1631435475000\"}} key值可以包含上面的所有取值进行组合过滤，比如同时使用status和startDate过滤可以用下面的JSON： {\"status\":[ \"0\",\"1\"],\"startDate\":{\"1021843475000\":\"1631435475000\"}}"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "integer",
          "name": "promotionType",
          "in": "body",
          "required": false,
          "description": "促销类型，默认值：0。 0：新用户促销 1：自定义人群促销 4：退订挽留促销"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149#section1084310219419",
          "type": "string",
          "name": "offerId",
          "in": "body",
          "required": false,
          "description": "优惠促销标识符，用于区分不同优惠促销，该ID当前商品下唯一，最大长度64个字符，需满足[0-9a-zA-Z]，仅在促销类型为自定义人群促销时支持。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149",
      "officialSlug": "agcapi-bygetpromotioninfo-harmonyosnext-0000002166670149",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/bygetpromotioninfo-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms bygetpromotioninfo-harmonyosnext --invoke --body body.json",
        "show": "agc pms bygetpromotioninfo-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:29.856Z",
        "status": "browser-read",
        "readCommand": "agc pms getproductgroup-android --docs --pretty"
      },
      "id": "getproductgroup-android",
      "familyId": "pms",
      "name": "查询商品订阅分组信息",
      "description": "此接口用于查询商品订阅分组信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v1/manage/product/group/list",
      "command": "agc pms getproductgroup-android",
      "requiredParams": [
        "appId",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009#section173002381406",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009#section98031331736",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009#section98031331736",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "起始页数，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009#section98031331736",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "返回数据每页的条数， 默认是20。 取值范围：1~300"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009#section98031331736",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。不传值时默认按照数据库中创建时间降序。 key取值范围为： name：订阅分组名称 createTime：创建时间 updateTime：更新时间 value取值desc降序或者asc升序 例如：按name降序，按createTime升序，则配置为{\"name\": \"desc\",\"createTime\": \"asc\"}"
        }
      ],
      "body": "requestId,pageNum,pageSize,orderBy",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-android-0000002171407009",
      "officialSlug": "agcapi-getproductgroup-android-0000002171407009",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getproductgroup-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getproductgroup-android --invoke --body body.json",
        "show": "agc pms getproductgroup-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848",
        "updatedAt": "2025-11-21 13:50",
        "checkedAt": "2026-10-07T02:58:32.112Z",
        "status": "browser-read",
        "readCommand": "agc pms getproductgroup-harmonyosnext --docs --pretty"
      },
      "id": "getproductgroup-harmonyosnext",
      "familyId": "pms",
      "name": "查询商品订阅分组信息",
      "description": "此接口用于查询商品订阅分组信息。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/group/list",
      "command": "agc pms getproductgroup-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848#section173002381406",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848#section98031331736",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848#section98031331736",
          "type": "integer",
          "name": "pageNum",
          "in": "body",
          "required": false,
          "description": "起始页数，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848#section98031331736",
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": false,
          "description": "返回数据每页的条数， 默认是20。 取值范围：1~300"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848#section98031331736",
          "type": "string",
          "name": "orderBy",
          "in": "body",
          "required": false,
          "description": "按名称升序或者降序排序。配置JSON对象，key为属性名，value为排序规则。不传值时默认按照数据库中创建时间降序。 key取值范围为： name：订阅分组名称 createTime：创建时间 updateTime：更新时间 value取值desc降序或者asc升序 例如：按name降序，按createTime升序，则配置为{\"name\": \"desc\",\"createTime\": \"asc\"}"
        }
      ],
      "body": "requestId,pageNum,pageSize,orderBy",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductgroup-harmonyosnext-0000002131508848",
      "officialSlug": "agcapi-getproductgroup-harmonyosnext-0000002131508848",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getproductgroup-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getproductgroup-harmonyosnext --invoke --body body.json",
        "show": "agc pms getproductgroup-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-android-0000002171288609",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:33.741Z",
        "status": "browser-read",
        "readCommand": "agc pms getproductinfo-android --docs --pretty"
      },
      "id": "getproductinfo-android",
      "familyId": "pms",
      "name": "查询商品详情",
      "description": "此接口用于商品详情查询，根据productNo和appId唯一查询一个商品信息。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v1/manage/product",
      "command": "agc pms getproductinfo-android",
      "requiredParams": [
        "productNo",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-android-0000002171288609#section1212175012015",
          "type": "string",
          "name": "productNo",
          "in": "query",
          "required": true,
          "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-android-0000002171288609#section1212175012015",
          "type": "string",
          "name": "country",
          "in": "query",
          "required": false,
          "description": "将商品价格转为该国家的价格进行展示。 请参见国家/地区、语言、币种列表，例如US、CN。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-android-0000002171288609#section12772174510012",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-android-0000002171288609",
      "officialSlug": "agcapi-getproductinfo-android-0000002171288609",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getproductinfo-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getproductinfo-android --invoke",
        "show": "agc pms getproductinfo-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:35.430Z",
        "status": "browser-read",
        "readCommand": "agc pms getproductinfo-harmonyosnext --docs --pretty"
      },
      "id": "getproductinfo-harmonyosnext",
      "familyId": "pms",
      "name": "查询商品详情",
      "description": "此接口用于商品详情查询，根据productNo和appId唯一查询一个商品信息。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v2/manage/product",
      "command": "agc pms getproductinfo-harmonyosnext",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708#section1212175012015",
          "type": "string",
          "name": "productNo",
          "in": "query",
          "required": false,
          "description": "开发者自定义商品标识，和appId唯一确定一个商品。 必须以大小写字母或数字开头，并且只能由大小写字母 (A-Z,a-z)、数字 (0-9)、下划线 (_) 和句点 (.) 组成。同一个应用内商品标识不能重复。 注意 productNo和productId必须至少传一个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708#section1212175012015",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": false,
          "description": "注意 productNo和productId必须至少传一个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708#section1212175012015",
          "type": "string",
          "name": "country",
          "in": "query",
          "required": false,
          "description": "将商品价格转为该国家的价格进行展示。 请参见国家/地区、语言、币种列表，例如US、CN。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708#section12772174510012",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getproductinfo-harmonyosnext-0000002131350708",
      "officialSlug": "agcapi-getproductinfo-harmonyosnext-0000002131350708",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getproductinfo-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getproductinfo-harmonyosnext --invoke",
        "show": "agc pms getproductinfo-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品促销详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-android-0000002135929328",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:37.263Z",
        "status": "browser-read",
        "readCommand": "agc pms getpromotioninfo-android --docs --pretty"
      },
      "id": "getpromotioninfo-android",
      "familyId": "pms",
      "name": "查询商品促销详情",
      "description": "此接口用于查询商品促销信息。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion",
      "command": "agc pms getpromotioninfo-android",
      "requiredParams": [
        "promotionId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-android-0000002135929328#section538885302312",
          "type": "string",
          "name": "promotionId",
          "in": "query",
          "required": true,
          "description": "促销优惠活动唯一ID。 获取来源： 调用创建商品促销信息接口，返回promotionId 。 调用按条件查询商品促销信息接口，会返回promotionId。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-android-0000002135929328#section113391555316",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-android-0000002135929328",
      "officialSlug": "agcapi-getpromotioninfo-android-0000002135929328",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getpromotioninfo-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getpromotioninfo-android --invoke",
        "show": "agc pms getpromotioninfo-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询商品促销详情",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-harmonyosnext-0000002166748617",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:40.079Z",
        "status": "browser-read",
        "readCommand": "agc pms getpromotioninfo-harmonyosnext --docs --pretty"
      },
      "id": "getpromotioninfo-harmonyosnext",
      "familyId": "pms",
      "name": "查询商品促销详情",
      "description": "此接口用于查询商品促销信息。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion",
      "command": "agc pms getpromotioninfo-harmonyosnext",
      "requiredParams": [
        "promotionId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-harmonyosnext-0000002166748617#section538885302312",
          "type": "string",
          "name": "promotionId",
          "in": "query",
          "required": true,
          "description": "促销优惠活动唯一ID。 获取来源： 调用创建商品促销信息接口，返回promotionId。 调用按条件查询商品促销信息接口，返回promotionId。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-harmonyosnext-0000002166748617#section113391555316",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-getpromotioninfo-harmonyosnext-0000002166748617",
      "officialSlug": "agcapi-getpromotioninfo-harmonyosnext-0000002166748617",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/getpromotioninfo-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms getpromotioninfo-harmonyosnext --invoke",
        "show": "agc pms getpromotioninfo-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询是否有在线商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-android-0000002136087412",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:42.070Z",
        "status": "browser-read",
        "readCommand": "agc pms isproductactive-android --docs --pretty"
      },
      "id": "isproductactive-android",
      "familyId": "pms",
      "name": "查询是否有在线商品",
      "description": "此接口用于根据AppId查询是否有激活的商品。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v1/manage/product/check",
      "command": "agc pms isproductactive-android",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-android-0000002136087412#section4531181919117",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-android-0000002136087412",
      "officialSlug": "agcapi-isproductactive-android-0000002136087412",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/isproductactive-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms isproductactive-android --invoke",
        "show": "agc pms isproductactive-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询是否有在线商品",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-harmonyosnext-0000002166670145",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:43.639Z",
        "status": "browser-read",
        "readCommand": "agc pms isproductactive-harmonyosnext --docs --pretty"
      },
      "id": "isproductactive-harmonyosnext",
      "familyId": "pms",
      "name": "查询是否有在线商品",
      "description": "此接口用于根据AppId查询是否有激活的商品。",
      "method": "GET",
      "path": "/api/pms/product-price-service/v2/manage/product/check",
      "command": "agc pms isproductactive-harmonyosnext",
      "requiredParams": [
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-harmonyosnext-0000002166670145#section4531181919117",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-isproductactive-harmonyosnext-0000002166670145",
      "officialSlug": "agcapi-isproductactive-harmonyosnext-0000002166670145",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/isproductactive-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms isproductactive-harmonyosnext --invoke",
        "show": "agc pms isproductactive-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品订阅分组等级信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:58:45.160Z",
        "status": "browser-read",
        "readCommand": "agc pms levelgroup-harmonyosnext --docs --pretty"
      },
      "id": "levelgroup-harmonyosnext",
      "familyId": "pms",
      "name": "更新商品订阅分组等级信息",
      "description": "此接口用于更新商品订阅分组等级信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/group/level",
      "command": "agc pms levelgroup-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "groupId",
        "productGroupInfoList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485#section48988321545",
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485#section48988321545",
          "type": "string",
          "name": "groupId",
          "in": "body",
          "required": true,
          "description": "订阅组ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485#section48988321545",
          "itemsType": "object",
          "type": "array",
          "name": "productGroupInfoList",
          "in": "body",
          "required": true,
          "description": "订阅组等级信息列表。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-levelgroup-harmonyosnext-0000002175107485",
      "officialSlug": "agcapi-levelgroup-harmonyosnext-0000002175107485",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/levelgroup-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms levelgroup-harmonyosnext --invoke --body body.json",
        "show": "agc pms levelgroup-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "上传资源",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T05:10:35.009Z",
        "status": "browser-read",
        "readCommand": "agc pms resourcemanage-harmonyosnext --docs --pretty"
      },
      "id": "resourcemanage-harmonyosnext",
      "familyId": "pms",
      "name": "上传资源",
      "description": "此接口用于提交上传资源。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/resource",
      "command": "agc pms resourcemanage-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "file",
        "fileType",
        "zoneId",
        "fileName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section48988321545",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section48988321545",
          "type": "file",
          "name": "file",
          "in": "file",
          "required": true,
          "description": "上传的文件。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section48988321545",
          "enum": [
            "1"
          ],
          "type": "string",
          "name": "fileType",
          "in": "body",
          "required": true,
          "description": "上传文件的类型，固定取值： 1：图片"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section48988321545",
          "enum": [
            "1"
          ],
          "type": "string",
          "name": "zoneId",
          "in": "body",
          "required": true,
          "description": "上传区域的ID，固定取值： 1：中国区"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792#section48988321545",
          "type": "string",
          "name": "fileName",
          "in": "body",
          "required": true,
          "description": "上传文件的名称。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resourcemanage-harmonyosnext-0000002131361792",
      "officialSlug": "agcapi-resourcemanage-harmonyosnext-0000002131361792",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/resourcemanage-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms resourcemanage-harmonyosnext --invoke --body body.json",
        "show": "agc pms resourcemanage-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "提交商品审核",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-reviewproduct-harmonyosnext-0000002166681241",
        "updatedAt": "2025-08-14 09:12",
        "checkedAt": "2026-10-07T02:59:33.769Z",
        "status": "browser-read",
        "readCommand": "agc pms reviewproduct-harmonyosnext --docs --pretty"
      },
      "id": "reviewproduct-harmonyosnext",
      "familyId": "pms",
      "name": "提交商品审核",
      "description": "此接口用于提交商品审核。",
      "method": "POST",
      "path": "/api/pms/product-price-service/v2/manage/product/review",
      "command": "agc pms reviewproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "productIdList"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-reviewproduct-harmonyosnext-0000002166681241#section1146731320212",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-reviewproduct-harmonyosnext-0000002166681241#section48988321545",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-reviewproduct-harmonyosnext-0000002166681241#section48988321545",
          "itemsType": "string",
          "type": "array",
          "name": "productIdList",
          "in": "body",
          "required": true,
          "description": "待审核商品列表，一次最多提交20个商品审核。商品ID是系统生成的ID,非用户指定，商品ID可以通过查询商品详情接口进行查询。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-reviewproduct-harmonyosnext-0000002166681241",
      "officialSlug": "agcapi-reviewproduct-harmonyosnext-0000002166681241",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/reviewproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms reviewproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms reviewproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-android-0000002136087404",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:35.451Z",
        "status": "browser-read",
        "readCommand": "agc pms updateproduct-android --docs --pretty"
      },
      "id": "updateproduct-android",
      "familyId": "pms",
      "name": "更新商品信息",
      "description": "此接口用于更新商品定义信息，包含商品价格，展示语言和商品状态。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product",
      "command": "agc pms updateproduct-android",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-android-0000002136087404#section11332165616018",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-android-0000002136087404#section1692522315316",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-android-0000002136087404#section1692522315316",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-android-0000002136087404",
      "officialSlug": "agcapi-updateproduct-android-0000002136087404",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updateproduct-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updateproduct-android --invoke --body body.json",
        "show": "agc pms updateproduct-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-harmonyosnext-0000002166670141",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:37.159Z",
        "status": "browser-read",
        "readCommand": "agc pms updateproduct-harmonyosnext --docs --pretty"
      },
      "id": "updateproduct-harmonyosnext",
      "familyId": "pms",
      "name": "更新商品信息",
      "description": "此接口用于更新商品定义信息，包含商品价格，展示语言和商品状态。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product",
      "command": "agc pms updateproduct-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-harmonyosnext-0000002166670141#section11332165616018",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-harmonyosnext-0000002166670141#section1692522315316",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-harmonyosnext-0000002166670141#section1692522315316",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproduct-harmonyosnext-0000002166670141",
      "officialSlug": "agcapi-updateproduct-harmonyosnext-0000002166670141",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updateproduct-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updateproduct-harmonyosnext --invoke --body body.json",
        "show": "agc pms updateproduct-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-android-0000002136087400",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:38.602Z",
        "status": "browser-read",
        "readCommand": "agc pms updateproductgroup-android --docs --pretty"
      },
      "id": "updateproductgroup-android",
      "familyId": "pms",
      "name": "更新商品订阅分组信息",
      "description": "此接口用于更新商品订阅分组信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/group",
      "command": "agc pms updateproductgroup-android",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-android-0000002136087400#section143161334908",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-android-0000002136087400#section46842575213",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-android-0000002136087400#section46842575213",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品分组信息。"
        }
      ],
      "body": "requestId,resource",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-android-0000002136087400",
      "officialSlug": "agcapi-updateproductgroup-android-0000002136087400",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updateproductgroup-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updateproductgroup-android --invoke --body body.json",
        "show": "agc pms updateproductgroup-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品订阅分组信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-harmonyosnext-0000002166670137",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:40.203Z",
        "status": "browser-read",
        "readCommand": "agc pms updateproductgroup-harmonyosnext --docs --pretty"
      },
      "id": "updateproductgroup-harmonyosnext",
      "familyId": "pms",
      "name": "更新商品订阅分组信息",
      "description": "此接口用于更新商品订阅分组信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/group",
      "command": "agc pms updateproductgroup-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-harmonyosnext-0000002166670137#section143161334908",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-harmonyosnext-0000002166670137#section46842575213",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-harmonyosnext-0000002166670137#section46842575213",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品分组信息。"
        }
      ],
      "body": "requestId,resource",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updateproductgroup-harmonyosnext-0000002166670137",
      "officialSlug": "agcapi-updateproductgroup-harmonyosnext-0000002166670137",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updateproductgroup-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updateproductgroup-harmonyosnext --invoke --body body.json",
        "show": "agc pms updateproductgroup-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-android-0000002171288621",
        "updatedAt": "2026-02-11 14:07",
        "checkedAt": "2026-10-07T02:59:41.916Z",
        "status": "browser-read",
        "readCommand": "agc pms updatepromotion-android --docs --pretty"
      },
      "id": "updatepromotion-android",
      "familyId": "pms",
      "name": "更新商品促销信息",
      "description": "此接口用于更新商品促销信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v1/manage/product/promotion",
      "command": "agc pms updatepromotion-android",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-android-0000002171288621#section118191246818",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-android-0000002171288621#section281217918413",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-android-0000002171288621#section281217918413",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品促销价格信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-android-0000002171288621",
      "officialSlug": "agcapi-updatepromotion-android-0000002171288621",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updatepromotion-android",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updatepromotion-android --invoke --body body.json",
        "show": "agc pms updatepromotion-android --pretty"
      }
    },
    {
      "documentation": {
        "title": "更新商品促销信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-harmonyosnext-0000002131350716",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:44.161Z",
        "status": "browser-read",
        "readCommand": "agc pms updatepromotion-harmonyosnext --docs --pretty"
      },
      "id": "updatepromotion-harmonyosnext",
      "familyId": "pms",
      "name": "更新商品促销信息",
      "description": "此接口用于更新商品促销信息。",
      "method": "PUT",
      "path": "/api/pms/product-price-service/v2/manage/product/promotion",
      "command": "agc pms updatepromotion-harmonyosnext",
      "requiredParams": [
        "appId",
        "requestId",
        "resource"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-harmonyosnext-0000002131350716#section118191246818",
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "应用ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-harmonyosnext-0000002131350716#section281217918413",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求序列，开发者自定义唯一标识符。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-harmonyosnext-0000002131350716#section281217918413",
          "type": "object",
          "name": "resource",
          "in": "body",
          "required": true,
          "description": "商品促销价格信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-updatepromotion-harmonyosnext-0000002131350716",
      "officialSlug": "agcapi-updatepromotion-harmonyosnext-0000002131350716",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/pms/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/pms/endpoints/updatepromotion-harmonyosnext",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc pms updatepromotion-harmonyosnext --invoke --body body.json",
        "show": "agc pms updatepromotion-harmonyosnext --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询资产明细",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:45.882Z",
        "status": "browser-read",
        "readCommand": "agc gameplay asset-details --docs --pretty"
      },
      "id": "asset-details",
      "familyId": "gameplay",
      "name": "查询资产明细",
      "description": "华为游戏服务器调用此接口查询玩家在玩游戏的资产明细数据，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay asset-details",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userId",
        "userIdType",
        "assetType",
        "pageNo",
        "pageSize",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section94561545161915",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section94561545161915",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section94561545161915",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section94561545161915",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "serverId",
          "in": "body",
          "required": false,
          "description": "区服ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "roleId",
          "in": "body",
          "required": false,
          "description": "角色ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "assetType",
          "in": "body",
          "required": true,
          "description": "资产类型，例如：“skin”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "category",
          "in": "body",
          "required": false,
          "description": "资产分类标签值，例如“SSS”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "minimum": 1,
          "type": "integer",
          "name": "pageNo",
          "in": "body",
          "required": true,
          "description": "页码。起始页码为1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maximum": 100,
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": true,
          "description": "每页数量，默认20个，最大100个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253#section8202184551317",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的资源明细数据，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-details-0000002022225253",
      "officialSlug": "agcapi-asset-details-0000002022225253",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/asset-details",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay asset-details --invoke --body body.json",
        "show": "agc gameplay asset-details --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询资产概要",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:47.368Z",
        "status": "browser-read",
        "readCommand": "agc gameplay asset-summary --docs --pretty"
      },
      "id": "asset-summary",
      "familyId": "gameplay",
      "name": "查询资产概要",
      "description": "华为游戏服务器调用此接口查询玩家在玩游戏的资产概要数据，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay asset-summary",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userId",
        "userIdType",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section133671740131017",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section133671740131017",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "maxLength": 32,
          "type": "string",
          "name": "serverId",
          "in": "body",
          "required": false,
          "description": "区服ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "maxLength": 32,
          "type": "string",
          "name": "roleId",
          "in": "body",
          "required": false,
          "description": "角色ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729#section114701453163211",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的资产概要统计数据和资产明细数据，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-asset-summary-0000002022105729",
      "officialSlug": "agcapi-asset-summary-0000002022105729",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/asset-summary",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay asset-summary --invoke --body body.json",
        "show": "agc gameplay asset-summary --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量查询玩家基本信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:49.144Z",
        "status": "browser-read",
        "readCommand": "agc gameplay basic-info --docs --pretty"
      },
      "id": "basic-info",
      "familyId": "gameplay",
      "name": "批量查询玩家基本信息",
      "description": "华为游戏服务器调用此接口批量查询玩家基本信息，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay basic-info",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userIds",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section157181352024",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section157181352024",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section157181352024",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section157181352024",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section54371514181416",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section54371514181416",
              "maxLength": 256,
              "type": "string",
              "name": "userId",
              "in": "body",
              "required": true,
              "description": "华为账号登录游戏后生成的玩家标识。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section54371514181416",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "type": "integer",
              "name": "userIdType",
              "in": "body",
              "required": true,
              "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section54371514181416",
          "itemsType": "object",
          "type": "array",
          "name": "userIds",
          "in": "body",
          "required": true,
          "description": "玩家标识列表，最多返回20个玩家信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322#section54371514181416",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的玩家信息，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-basic-info-0000002038975322",
      "officialSlug": "agcapi-basic-info-0000002038975322",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/basic-info",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay basic-info --invoke --body body.json",
        "show": "agc gameplay basic-info --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询战绩筛选标签",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:52.248Z",
        "status": "browser-read",
        "readCommand": "agc gameplay label --docs --pretty"
      },
      "id": "label",
      "familyId": "gameplay",
      "name": "查询战绩筛选标签",
      "description": "华为游戏服务器调用此接口查询玩家在玩游戏战绩的筛选标签，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay label",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section133671740131017",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section133671740131017",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670#section8202184551317",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的分类标签名称，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-label-0000001985625670",
      "officialSlug": "agcapi-label-0000001985625670",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/label",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay label --invoke --body body.json",
        "show": "agc gameplay label --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://jos-open-api.cloud.huawei.com",
      "authentication": "body-signature",
      "requestContentType": "application/x-www-form-urlencoded",
      "documentation": {
        "title": "上传/下架游戏资源",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:54.087Z",
        "status": "browser-read",
        "readCommand": "agc gameplay resources --docs --pretty"
      },
      "id": "resources",
      "familyId": "gameplay",
      "name": "上传/下架游戏资源",
      "description": "开发者服务器调用此接口同步华为服务器的游戏资源，用于上传或下架“在玩”页面上的图片或视频。",
      "method": "POST",
      "path": "/gameservice/api/gbClientApi",
      "command": "agc gameplay resources",
      "requiredParams": [
        "method",
        "appId",
        "resources",
        "ts",
        "sign"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
          "maxLength": 64,
          "enum": [
            "external.hms.gs.syncGameResources"
          ],
          "type": "string",
          "name": "method",
          "in": "body",
          "required": true,
          "description": "固定传入“external.hms.gs.syncGameResources”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "encodedJson": {
            "itemsRules": [
              {
                "id": "upload-resource-url",
                "kind": "required_if",
                "field": "body.url",
                "when": {
                  "field": "body.operType",
                  "equals": "0"
                },
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "message": "url is required when uploading a resource.",
                "suggestion": "Supply a publicly downloadable resource URL with its file extension."
              }
            ],
            "itemsProperties": [
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "maxLength": 128,
                "type": "string",
                "name": "index",
                "in": "body",
                "required": true,
                "description": "资源索引，取值由开发者定义，在该游戏内必须全局唯一。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "maxLength": 128,
                "type": "string",
                "name": "name",
                "in": "body",
                "required": true,
                "description": "资源名称。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "enum": [
                  "1",
                  "2"
                ],
                "type": "integer",
                "name": "type",
                "in": "body",
                "required": true,
                "description": "资源类型。 1：图片，大小不超过500KB，格式支持jpg、jpeg、bmp、png。 2：视频，大小不超过500MB，格式支持mp4、avi、mov。 说明 请按要求上传如下特殊位置的图片，否则页面展示可能会失真： 要求各勋章图片均保持相同的尺寸和1:1的宽高比。 用于战绩信息背景的皮肤要求大小不超过500KB，尺寸为1080*1440。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "maxLength": 2048,
                "type": "string",
                "name": "url",
                "in": "body",
                "required": false,
                "description": "可以公网访问的资源地址，需支持资源下载。 说明 上传游戏资源时，此参数必填。要求url中必须携带文件的后缀，并且图片地址需要https格式，例如https://test.abc.com/testPath/test.png。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "type": "integer",
                "format": "int64",
                "name": "updateTime",
                "in": "body",
                "required": false,
                "description": "更新时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "maxLength": 64,
                "type": "string",
                "name": "resourceHash",
                "in": "body",
                "required": false,
                "description": "图片资源的SHA256值。 说明 resourceHash和updateTime二选一，建议优先使用updateTime。如果资源的更新时间无法获取，则再传图片的散列值。"
              },
              {
                "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
                "enum": [
                  "0",
                  "1"
                ],
                "type": "integer",
                "name": "operType",
                "in": "body",
                "required": true,
                "description": "对资源的操作。 0：上传资源 1：下架资源"
              }
            ],
            "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
            "maxItems": 50,
            "itemsType": "object",
            "type": "array",
            "name": "",
            "in": "",
            "required": false
          },
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
          "maxLength": 300000,
          "type": "string",
          "name": "resources",
          "in": "body",
          "required": true,
          "description": "图片或视频资源，JSON字符串，JSON类型List<Resources>，最大支持50个资源。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
          "type": "integer",
          "format": "int64",
          "name": "ts",
          "in": "body",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725#section8202184551317",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "body",
          "required": true,
          "description": "用于华为游戏服务器对请求参数验签的签名字符串。 为防止请求被篡改，游戏需要根据签名机制中的方法生成签名字符串，华为服务器在收到请求后会对签名字符串进行验签，验签成功后才会进行后续处理，否则将返回失败错误码。请求中除sign、resources以外的所有Body参数均参与签名。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-resources-0000002022105725",
      "officialSlug": "agcapi-resources-0000002022105725",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/resources",
          "method": "GET"
        }
      },
      "affordances": {
        "formInput": "Supply raw unescaped values using --field or a JSON object using --body; the CLI performs UTF-8 form encoding once.",
        "invoke": "agc gameplay resources --invoke --body body.json",
        "show": "agc gameplay resources --pretty"
      }
    },
    {
      "documentation": {
        "title": "批量查询玩家角色信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:55.831Z",
        "status": "browser-read",
        "readCommand": "agc gameplay role-info --docs --pretty"
      },
      "id": "role-info",
      "familyId": "gameplay",
      "name": "批量查询玩家角色信息",
      "description": "华为游戏服务器调用此接口批量查询玩家角色信息。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay role-info",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userId",
        "userIdType",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section192471642124115",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section192471642124115",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section192471642124115",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section192471642124115",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section54371514181416",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section54371514181416",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section54371514181416",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173#section54371514181416",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的玩家角色信息，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-role-info-0000002075016173",
      "officialSlug": "agcapi-role-info-0000002075016173",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/role-info",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay role-info --invoke --body body.json",
        "show": "agc gameplay role-info --pretty"
      }
    },
    {
      "documentation": {
        "title": "分页查询玩家战绩",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:57.386Z",
        "status": "browser-read",
        "readCommand": "agc gameplay scores --docs --pretty"
      },
      "id": "scores",
      "familyId": "gameplay",
      "name": "分页查询玩家战绩",
      "description": "华为游戏服务器调用此接口分页查询玩家在玩游戏的战绩数据，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay scores",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userId",
        "userIdType",
        "pageNo",
        "pageSize",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section133671740131017",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section133671740131017",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "serverId",
          "in": "body",
          "required": false,
          "description": "区服ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "roleId",
          "in": "body",
          "required": false,
          "description": "角色ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "tag",
          "in": "body",
          "required": false,
          "description": "分类标签值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "minimum": 1,
          "type": "integer",
          "name": "pageNo",
          "in": "body",
          "required": true,
          "description": "页码。起始页码为1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maximum": 100,
          "type": "integer",
          "name": "pageSize",
          "in": "body",
          "required": true,
          "description": "每页数量，默认20个，最大100个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938#section8202184551317",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的战绩卡片信息，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-scores-0000001985465938",
      "officialSlug": "agcapi-scores-0000001985465938",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/scores",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay scores --invoke --body body.json",
        "show": "agc gameplay scores --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询游戏概要信息",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T02:59:58.981Z",
        "status": "browser-read",
        "readCommand": "agc gameplay summary --docs --pretty"
      },
      "id": "summary",
      "familyId": "gameplay",
      "name": "查询游戏概要信息",
      "description": "华为游戏服务器调用此接口查询玩家在玩游戏的概要数据，并将信息展示在游戏中心的“在玩”页面上。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc gameplay summary",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "timestamp",
        "nonce",
        "sign",
        "appId",
        "userId",
        "userIdType",
        "lang"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "header",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section133671740131017",
          "maxLength": 32,
          "type": "string",
          "name": "timestamp",
          "in": "header",
          "required": true,
          "description": "当前时间的时间戳，即距离GMT时间1970年1月1号0时0分0秒所差的毫秒数。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section133671740131017",
          "maxLength": 64,
          "type": "string",
          "name": "nonce",
          "in": "header",
          "required": true,
          "description": "随机字符串。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section133671740131017",
          "maxLength": 1024,
          "type": "string",
          "name": "sign",
          "in": "header",
          "required": true,
          "description": "华为服务器在发送请求时的签名字符串，生成步骤如下： 将Header参数中的appId、timestamp、nonce字段依次拼接成一个待签名的字符串。 对待签名字符串使用SHA256WithRSA/PSS算法进行签名。 将签名后的字符串经过Base64编码，得到的字符串即为签名字符串。 您需要获取验签公钥，并根据加密算法使用公钥对签名字符串进行验签，验签方法参见验签机制。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏在AppGallery Connect中生成的APP ID，获取方法请参见查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdOpenId"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "serverId",
          "in": "body",
          "required": false,
          "description": "区服ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "maxLength": 32,
          "type": "string",
          "name": "roleId",
          "in": "body",
          "required": false,
          "description": "角色ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249#section8202184551317",
          "maxLength": 20,
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": true,
          "description": "语言，用于获取不同语言的统计值描述，至少需要支持zh_CN（中文）和en_US（英文）。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-summary-0000002022225249",
      "officialSlug": "agcapi-summary-0000002022225249",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/gameplay/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/gameplay/endpoints/summary",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc gameplay summary --invoke --body body.json",
        "show": "agc gameplay summary --pretty"
      }
    },
    {
      "requestContentType": "application/x-www-form-urlencoded; charset=UTF-8",
      "documentation": {
        "title": "查询玩家区服角色",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377",
        "updatedAt": "2026-02-11 14:07",
        "checkedAt": "2026-10-07T03:00:00.519Z",
        "status": "browser-read",
        "readCommand": "agc game-items propapi-getroleinfo --docs --pretty"
      },
      "id": "propapi-getroleinfo",
      "familyId": "game-items",
      "name": "查询玩家区服角色",
      "description": "此接口用于查询玩家区服角色信息。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc game-items propapi-getroleinfo",
      "requiredParams": [
        "callbackUrl",
        "userId",
        "userIdType",
        "ts",
        "sign"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377#section1764512695513",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377#section1764512695513",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionId 4：gamePlayerId 5：teamPlayerId 6：thirdUserId 说明 userId和userIdType配套使用，userId是值，userIdType是类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377#section1764512695513",
          "type": "integer",
          "name": "ts",
          "in": "body",
          "required": true,
          "description": "当前时间（单位为：milliseconds），由System.currentTimeMillis()获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377#section1764512695513",
          "maxLength": 8192,
          "type": "string",
          "name": "sign",
          "in": "body",
          "required": true,
          "description": "RSA签名（使用游戏服务公钥进行验签，待验签内容生成方法见签名机制）。 签名算法SHA256WithRSA/PSS。 注意 考虑到自选参数格式多样化，本参数在\"utf-8\" urlencode后发送。 Java中request的getParameter()方法会隐含进行urldecode。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-getroleinfo-0000002355255377",
      "officialSlug": "agcapi-propapi-getroleinfo-0000002355255377",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/game-items/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/game-items/endpoints/propapi-getroleinfo",
          "method": "GET"
        }
      },
      "affordances": {
        "formInput": "Supply raw unescaped values using --field or a JSON object using --body; the CLI performs UTF-8 form encoding once.",
        "invoke": "agc game-items propapi-getroleinfo --invoke --body body.json",
        "show": "agc game-items propapi-getroleinfo --pretty"
      }
    },
    {
      "requestContentType": "application/x-www-form-urlencoded; charset=UTF-8",
      "documentation": {
        "title": "下单",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T03:00:02.681Z",
        "status": "browser-read",
        "readCommand": "agc game-items propapi-order --docs --pretty"
      },
      "id": "propapi-order",
      "familyId": "game-items",
      "name": "下单",
      "description": "下单",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc game-items propapi-order",
      "requiredParams": [
        "callbackUrl",
        "requestId",
        "userId",
        "userIdType",
        "zoneId",
        "roleId",
        "productId",
        "price",
        "quantity",
        "currency",
        "ts",
        "sign"
      ],
      "parameters": [
        {
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "callbackUrl parameter"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 64,
          "type": "string",
          "name": "requestId",
          "in": "body",
          "required": true,
          "description": "请求标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 256,
          "type": "string",
          "name": "userId",
          "in": "body",
          "required": true,
          "description": "华为账号登录游戏后生成的玩家标识。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "enum": [
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
          ],
          "type": "integer",
          "name": "userIdType",
          "in": "body",
          "required": true,
          "description": "玩家标识类型： 1：playerId 2：openId 3：unionid 4：gamePlayerId 5：teamPlayerId 6：thirdUserId 说明 userId和userIdType配套使用，userId是值，userIdType是类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 64,
          "type": "string",
          "name": "zoneId",
          "in": "body",
          "required": true,
          "description": "游戏内区服ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 64,
          "type": "string",
          "name": "roleId",
          "in": "body",
          "required": true,
          "description": "游戏内角色ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 64,
          "type": "string",
          "name": "productId",
          "in": "body",
          "required": true,
          "description": "商品ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "type": "integer",
          "name": "price",
          "in": "body",
          "required": true,
          "description": "商品价格，单位：分。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "type": "integer",
          "name": "quantity",
          "in": "body",
          "required": true,
          "description": "订购数量。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 4,
          "type": "string",
          "name": "currency",
          "in": "body",
          "required": true,
          "description": "商品价格币种。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "type": "integer",
          "name": "ts",
          "in": "body",
          "required": true,
          "description": "当前时间（单位为：milliseconds），由System.currentTimeMillis()获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666#section89871216101211",
          "maxLength": 8192,
          "type": "string",
          "name": "sign",
          "in": "body",
          "required": true,
          "description": "RSA签名（使用游戏服务公钥进行验签，待验签内容生成方法见签名机制）。 签名算法为SHA256WithRSA/PSS。 注意 考虑到自选参数格式多样化，本参数在\"utf-8\" urlencode后发送。 Java中request的getParameter()方法会隐含进行urldecode。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect inbound callback reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-propapi-order-0000002321296666",
      "officialSlug": "agcapi-propapi-order-0000002321296666",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/game-items/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/game-items/endpoints/propapi-order",
          "method": "GET"
        }
      },
      "affordances": {
        "formInput": "Supply raw unescaped values using --field or a JSON object using --body; the CLI performs UTF-8 form encoding once.",
        "invoke": "agc game-items propapi-order --invoke --body body.json",
        "show": "agc game-items propapi-order --pretty"
      }
    },
    {
      "documentation": {
        "title": "新增资源包版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T03:00:04.166Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-addversion --docs --pretty"
      },
      "id": "respackapi-addversion",
      "familyId": "resources",
      "name": "新增资源包版本",
      "description": "创建“使用华为CDN”方式的资源包预下载任务。",
      "method": "POST",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-versions",
      "command": "agc resources respackapi-addversion",
      "requiredParams": [
        "requestId",
        "devId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section119494174419",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
              "maxLength": 255,
              "type": "string",
              "name": "packageName",
              "in": "body",
              "required": false,
              "description": "游戏包名。最大长度255个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
              "type": "string",
              "name": "appId",
              "in": "body",
              "required": true,
              "description": "游戏APP ID，获取方法参考查询应用信息。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
              "maximum": 999999999,
              "type": "integer",
              "name": "version",
              "in": "body",
              "required": true,
              "description": "资源包版本号。要求是不超过9位的整数，且必须大于已创建任务的版本号。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
              "type": "integer",
              "name": "startTime",
              "in": "body",
              "required": true,
              "description": "资源包预下载日期的开始时间。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
              "type": "integer",
              "name": "endTime",
              "in": "body",
              "required": true,
              "description": "资源包预下载日期的结束时间。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224#section985411610234",
          "type": "object",
          "name": "resourceVersion",
          "in": "body",
          "required": false,
          "description": "资源包版本信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-addversion-0000002328396224",
      "officialSlug": "agcapi-respackapi-addversion-0000002328396224",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-addversion",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-addversion --invoke --body body.json",
        "show": "agc resources respackapi-addversion --pretty"
      }
    },
    {
      "documentation": {
        "title": "删除资源包文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228",
        "updatedAt": "2025-11-20 11:58",
        "checkedAt": "2026-10-07T03:00:05.599Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-deletefile --docs --pretty"
      },
      "id": "respackapi-deletefile",
      "familyId": "resources",
      "name": "删除资源包文件",
      "description": "删除资源包任务文件，要求该资源包任务为下线状态。",
      "method": "DELETE",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-files",
      "command": "agc resources respackapi-deletefile",
      "requiredParams": [
        "requestId",
        "devId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228#section119494174419",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228#section985411610234",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228#section985411610234",
          "type": "string",
          "name": "fileIds",
          "in": "query",
          "required": false,
          "description": "资源包文件ID列表，使用英文逗号分隔。取值范围：[1,500]。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-deletefile-0000002328396228",
      "officialSlug": "agcapi-respackapi-deletefile-0000002328396228",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-deletefile",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-deletefile --invoke",
        "show": "agc resources respackapi-deletefile --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询资源包版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745",
        "updatedAt": "2026-04-27 14:44",
        "checkedAt": "2026-10-07T03:00:07.010Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-getversion --docs --pretty"
      },
      "id": "respackapi-getversion",
      "familyId": "resources",
      "name": "查询资源包版本",
      "description": "查询指定游戏下所有资源包版本的详细信息。",
      "method": "GET",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-versions",
      "command": "agc resources respackapi-getversion",
      "requiredParams": [
        "devId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745#section119494174419",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745#section985411610234",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745#section985411610234",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745#section985411610234",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "列表查询单页数量。取值范围[1,100]。 默认值：20。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-getversion-0000002362274745",
      "officialSlug": "agcapi-respackapi-getversion-0000002362274745",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-getversion",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-getversion --invoke",
        "show": "agc resources respackapi-getversion --pretty"
      }
    },
    {
      "documentation": {
        "title": "修改资源包版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T03:00:24.360Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-modifyversion --docs --pretty"
      },
      "id": "respackapi-modifyversion",
      "familyId": "resources",
      "name": "修改资源包版本",
      "description": "若isDraft传参为0，提交资源包预下载任务。",
      "method": "PUT",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-versions",
      "command": "agc resources respackapi-modifyversion",
      "requiredParams": [
        "requestId",
        "devId",
        "isDraft"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section16852614454",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "isDraft",
          "in": "body",
          "required": true,
          "description": "是否草稿： 0：提交。提交之后进入预发布状态。 1：草稿。草稿状态支持重新编辑。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "type": "integer",
              "name": "versionId",
              "in": "body",
              "required": true,
              "description": "资源包版本ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "maxLength": 255,
              "type": "string",
              "name": "packageName",
              "in": "body",
              "required": false,
              "description": "游戏包名。最大长度255个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "type": "string",
              "name": "appId",
              "in": "body",
              "required": true,
              "description": "游戏APP ID，获取方法参考查询应用信息。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "type": "integer",
              "name": "version",
              "in": "body",
              "required": false,
              "description": "版本号。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "type": "integer",
              "name": "startTime",
              "in": "body",
              "required": false,
              "description": "开始下载时间。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
              "type": "integer",
              "name": "endTime",
              "in": "body",
              "required": false,
              "description": "结束下载时间。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372#section985411610234",
          "type": "object",
          "name": "resourceVersion",
          "in": "body",
          "required": false,
          "description": "修改的资源包版本信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-modifyversion-0000002328236372",
      "officialSlug": "agcapi-respackapi-modifyversion-0000002328236372",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-modifyversion",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-modifyversion --invoke --body body.json",
        "show": "agc resources respackapi-modifyversion --pretty"
      }
    },
    {
      "documentation": {
        "title": "查询资源包文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T05:20:04.356Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-queryfile --docs --pretty"
      },
      "rules": [
        {
          "minItems": 1,
          "maxItems": 500,
          "id": "resource-file-id-count",
          "kind": "csv_count",
          "field": "query.fileIds",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "message": "fileIds requires 1 to 500 nonempty comma-separated file IDs.",
          "suggestion": "Supply at most 500 file IDs separated by commas without empty entries, or select a versionId."
        },
        {
          "id": "resource-file-identity",
          "kind": "at_least_one",
          "fields": [
            "query.versionId",
            "query.fileIds"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "message": "Supply versionId or fileIds to select resource files.",
          "suggestion": "Provide the resource version ID or a comma-separated file ID list."
        },
        {
          "id": "resource-file-identity-exclusive",
          "kind": "at_most_one",
          "fields": [
            "query.versionId",
            "query.fileIds"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "message": "Select either versionId or fileIds, as documented.",
          "suggestion": "Keep one resource-file selector and remove the other."
        }
      ],
      "id": "respackapi-queryfile",
      "familyId": "resources",
      "name": "查询资源包文件",
      "description": "查询资源包文件。",
      "method": "GET",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-files",
      "command": "agc resources respackapi-queryfile",
      "requiredParams": [
        "devId",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "type": "integer",
          "name": "versionId",
          "in": "query",
          "required": false,
          "description": "资源包版本ID。 说明 versionId参数和fileIds参数，选择一个传入。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "type": "string",
          "name": "fileIds",
          "in": "query",
          "required": false,
          "description": "资源包文件ID列表，使用英文逗号分隔。取值范围：[1,500]。 说明 versionId参数和fileIds参数，选择一个传入。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "type": "integer",
          "name": "page",
          "in": "query",
          "required": false,
          "description": "请求页码，默认值：1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749#section985411610234",
          "minimum": 1,
          "maximum": 100,
          "type": "integer",
          "name": "limit",
          "in": "query",
          "required": false,
          "description": "列表查询单页数量。取值范围：[1,100]。 默认值：20"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-queryfile-0000002362274749",
      "officialSlug": "agcapi-respackapi-queryfile-0000002362274749",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-queryfile",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-queryfile --invoke",
        "show": "agc resources respackapi-queryfile --pretty"
      }
    },
    {
      "documentation": {
        "title": "发布资源包版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637",
        "updatedAt": "2025-08-06 18:02",
        "checkedAt": "2026-10-07T03:00:27.040Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-releaseversion --docs --pretty"
      },
      "id": "respackapi-releaseversion",
      "familyId": "resources",
      "name": "发布资源包版本",
      "description": "发布资源包下载任务。",
      "method": "POST",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-version/publish",
      "command": "agc resources respackapi-releaseversion",
      "requiredParams": [
        "requestId",
        "devId",
        "appId",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637#section119494174419",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637#section15718114214818",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637#section15718114214818",
          "type": "integer",
          "name": "versionId",
          "in": "query",
          "required": true,
          "description": "资源包版本ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-releaseversion-0000002362394637",
      "officialSlug": "agcapi-respackapi-releaseversion-0000002362394637",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-releaseversion",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-releaseversion --invoke --body body.json",
        "show": "agc resources respackapi-releaseversion --pretty"
      }
    },
    {
      "documentation": {
        "title": "资源包文件上传申请",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376",
        "updatedAt": "2026-02-12 17:29",
        "checkedAt": "2026-10-07T05:16:45.382Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-uploadapplyfor --docs --pretty"
      },
      "id": "respackapi-uploadapplyfor",
      "familyId": "resources",
      "name": "资源包文件上传申请",
      "description": "获取上传地址和必要参数，根据申请返回的信息完成文件上传。",
      "method": "POST",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-file/apply",
      "command": "agc resources respackapi-uploadapplyfor",
      "requiredParams": [
        "requestId",
        "devId",
        "appId",
        "versionId",
        "fileName",
        "fileSHA256",
        "fileLength",
        "fileType"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section119494174419",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "type": "integer",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "资源包版本ID。"
        },
        {
          "pattern": "^[^|:/\\\\*?\"<>]+$",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "maxLength": 255,
          "type": "string",
          "name": "fileName",
          "in": "body",
          "required": true,
          "description": "应用包文件名称，最大长度为255个字符，且名称不能包含特殊字符（|）、（:）、（/）、（\\）、（*）、（?）、（\"）、（<）、（>）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "type": "string",
          "name": "fileSHA256",
          "in": "body",
          "required": true,
          "description": "升级包文件SHA256值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "type": "integer",
          "name": "fileLength",
          "in": "body",
          "required": true,
          "description": "升级包文件大小（字节数）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "enum": [
            "0"
          ],
          "type": "integer",
          "name": "fileType",
          "in": "body",
          "required": true,
          "description": "升级包文件类型： 0：apk-resource"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
              "maxLength": 1024,
              "type": "string",
              "name": "partNo",
              "in": "body",
              "required": false,
              "description": "分段序号。最大长度为1024个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
              "type": "string",
              "name": "fileSHA256",
              "in": "body",
              "required": false,
              "description": "分段升级包文件SHA256值。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
              "type": "integer",
              "name": "fileLength",
              "in": "body",
              "required": false,
              "description": "分段升级包文件大小（字节数）。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376#section985411610234",
          "maxItems": 1000,
          "itemsType": "object",
          "type": "array",
          "name": "filePartApplyInfo",
          "in": "body",
          "required": false,
          "description": "分段上传信息，分段数取值[0,1000]。 要求待上传的资源包文件不能低于5MB。 若待上传的资源包文件超过5GB，建议分段上传文件。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadapplyfor-0000002328236376",
      "officialSlug": "agcapi-respackapi-uploadapplyfor-0000002328236376",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-uploadapplyfor",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-uploadapplyfor --invoke --body body.json",
        "show": "agc resources respackapi-uploadapplyfor --pretty"
      }
    },
    {
      "documentation": {
        "title": "资源包文件上传确认",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641",
        "updatedAt": "2025-08-08 14:18",
        "checkedAt": "2026-10-07T03:00:29.824Z",
        "status": "browser-read",
        "readCommand": "agc resources respackapi-uploadconfirm --docs --pretty"
      },
      "id": "respackapi-uploadconfirm",
      "familyId": "resources",
      "name": "资源包文件上传确认",
      "description": "确认资源包文件已上传。",
      "method": "POST",
      "path": "/api/games-background-assets-service/v1/open-gw/dev/{devId}/package-file/confirm",
      "command": "agc resources respackapi-uploadconfirm",
      "requiredParams": [
        "requestId",
        "devId",
        "uploadResult",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section119494174419",
          "maxLength": 128,
          "type": "string",
          "name": "requestId",
          "in": "header",
          "required": true,
          "description": "请求ID，最大长度128个字符，必须唯一。开发者自定义，用于鉴别是否是重复请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section6704618182019",
          "type": "integer",
          "name": "devId",
          "in": "path",
          "required": true,
          "description": "开发者ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": false,
          "description": "游戏APP ID，获取方法参考查询应用信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "type": "integer",
          "name": "fileId",
          "in": "body",
          "required": false,
          "description": "文件ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "uploadResult",
          "in": "body",
          "required": true,
          "description": "上传结果： 0：成功 1：失败"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "type": "integer",
          "name": "versionId",
          "in": "body",
          "required": true,
          "description": "资源包版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "maxLength": 128,
          "type": "string",
          "name": "hotUpdateVersion",
          "in": "body",
          "required": false,
          "description": "资源包子版本号。最长128个字符。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
              "maxLength": 1024,
              "type": "string",
              "name": "partNo",
              "in": "body",
              "required": false,
              "description": "分段序号。最大长度1024个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
              "maxLength": 2048,
              "type": "string",
              "name": "partObjectId",
              "in": "body",
              "required": false,
              "description": "分段对象，大文件创建接口响应获取。最大长度2048个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
              "maxLength": 2048,
              "type": "string",
              "name": "etag",
              "in": "body",
              "required": false,
              "description": "分段Etag，上传至OBS响应的header中获取。最大长度2048个字符。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
              "maxLength": 2048,
              "type": "string",
              "name": "xGoogleGeneration",
              "in": "body",
              "required": false,
              "description": "分段x_google_gengration，上传至OBS响应的header中获取。最大长度2048个字符。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641#section985411610234",
          "itemsType": "object",
          "type": "array",
          "name": "filePartConfirmInfos",
          "in": "body",
          "required": false,
          "description": "文件分片确认信息。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-respackapi-uploadconfirm-0000002362394641",
      "officialSlug": "agcapi-respackapi-uploadconfirm-0000002362394641",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/resources/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/resources/endpoints/respackapi-uploadconfirm",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc resources respackapi-uploadconfirm --invoke --body body.json",
        "show": "agc resources respackapi-uploadconfirm --pretty"
      }
    },
    {
      "id": "build-hvigor",
      "familyId": "cicd",
      "name": "本地 Hvigor 构建",
      "description": "Run local HarmonyOS Hvigor build and return artifact metadata.",
      "method": "POST",
      "path": "/local/hvigor/build",
      "command": "agc cicd build-hvigor",
      "requiredParams": [
        "project"
      ],
      "parameters": [
        {
          "type": "string",
          "name": "project",
          "in": "body",
          "required": true,
          "description": "本地 HarmonyOS 项目目录"
        },
        {
          "type": "string",
          "name": "hvigorPath",
          "in": "body",
          "required": false,
          "description": "Hvigor 可执行文件路径；默认检测 DevEco Studio 或 PATH"
        },
        {
          "type": "string",
          "name": "product",
          "in": "body",
          "required": false,
          "description": "产品名，默认 default"
        },
        {
          "type": "string",
          "name": "buildMode",
          "in": "body",
          "required": false,
          "description": "debug 或 release，默认 debug"
        },
        {
          "type": "string",
          "name": "task",
          "in": "body",
          "required": false,
          "description": "assembleHap：模块 HAP；assembleApp：项目 APP，默认 assembleHap"
        }
      ],
      "body": "project,hvigorPath,product,buildMode,task",
      "status": "registered",
      "source": "agc-cli local integration",
      "sourceUrl": "docs/AGC_CLI_FULL_PLAN.md",
      "officialSlug": "local-hvigor-build",
      "direction": "local",
      "_links": {
        "family": {
          "href": "/api/v1/cicd/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cicd/endpoints/build-hvigor",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cicd build-hvigor --invoke --body body.json",
        "show": "agc cicd build-hvigor --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "create-function",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-function --docs --pretty"
      },
      "id": "create-function",
      "familyId": "functions",
      "name": "create-function",
      "description": "",
      "method": "POST",
      "path": "native:functions/create-function",
      "command": "agc functions create-function",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-function",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-function",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-function --docs --pretty",
        "invoke": "agc functions create-function --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions create-function --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "update-function-code",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions update-function-code --docs --pretty"
      },
      "id": "update-function-code",
      "familyId": "functions",
      "name": "update-function-code",
      "description": "",
      "method": "POST",
      "path": "native:functions/update-function-code",
      "command": "agc functions update-function-code",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-function-code",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/update-function-code",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions update-function-code --docs --pretty",
        "invoke": "agc functions update-function-code --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions update-function-code --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "update-function-config",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions update-function-config --docs --pretty"
      },
      "id": "update-function-config",
      "familyId": "functions",
      "name": "update-function-config",
      "description": "",
      "method": "POST",
      "path": "native:functions/update-function-config",
      "command": "agc functions update-function-config",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-function-config",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/update-function-config",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions update-function-config --docs --pretty",
        "invoke": "agc functions update-function-config --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions update-function-config --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "publish-function",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions publish-function --docs --pretty"
      },
      "id": "publish-function",
      "familyId": "functions",
      "name": "publish-function",
      "description": "",
      "method": "POST",
      "path": "native:functions/publish-function",
      "command": "agc functions publish-function",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-publish-function",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/publish-function",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions publish-function --docs --pretty",
        "invoke": "agc functions publish-function --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions publish-function --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "update-and-publish-function",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions update-and-publish-function --docs --pretty"
      },
      "id": "update-and-publish-function",
      "familyId": "functions",
      "name": "update-and-publish-function",
      "description": "",
      "method": "POST",
      "path": "native:functions/update-and-publish-function",
      "command": "agc functions update-and-publish-function",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-and-publish-function",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/update-and-publish-function",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions update-and-publish-function --docs --pretty",
        "invoke": "agc functions update-and-publish-function --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions update-and-publish-function --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "invoke",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions invoke --docs --pretty"
      },
      "id": "invoke",
      "familyId": "functions",
      "name": "invoke",
      "description": "",
      "method": "POST",
      "path": "native:functions/invoke",
      "command": "agc functions invoke",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-invoke",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/invoke",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions invoke --docs --pretty",
        "invoke": "agc functions invoke --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions invoke --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "list-functions",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-functions --docs --pretty"
      },
      "id": "list-functions",
      "familyId": "functions",
      "name": "list-functions",
      "description": "",
      "method": "POST",
      "path": "native:functions/list-functions",
      "command": "agc functions list-functions",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-functions",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-functions",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-functions --docs --pretty",
        "invoke": "agc functions list-functions --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions list-functions --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "query-function-version",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions query-function-version --docs --pretty"
      },
      "id": "query-function-version",
      "familyId": "functions",
      "name": "query-function-version",
      "description": "",
      "method": "POST",
      "path": "native:functions/query-function-version",
      "command": "agc functions query-function-version",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-query-function-version",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/query-function-version",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions query-function-version --docs --pretty",
        "invoke": "agc functions query-function-version --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions query-function-version --pretty"
      }
    },
    {
      "authentication": "agcli-user-oauth",
      "documentation": {
        "title": "list-function-versions",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-function-versions --docs --pretty"
      },
      "id": "list-function-versions",
      "familyId": "functions",
      "name": "list-function-versions",
      "description": "",
      "method": "POST",
      "path": "native:functions/list-function-versions",
      "command": "agc functions list-function-versions",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-function-versions",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-function-versions",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-function-versions --docs --pretty",
        "invoke": "agc functions list-function-versions --invoke --name FUNCTION --session-file SESSION.json",
        "show": "agc functions list-function-versions --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-alias",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions get-alias --docs --pretty"
      },
      "id": "get-alias",
      "familyId": "functions",
      "name": "get-alias",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}",
      "command": "agc functions get-alias",
      "requiredParams": [
        "functionName",
        "aliasName"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "aliasName",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-alias",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/get-alias",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions get-alias --docs --pretty",
        "invoke": "agc functions get-alias --invoke --session-file SESSION.json",
        "show": "agc functions get-alias --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "delete-alias",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions delete-alias --docs --pretty"
      },
      "id": "delete-alias",
      "familyId": "functions",
      "name": "delete-alias",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "DELETE",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}",
      "command": "agc functions delete-alias",
      "requiredParams": [
        "functionName",
        "aliasName"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "aliasName",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-delete-alias",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/delete-alias",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions delete-alias --docs --pretty",
        "invoke": "agc functions delete-alias --invoke --session-file SESSION.json",
        "show": "agc functions delete-alias --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "list-aliases",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-aliases --docs --pretty"
      },
      "id": "list-aliases",
      "familyId": "functions",
      "name": "list-aliases",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/aliases",
      "command": "agc functions list-aliases",
      "requiredParams": [
        "functionName"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionVersion",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "type": "integer",
          "name": "pageIndex",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-aliases",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-aliases",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-aliases --docs --pretty",
        "invoke": "agc functions list-aliases --invoke --session-file SESSION.json",
        "show": "agc functions list-aliases --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-alias",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-alias --docs --pretty"
      },
      "id": "create-alias",
      "familyId": "functions",
      "name": "create-alias",
      "description": "Reviewed native management transport; explicit user session required. Provide one or two explicit version weights totaling 100; no implicit selection of latest published version.",
      "method": "POST",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/aliases",
      "command": "agc functions create-alias",
      "requiredParams": [
        "functionName",
        "name",
        "functionVersion",
        "routingConfig"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionVersion",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 64,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false
        },
        {
          "additionalProperties": {
            "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "name": "weight",
            "in": "body",
            "required": true
          },
          "propertyNamesPattern": "^(\\$latest|[1-9][0-9]{0,2}|1000)$",
          "minProperties": 1,
          "maxProperties": 2,
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "routingConfig",
          "in": "body",
          "required": true,
          "description": "One or two version weights totaling 100; explicit complete routing required by this CLI."
        }
      ],
      "body": "name,functionVersion,description,routingConfig",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-alias",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-alias",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-alias --docs --pretty",
        "invoke": "agc functions create-alias --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions create-alias --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "update-alias",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions update-alias --docs --pretty"
      },
      "id": "update-alias",
      "familyId": "functions",
      "name": "update-alias",
      "description": "Reviewed native management transport; explicit user session required. Read get-alias first and provide revisionId plus the full intended routing configuration.",
      "method": "PUT",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/aliases/{aliasName}",
      "command": "agc functions update-alias",
      "requiredParams": [
        "functionName",
        "aliasName",
        "functionVersion",
        "revisionId",
        "routingConfig"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "aliasName",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionVersion",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "revisionId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 64,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false
        },
        {
          "additionalProperties": {
            "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "name": "weight",
            "in": "body",
            "required": true
          },
          "propertyNamesPattern": "^(\\$latest|[1-9][0-9]{0,2}|1000)$",
          "minProperties": 1,
          "maxProperties": 2,
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "routingConfig",
          "in": "body",
          "required": true,
          "description": "One or two version weights totaling 100; explicit complete routing required by this CLI."
        }
      ],
      "body": "functionVersion,revisionId,description,routingConfig",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-alias",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/update-alias",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions update-alias --docs --pretty",
        "invoke": "agc functions update-alias --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions update-alias --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-http-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-http-trigger --docs --pretty"
      },
      "id": "create-http-trigger",
      "familyId": "functions",
      "name": "create-http-trigger",
      "description": "Reviewed native management transport; explicit user session required. funcId is obtained from query-function-version and must include the intended qualifier; create policy separately if required.",
      "method": "POST",
      "path": "/api/wisefunction/serverless/v1/trigger",
      "command": "agc functions create-http-trigger",
      "requiredParams": [
        "funcId",
        "mode",
        "authFlag",
        "authAlgor",
        "authType",
        "enableUrlDecode"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "funcId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "NO_PATH"
          ],
          "type": "string",
          "name": "mode",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "boolean",
          "name": "authFlag",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "HDA-SYSTEM"
          ],
          "type": "string",
          "name": "authAlgor",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "apigw-client",
            "cloudgw-client",
            "internal-auth"
          ],
          "type": "string",
          "name": "authType",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "boolean",
          "name": "enableUrlDecode",
          "in": "body",
          "required": true
        }
      ],
      "body": "funcId,mode,authFlag,authAlgor,authType,enableUrlDecode",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-http-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-http-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-http-trigger --docs --pretty",
        "invoke": "agc functions create-http-trigger --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions create-http-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-cron-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-cron-trigger --docs --pretty"
      },
      "id": "create-cron-trigger",
      "familyId": "functions",
      "name": "create-cron-trigger",
      "description": "Reviewed native management transport; explicit user session required. Default AGCLI create switch is false; an explicit triggerSwitch is required. Current guide says switch cannot be changed later, unlike AGCLI update; cloud support is unverified.",
      "method": "POST",
      "path": "/api/wisefunction/serverless/v1/triggers",
      "command": "agc functions create-cron-trigger",
      "requiredParams": [
        "funcId",
        "triggerType",
        "triggerMode",
        "triggerSwitch",
        "spec"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "funcId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "Cron"
          ],
          "type": "string",
          "name": "triggerType",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "Sync",
            "ASync"
          ],
          "type": "string",
          "name": "triggerMode",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "boolean",
          "name": "triggerSwitch",
          "in": "body",
          "required": true
        },
        {
          "properties": [
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "schedule",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "name": "payload",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "spec",
          "in": "body",
          "required": true
        }
      ],
      "body": "funcId,triggerType,triggerMode,triggerSwitch,spec",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-cron-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-cron-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-cron-trigger --docs --pretty",
        "invoke": "agc functions create-cron-trigger --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions create-cron-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-http-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions get-http-trigger --docs --pretty"
      },
      "id": "get-http-trigger",
      "familyId": "functions",
      "name": "get-http-trigger",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/trigger/{triggerId}",
      "command": "agc functions get-http-trigger",
      "requiredParams": [
        "triggerId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "triggerId",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-http-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/get-http-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions get-http-trigger --docs --pretty",
        "invoke": "agc functions get-http-trigger --invoke --session-file SESSION.json",
        "show": "agc functions get-http-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "delete-http-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions delete-http-trigger --docs --pretty"
      },
      "id": "delete-http-trigger",
      "familyId": "functions",
      "name": "delete-http-trigger",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "DELETE",
      "path": "/api/wisefunction/serverless/v1/trigger/{triggerId}",
      "command": "agc functions delete-http-trigger",
      "requiredParams": [
        "triggerId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "triggerId",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-delete-http-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/delete-http-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions delete-http-trigger --docs --pretty",
        "invoke": "agc functions delete-http-trigger --invoke --session-file SESSION.json",
        "show": "agc functions delete-http-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "list-http-triggers",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-http-triggers --docs --pretty"
      },
      "id": "list-http-triggers",
      "familyId": "functions",
      "name": "list-http-triggers",
      "description": "Reviewed native management transport; explicit user session required. Listing path is also reviewed in boundary/triggerService.js. Endpoint list uses exact funcId, no automatic qualifier discovery.",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/trigger/list/{funcId}",
      "command": "agc functions list-http-triggers",
      "requiredParams": [
        "funcId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "funcId",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "type": "integer",
          "name": "pageIndex",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-http-triggers",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-http-triggers",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-http-triggers --docs --pretty",
        "invoke": "agc functions list-http-triggers --invoke --session-file SESSION.json",
        "show": "agc functions list-http-triggers --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions get-trigger --docs --pretty"
      },
      "id": "get-trigger",
      "familyId": "functions",
      "name": "get-trigger",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/triggers/{triggerId}",
      "command": "agc functions get-trigger",
      "requiredParams": [
        "triggerId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "triggerId",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/get-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions get-trigger --docs --pretty",
        "invoke": "agc functions get-trigger --invoke --session-file SESSION.json",
        "show": "agc functions get-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "delete-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions delete-trigger --docs --pretty"
      },
      "id": "delete-trigger",
      "familyId": "functions",
      "name": "delete-trigger",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "DELETE",
      "path": "/api/wisefunction/serverless/v1/triggers/{triggerId}",
      "command": "agc functions delete-trigger",
      "requiredParams": [
        "triggerId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "triggerId",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-delete-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/delete-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions delete-trigger --docs --pretty",
        "invoke": "agc functions delete-trigger --invoke --session-file SESSION.json",
        "show": "agc functions delete-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "list-triggers",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-triggers --docs --pretty"
      },
      "id": "list-triggers",
      "familyId": "functions",
      "name": "list-triggers",
      "description": "Reviewed native management transport; explicit user session required. Listing path is also reviewed in boundary/triggerService.js. Endpoint list uses exact funcId, no automatic qualifier discovery.",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/triggers/list/{funcId}",
      "command": "agc functions list-triggers",
      "requiredParams": [
        "funcId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "funcId",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "type": "integer",
          "name": "pageIndex",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-triggers",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-triggers",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-triggers --docs --pretty",
        "invoke": "agc functions list-triggers --invoke --session-file SESSION.json",
        "show": "agc functions list-triggers --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "update-cron-trigger",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions update-cron-trigger --docs --pretty"
      },
      "id": "update-cron-trigger",
      "familyId": "functions",
      "name": "update-cron-trigger",
      "description": "Reviewed native management transport; explicit user session required. Read get-trigger first; preserve funcId, spec, triggerMode and revisionId.",
      "method": "PUT",
      "path": "/api/wisefunction/serverless/v1/triggers/{triggerId}",
      "command": "agc functions update-cron-trigger",
      "requiredParams": [
        "triggerId",
        "funcId",
        "triggerMode",
        "triggerSwitch",
        "spec",
        "revisionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "triggerId",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "funcId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "Sync",
            "ASync"
          ],
          "type": "string",
          "name": "triggerMode",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "boolean",
          "name": "triggerSwitch",
          "in": "body",
          "required": true
        },
        {
          "properties": [
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "schedule",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "name": "payload",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "spec",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "revisionId",
          "in": "body",
          "required": true
        }
      ],
      "body": "funcId,triggerMode,triggerSwitch,spec,revisionId",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-cron-trigger",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/update-cron-trigger",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions update-cron-trigger --docs --pretty",
        "invoke": "agc functions update-cron-trigger --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions update-cron-trigger --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-function-policy",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions get-function-policy --docs --pretty"
      },
      "id": "get-function-policy",
      "familyId": "functions",
      "name": "get-function-policy",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/policy",
      "command": "agc functions get-function-policy",
      "requiredParams": [
        "functionName",
        "qualifier"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "qualifier",
          "in": "query",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-function-policy",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/get-function-policy",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions get-function-policy --docs --pretty",
        "invoke": "agc functions get-function-policy --invoke --session-file SESSION.json",
        "show": "agc functions get-function-policy --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-function-policy",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-function-policy --docs --pretty"
      },
      "id": "create-function-policy",
      "familyId": "functions",
      "name": "create-function-policy",
      "description": "Reviewed native management transport; explicit user session required. Read policy first; no automatic grants or silent retries.",
      "method": "POST",
      "path": "/api/wisefunction/serverless/v1/functions/{functionName}/policy",
      "command": "agc functions create-function-policy",
      "requiredParams": [
        "functionName",
        "qualifier",
        "effect",
        "action",
        "sourceProvider",
        "sourceId"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "functionName",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "qualifier",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "Allow"
          ],
          "type": "string",
          "name": "effect",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "InvokeFunction"
          ],
          "type": "string",
          "name": "action",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "sourceProvider",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "sourceId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "revisionId",
          "in": "body",
          "required": false
        }
      ],
      "body": "effect,action,sourceProvider,sourceId,revisionId",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-function-policy",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-function-policy",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-function-policy --docs --pretty",
        "invoke": "agc functions create-function-policy --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions create-function-policy --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "list-layers",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-layers --docs --pretty"
      },
      "id": "list-layers",
      "familyId": "functions",
      "name": "list-layers",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/layers",
      "command": "agc functions list-layers",
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "layerName",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "all",
            "self",
            "other"
          ],
          "type": "string",
          "name": "ownerFlag",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "compatibleRuntime",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "type": "integer",
          "name": "pageIndex",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-layers",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-layers",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-layers --docs --pretty",
        "invoke": "agc functions list-layers --invoke --session-file SESSION.json",
        "show": "agc functions list-layers --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "list-layer-versions",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions list-layer-versions --docs --pretty"
      },
      "id": "list-layer-versions",
      "familyId": "functions",
      "name": "list-layer-versions",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/layers/{layerName}/versions",
      "command": "agc functions list-layer-versions",
      "requiredParams": [
        "layerName"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "layerName",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "compatibleRuntime",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "maximum": 1000,
          "type": "integer",
          "name": "pageSize",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 1,
          "type": "integer",
          "name": "pageIndex",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-layer-versions",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/list-layer-versions",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions list-layer-versions --docs --pretty",
        "invoke": "agc functions list-layer-versions --invoke --session-file SESSION.json",
        "show": "agc functions list-layer-versions --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-layer-version",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions get-layer-version --docs --pretty"
      },
      "id": "get-layer-version",
      "familyId": "functions",
      "name": "get-layer-version",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/api/wisefunction/serverless/v1/layers/{layerName}/versions/{layerVersion}",
      "command": "agc functions get-layer-version",
      "requiredParams": [
        "layerName",
        "layerVersion"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "layerName",
          "in": "path",
          "required": true
        },
        {
          "pattern": "^[1-9][0-9]*$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "layerVersion",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-layer-version",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/get-layer-version",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions get-layer-version --docs --pretty",
        "invoke": "agc functions get-layer-version --invoke --session-file SESSION.json",
        "show": "agc functions get-layer-version --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-layer-version",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc functions create-layer-version --docs --pretty"
      },
      "id": "create-layer-version",
      "familyId": "functions",
      "name": "create-layer-version",
      "description": "Reviewed native management transport; explicit user session required. zipFile contains Base64 ZIP bytes; validate compressed/decompressed limits and entry count before authorization. Layer name creates the initial version or appends a version. AGCLI 1.12.0 local ZIP validation caps files below 50MiB; this direct API adapter uses the current browser-reviewed guide limits of 150MiB compressed, 300MiB expanded and 30000 entries. This difference and modern runtime wire values still require cloud verification.",
      "method": "POST",
      "path": "/api/wisefunction/serverless/v1/layers/{layerName}/versions",
      "command": "agc functions create-layer-version",
      "requiredParams": [
        "layerName",
        "compatibleRuntimes",
        "sharedScope",
        "zipFile"
      ],
      "parameters": [
        {
          "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "layerName",
          "in": "path",
          "required": true
        },
        {
          "itemsEnum": [
            "nodejs14.x",
            "java1.8",
            "python3",
            "custom-runtime"
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minItems": 1,
          "itemsType": "string",
          "type": "array",
          "name": "compatibleRuntimes",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "sharedScope",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "format": "byte",
          "name": "zipFile",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 1024,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 64,
          "type": "string",
          "name": "licenseInfo",
          "in": "body",
          "required": false
        }
      ],
      "body": "compatibleRuntimes,sharedScope,zipFile,description,licenseInfo",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-layer-version",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/functions/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/functions/endpoints/create-layer-version",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc functions create-layer-version --docs --pretty",
        "invoke": "agc functions create-layer-version --invoke --session-file SESSION.json --body body.json",
        "show": "agc functions create-layer-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "service-account-or-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "导入用户",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth import-users --docs --pretty"
      },
      "id": "import-users",
      "familyId": "cloud-auth",
      "name": "导入用户",
      "description": "此接口用于将准备好的用户信息导入到认证服务的用户数据中。",
      "method": "POST",
      "path": "/api/auth-service/v1/server/user:import",
      "command": "agc cloud-auth import-users",
      "requiredParams": [
        "productId",
        "users"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${JWT}”。JWT为通过Service Account方式获取授权中获取的鉴权令牌。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 1024,
              "type": "string",
              "name": "importUid",
              "in": "body",
              "required": true,
              "description": "用户ID，唯一标识。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 1024,
              "type": "string",
              "name": "displayName",
              "in": "body",
              "required": false,
              "description": "用户昵称。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 2048,
              "type": "string",
              "name": "photoUrl",
              "in": "body",
              "required": false,
              "description": "头像地址。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 512,
              "type": "string",
              "name": "email",
              "in": "body",
              "required": false,
              "description": "用户邮箱地址。 第三方的认证信息providers中的providerId为12的时候不能为空。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "type": "boolean",
              "name": "emailVerified",
              "in": "body",
              "required": false,
              "description": "邮箱是否需要验证，值为true或者false。 第三方的认证信息providers中的providerId为12的时候不能为空。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 32,
              "type": "string",
              "name": "phone",
              "in": "body",
              "required": false,
              "description": "手机号。格式: +国家码-手机号，示例+86-18260096275。 第三方的认证信息providers中的providerId为11的时候不能为空。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 20,
              "type": "string",
              "name": "createTime",
              "in": "body",
              "required": true,
              "description": "创建时间，距离1970年1月1日毫秒数。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 20,
              "type": "string",
              "name": "lastLoginTime",
              "in": "body",
              "required": false,
              "description": "上次登入时间，距离1970年1月1日的毫秒数。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 8192,
              "type": "string",
              "name": "passwordHash",
              "in": "body",
              "required": false,
              "description": "明文密码经过PBKDF2WithSHA256后的结果，迭代次数10000，盐值对应passwordSalt。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxLength": 8192,
              "type": "string",
              "name": "passwordSalt",
              "in": "body",
              "required": false,
              "description": "密码算法的盐值。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
                  "type": "string",
                  "name": "provider",
                  "in": "body",
                  "required": true,
                  "description": "认证方式类型: 0：匿名账号 1：华为账号 2: FACEBOOK* 3. TWITTER* 4：微信 5：华为游戏 6：QQ 7：微博 8：GOOGLE* 9: GOOGLE_PLAY_GAME* 10：自建账号 11：手机 12：邮箱 13：苹果账号 18：支付宝账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
                  "maxLength": 1024,
                  "type": "string",
                  "name": "providerUid",
                  "in": "body",
                  "required": true,
                  "description": "用户唯一标识，由三方系统分配。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
                  "maxLength": 2048,
                  "type": "string",
                  "name": "photoUrl",
                  "in": "body",
                  "required": false,
                  "description": "头像地址。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
                  "maxLength": 1024,
                  "type": "string",
                  "name": "displayName",
                  "in": "body",
                  "required": false,
                  "description": "用户昵称。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
                  "maxLength": 1024,
                  "type": "string",
                  "name": "openId",
                  "in": "body",
                  "required": false,
                  "description": "发送者唯一标识，例如微信openId。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
              "maxItems": 32,
              "itemsType": "object",
              "type": "array",
              "name": "providers",
              "in": "body",
              "required": true,
              "description": "第三方的认证信息。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892#section12304113241318",
          "itemsType": "object",
          "type": "array",
          "name": "users",
          "in": "body",
          "required": true,
          "description": "第三方的认证信息。"
        }
      ],
      "body": "users",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-import-0000001136020892",
      "officialSlug": "server-rest-import-0000001136020892",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/import-users",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth import-users --invoke --body body.json",
        "show": "agc cloud-auth import-users --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "service-account-or-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "导出用户",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth export-users --docs --pretty"
      },
      "id": "export-users",
      "familyId": "cloud-auth",
      "name": "导出用户",
      "description": "此接口用于导出认证服务中的用户信息。",
      "method": "POST",
      "path": "/api/auth-service/v1/server/user:export",
      "command": "agc cloud-auth export-users",
      "requiredParams": [
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686#section1651855118124",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686#section1651855118124",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${JWT}”。JWT为通过Service Account方式获取授权中获取的鉴权令牌。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686#section1651855118124",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686#section16294334331",
          "name": "block",
          "in": "body",
          "required": false,
          "description": "当前存储块号。不填默认是0。第1次调用时，block设置为0。服务端会返回totalBlock。后面采用循环调用，遍历导出block块里面的用户。 Documented String/example integer conflict; accepted without coercion."
        }
      ],
      "body": "block",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-export-0000001136180686",
      "officialSlug": "server-rest-export-0000001136180686",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/export-users",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth export-users --invoke --body body.json",
        "show": "agc cloud-auth export-users --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "service-account-or-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "验证用户凭据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth verify-token --docs --pretty"
      },
      "id": "verify-token",
      "familyId": "cloud-auth",
      "name": "验证用户凭据",
      "description": "此接口用于验证已经颁发的用户凭据并且检查用户凭据是否已经撤销。",
      "method": "GET",
      "path": "/api/oauth2/third/v1/verify-token",
      "command": "agc cloud-auth verify-token",
      "requiredParams": [
        "accessToken",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271#section1651855118124",
          "type": "string",
          "name": "accessToken",
          "in": "header",
          "required": true,
          "description": "用户凭据。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271#section1651855118124",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${JWT}”。JWT为通过Service Account方式获取授权中获取的鉴权令牌。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271#section1651855118124",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271#section29031245171214",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-verify-0000001182300271",
      "officialSlug": "server-rest-verify-0000001182300271",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/verify-token",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth verify-token --invoke",
        "show": "agc cloud-auth verify-token --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "service-account-or-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "撤销用户凭据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth revoke-token --docs --pretty"
      },
      "id": "revoke-token",
      "familyId": "cloud-auth",
      "name": "撤销用户凭据",
      "description": "此接口用于撤销已经颁发的用户访问凭据。",
      "method": "POST",
      "path": "/api/oauth2/third/v1/revoke-token",
      "command": "agc cloud-auth revoke-token",
      "requiredParams": [
        "uid",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193#section1649104725019",
          "type": "string",
          "name": "uid",
          "in": "header",
          "required": true,
          "description": "待撤销凭据的用户。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193#section1649104725019",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${JWT}”。JWT为通过Service Account方式获取授权中获取的鉴权令牌。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193#section1649104725019",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193#section1696945244814",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/server-rest-revoke-0000001182420193",
      "officialSlug": "server-rest-revoke-0000001182420193",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/revoke-token",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth revoke-token --invoke --body body.json",
        "show": "agc cloud-auth revoke-token --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "body-client-credentials",
      "requestContentType": "application/json",
      "documentation": {
        "title": "获取Token",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth client-token --docs --pretty"
      },
      "id": "client-token",
      "familyId": "cloud-auth",
      "name": "获取Token",
      "description": "在使用客户端REST API调用业务接口前，需要通过华为开放平台进行鉴权，并获取认证通过后的Token。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/v1/token",
      "command": "agc cloud-auth client-token",
      "requiredParams": [
        "useJwt",
        "grant_type",
        "client_id",
        "client_secret"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481#section128mcpsimp",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": true,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 1：使用JWT。 0：不使用，默认为0。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481#section128mcpsimp",
          "enum": [
            "client_credentials"
          ],
          "type": "string",
          "name": "grant_type",
          "in": "body",
          "required": true,
          "description": "固定传入“client_credentials”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481#section128mcpsimp",
          "type": "string",
          "name": "client_id",
          "in": "body",
          "required": true,
          "description": "客户端ID，即获取客户端API授权中的“Client ID”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481#section128mcpsimp",
          "type": "string",
          "name": "client_secret",
          "in": "body",
          "required": true,
          "description": "客户端密钥，即获取客户端API授权中的“Client Secret”。"
        }
      ],
      "body": "useJwt,grant_type,client_id,client_secret",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-obtaintoken-0000001414202481",
      "officialSlug": "client-rest-auth-obtaintoken-0000001414202481",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/client-token",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth client-token --invoke --body body.json",
        "show": "agc cloud-auth client-token --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "验证码申请",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth request-code --docs --pretty"
      },
      "rules": [
        {
          "id": "account_identity",
          "kind": "at_least_one",
          "fields": [
            "body.phone",
            "body.email"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992",
          "message": "Supply a phone or email identity.",
          "suggestion": "Provide phone with country code, or email."
        }
      ],
      "id": "request-code",
      "familyId": "cloud-auth",
      "name": "验证码申请",
      "description": "此接口用于用户注册、登录或者重置密码时验证码申请。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/verify-code",
      "command": "agc cloud-auth request-code",
      "requiredParams": [
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section16132444182317",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section16132444182317",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section228117246513",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section31763842416",
          "type": "string",
          "name": "phone",
          "in": "body",
          "required": false,
          "description": "手机号。需包含国家码，以“+”开头，国家码和手机号之间以“-”连接，例如中国大陆手机号“+86-150xxxxxxxx”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section31763842416",
          "type": "string",
          "name": "email",
          "in": "body",
          "required": false,
          "description": "电子邮箱。 电子邮箱和手机号码二者必填一个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section31763842416",
          "enum": [
            "1001",
            "1002"
          ],
          "type": "integer",
          "name": "action",
          "in": "body",
          "required": false,
          "description": "验证码行为，取值如下： 1001：注册登录时申请验证码。 1002：重置密码时申请验证码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section31763842416",
          "enum": [
            "am_ET",
            "ar_EG",
            "as_IN",
            "az_AZ",
            "be_BY",
            "bg_BG",
            "bn_BD",
            "bo_CN",
            "bs_BA",
            "ca_ES",
            "cs_CZ",
            "da_DK",
            "de_DE",
            "el_GR",
            "en_GB",
            "en_US",
            "es_ES",
            "es_US",
            "et_EE",
            "eu_ES",
            "fa_IR",
            "fi_FI",
            "fr_FR",
            "gl_ES",
            "gu_IN",
            "iw_IL",
            "hi_IN",
            "hr_HR",
            "hu_HU",
            "in_ID",
            "it_IT",
            "ja_JP",
            "jv_Latn",
            "ka_GE",
            "kk_KZ",
            "km_KH",
            "kn_IN",
            "ko_KR",
            "lo_LA",
            "lt_LT",
            "lv_LV",
            "mai_IN",
            "mi_NZ",
            "mk_MK",
            "ml_IN",
            "mn_MN",
            "mr_IN",
            "ms_MY",
            "my_MM",
            "ne_NP",
            "nl_NL",
            "nb_NO",
            "or_IN",
            "pa_IN",
            "pl_PL",
            "pt_BR",
            "pt_PT",
            "ro_RO",
            "ru_RU",
            "si_LK",
            "sk_SK",
            "sl_SI",
            "sr_latn",
            "sv_SE",
            "sw_KE",
            "ta_IN",
            "te_IN",
            "th_TH",
            "tl_PH",
            "tr_TR",
            "my_ZG",
            "uk_UA",
            "ur_PK",
            "uz_UZ",
            "vi_VN",
            "zh_CN",
            "zh_HK",
            "zh_TW"
          ],
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": false,
          "description": "语言，格式为“zh_CN”。所有支持的语言类型请参考认证服务验证码语言类型。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992#section31763842416",
          "minimum": 30,
          "maximum": 120,
          "type": "integer",
          "name": "sendInterval",
          "in": "body",
          "required": false,
          "description": "验证码发送间隔，30s到120s之间。"
        }
      ],
      "body": "phone,email,action,lang,sendInterval",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-verifycode-0000001294228992",
      "officialSlug": "client-rest-auth-verifycode-0000001294228992",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/request-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth request-code --invoke --body body.json",
        "show": "agc cloud-auth request-code --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "用户注册",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth register --docs --pretty"
      },
      "rules": [
        {
          "id": "account_identity",
          "kind": "at_least_one",
          "fields": [
            "body.phone",
            "body.email"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109",
          "message": "Supply a phone or email identity.",
          "suggestion": "Provide phone with country code, or email."
        },
        {
          "id": "phone_verify_code",
          "kind": "required_with",
          "field": "body.verifyCode",
          "fields": [
            "body.phone"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109",
          "message": "Phone registration requires verifyCode.",
          "suggestion": "Obtain a test verification code before registering."
        }
      ],
      "id": "register",
      "familyId": "cloud-auth",
      "name": "用户注册",
      "description": "此接口用于用户注册。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-register",
      "command": "agc cloud-auth register",
      "requiredParams": [
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1271295172910",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1271295172910",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section3324145832711",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "phone",
          "in": "body",
          "required": false,
          "description": "手机号，包括国家码，以“+”开头，例如中国大陆的手机号以“+86”开头。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "email",
          "in": "body",
          "required": false,
          "description": "电子邮箱。 电子邮箱和手机号码二者必填一个。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "verifyCode",
          "in": "body",
          "required": false,
          "description": "验证码，传入手机号时必填。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "password",
          "in": "body",
          "required": false,
          "description": "登录密码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": false,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 0：不使用，默认为0。 1：使用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109#section1041827152910",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "phone,email,verifyCode,password,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-register-0000001346709109",
      "officialSlug": "client-rest-auth-register-0000001346709109",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/register",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth register --invoke --body body.json",
        "show": "agc cloud-auth register --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "用户密码登录",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth sign-in-password --docs --pretty"
      },
      "id": "sign-in-password",
      "familyId": "cloud-auth",
      "name": "用户密码登录",
      "description": "此接口用于用户使用密码登录。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-signin",
      "command": "agc cloud-auth sign-in-password",
      "requiredParams": [
        "productId",
        "provider",
        "token"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1180818719577",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1180818719577",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section8252421578",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": true,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "type": "string",
          "name": "token",
          "in": "body",
          "required": true,
          "description": "手机号码或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "type": "string",
          "name": "extraData",
          "in": "body",
          "required": false,
          "description": "扩展字段，此处用于密码登录时填写密码，填写样例如 {\\\"password\\\":\\\"xxxxxxxxx\\\"}。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "autoCreateUser",
          "in": "body",
          "required": false,
          "description": "是否自动创建用户，仅用于非托管账号： 0：不自动创建。 1：自动创建，默认为1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": false,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 0：不使用，默认为0。 1：使用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348#section1643221416579",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "provider,token,extraData,autoCreateUser,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signin-0000001294069348",
      "officialSlug": "client-rest-auth-signin-0000001294069348",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/sign-in-password",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth sign-in-password --invoke --body body.json",
        "show": "agc cloud-auth sign-in-password --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "用户验证码登录",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth sign-in-code --docs --pretty"
      },
      "id": "sign-in-code",
      "familyId": "cloud-auth",
      "name": "用户验证码登录",
      "description": "此接口用于用户使用验证码登录。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-signin",
      "command": "agc cloud-auth sign-in-code",
      "requiredParams": [
        "productId",
        "provider",
        "token"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section0279104411591",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section0279104411591",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section11159123655916",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": true,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "type": "string",
          "name": "token",
          "in": "body",
          "required": true,
          "description": "手机号码或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "type": "string",
          "name": "extraData",
          "in": "body",
          "required": false,
          "description": "扩展字段，此处用于验证码登录时填写验证码，填写样例如 {\\\"verifyCode\\\":\\\"123456\\\"}。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "autoCreateUser",
          "in": "body",
          "required": false,
          "description": "是否自动创建用户，仅用于非托管账号： 1：自动创建，默认为1。 0：不自动创建。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": false,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 0：不使用，默认为0。 1：使用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685#section1432704914599",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "provider,token,extraData,autoCreateUser,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-usersigini-0000001346828685",
      "officialSlug": "client-rest-auth-usersigini-0000001346828685",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/sign-in-code",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth sign-in-code --invoke --body body.json",
        "show": "agc cloud-auth sign-in-code --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "修改手机号或邮箱地址",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth update-account --docs --pretty"
      },
      "rules": [
        {
          "id": "new_identity",
          "kind": "at_least_one",
          "fields": [
            "body.newPhone",
            "body.newEmail"
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197",
          "message": "Supply a new phone or email.",
          "suggestion": "Specify newPhone or newEmail and its verification code."
        }
      ],
      "id": "update-account",
      "familyId": "cloud-auth",
      "name": "修改手机号或邮箱地址",
      "description": "此接口用于用户修改手机号码或者邮箱地址。",
      "method": "PUT",
      "path": "/agc/apigw/oauth2/third/v1/user-phone-email",
      "command": "agc cloud-auth update-account",
      "requiredParams": [
        "access_token",
        "productId",
        "newVerifyCode"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section14358637816",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section14358637816",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section14358637816",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section1454420327110",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section1556604410117",
          "type": "string",
          "name": "lang",
          "in": "body",
          "required": false,
          "description": "语言，格式为“zh_CN”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section1556604410117",
          "type": "string",
          "name": "newPhone",
          "in": "body",
          "required": false,
          "description": "新手机号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section1556604410117",
          "type": "string",
          "name": "newEmail",
          "in": "body",
          "required": false,
          "description": "新邮箱地址。 新邮箱地址和新手机号必填一个且只能填一个，即一次只修改手机号或者只修改邮箱地址。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197#section1556604410117",
          "type": "string",
          "name": "newVerifyCode",
          "in": "body",
          "required": true,
          "description": "新验证码。"
        }
      ],
      "body": "lang,newPhone,newEmail,newVerifyCode",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modify-phone-email-0000001347069197",
      "officialSlug": "client-rest-auth-modify-phone-email-0000001347069197",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/update-account",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth update-account --invoke --body body.json",
        "show": "agc cloud-auth update-account --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "重置密码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth reset-password --docs --pretty"
      },
      "id": "reset-password",
      "familyId": "cloud-auth",
      "name": "重置密码",
      "description": "此接口用于用户进行密码重置。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/reset-password",
      "command": "agc cloud-auth reset-password",
      "requiredParams": [
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section187405231633",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section187405231633",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section1226971914320",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section1263082911311",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": false,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section1263082911311",
          "type": "string",
          "name": "account",
          "in": "body",
          "required": false,
          "description": "用户手机账号或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section1263082911311",
          "type": "string",
          "name": "verifyCode",
          "in": "body",
          "required": false,
          "description": "验证码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500#section1263082911311",
          "type": "string",
          "name": "password",
          "in": "body",
          "required": false,
          "description": "新密码。"
        }
      ],
      "body": "provider,account,verifyCode,password",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-resetpwd-0000001293909500",
      "officialSlug": "client-rest-auth-resetpwd-0000001293909500",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/reset-password",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth reset-password --invoke --body body.json",
        "show": "agc cloud-auth reset-password --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "修改密码",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth update-password --docs --pretty"
      },
      "id": "update-password",
      "familyId": "cloud-auth",
      "name": "修改密码",
      "description": "此接口用于用户进行密码修改。",
      "method": "PUT",
      "path": "/agc/apigw/oauth2/third/v1/user-password",
      "command": "agc cloud-auth update-password",
      "requiredParams": [
        "access_token",
        "productId",
        "newPassword"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section10676123415615",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section10676123415615",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section10676123415615",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section790812451959",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section787416439612",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": false,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section787416439612",
          "type": "string",
          "name": "verifyCode",
          "in": "body",
          "required": false,
          "description": "验证码。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536#section787416439612",
          "type": "string",
          "name": "newPassword",
          "in": "body",
          "required": true,
          "description": "新密码。"
        }
      ],
      "body": "provider,verifyCode,newPassword",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-modifypwd-0000001293749536",
      "officialSlug": "client-rest-auth-modifypwd-0000001293749536",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/update-password",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth update-password --invoke --body body.json",
        "show": "agc cloud-auth update-password --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "用户关联",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth link-user --docs --pretty"
      },
      "id": "link-user",
      "familyId": "cloud-auth",
      "name": "用户关联",
      "description": "此接口用于用户进行账号关联操作。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-link",
      "command": "agc cloud-auth link-user",
      "requiredParams": [
        "access_token",
        "productId",
        "provider",
        "token"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section1871425017815",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section1871425017815",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section1871425017815",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section448216421586",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": true,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "type": "string",
          "name": "token",
          "in": "body",
          "required": true,
          "description": "手机号码或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "type": "string",
          "name": "extraData",
          "in": "body",
          "required": false,
          "description": "扩展字段，此处用于账号关联时填写密码，填写样例如{\\\"password\\\":\\\"xxxxxxxxx\\\"}。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "autoCreateUser",
          "in": "body",
          "required": false,
          "description": "是否自动创建用户，仅用于非托管账号： 1：自动创建，默认为1。 0：不自动创建。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": false,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 0：不使用，默认为0。 1：使用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381#section101544567816",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "provider,token,extraData,autoCreateUser,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userlink-0000001346909381",
      "officialSlug": "client-rest-auth-userlink-0000001346909381",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/link-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth link-user --invoke --body body.json",
        "show": "agc cloud-auth link-user --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "取消关联",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth unlink-user --docs --pretty"
      },
      "id": "unlink-user",
      "familyId": "cloud-auth",
      "name": "取消关联",
      "description": "此接口用于用户取消账号关联。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-unlink",
      "command": "agc cloud-auth unlink-user",
      "requiredParams": [
        "access_token",
        "productId",
        "provider"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000#section7186123271011",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000#section7186123271011",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000#section7186123271011",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000#section14425102781015",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000#section14425102781015",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "query",
          "required": true,
          "description": "需要取消关联的provider认证方式。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-unlink-0000001294229000",
      "officialSlug": "client-rest-auth-unlink-0000001294229000",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/unlink-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth unlink-user --invoke --body body.json",
        "show": "agc cloud-auth unlink-user --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "登出",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth sign-out --docs --pretty"
      },
      "id": "sign-out",
      "familyId": "cloud-auth",
      "name": "登出",
      "description": "此接口用于用户进行登出操作。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-signout",
      "command": "agc cloud-auth sign-out",
      "requiredParams": [
        "productId",
        "refreshToken",
        "accessToken"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113#section28252016123",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113#section28252016123",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113#section664965521111",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113#section1894611571217",
          "type": "string",
          "name": "refreshToken",
          "in": "body",
          "required": true,
          "description": "用于刷新accessToken。当accessToken过期后，需要使用refreshToken去获取新的accessToken。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113#section1894611571217",
          "type": "string",
          "name": "accessToken",
          "in": "body",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        }
      ],
      "body": "refreshToken,accessToken",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-signout-0000001346709113",
      "officialSlug": "client-rest-auth-signout-0000001346709113",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/sign-out",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth sign-out --invoke --body body.json",
        "show": "agc cloud-auth sign-out --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "注销",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth delete-user --docs --pretty"
      },
      "id": "delete-user",
      "familyId": "cloud-auth",
      "name": "注销",
      "description": "此接口用于用户进行账号注销操作。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-delete",
      "command": "agc cloud-auth delete-user",
      "requiredParams": [
        "access_token",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360#section6802739131316",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360#section6802739131316",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360#section6802739131316",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360#section1636433517133",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-userdelete-0000001294069360",
      "officialSlug": "client-rest-auth-userdelete-0000001294069360",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/delete-user",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth delete-user --invoke --body body.json",
        "show": "agc cloud-auth delete-user --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "账号重认证",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693",
        "updatedAt": "2026-10-22 11:25",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc cloud-auth reauthenticate --docs --pretty"
      },
      "id": "reauthenticate",
      "familyId": "cloud-auth",
      "name": "账号重认证",
      "description": "此接口用于用户进行账号重认证操作。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-reauthenticate",
      "command": "agc cloud-auth reauthenticate",
      "requiredParams": [
        "access_token",
        "productId",
        "provider",
        "token"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section587118188151",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section587118188151",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section587118188151",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": true,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section13279111311156",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": true,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "type": "string",
          "name": "token",
          "in": "body",
          "required": true,
          "description": "手机号码或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "type": "string",
          "name": "extraData",
          "in": "body",
          "required": false,
          "description": "扩展字段，此处用于账号重认证时填写密码，填写样例如{\\\"password\\\":\\\"xxxxxxxxx\\\"}。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "autoCreateUser",
          "in": "body",
          "required": false,
          "description": "是否自动创建用户，仅用于非托管账号： 0：不自动创建。 1：自动创建，默认为1。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": false,
          "description": "是否使用自有账号凭据JWT(Json Web Token)： 0：不使用，默认为0。 1：使用。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693#section05352023131512",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "provider,token,extraData,autoCreateUser,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/client-rest-auth-reauthenticate-0000001346828693",
      "officialSlug": "client-rest-auth-reauthenticate-0000001346828693",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cloud-auth/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cloud-auth/endpoints/reauthenticate",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc cloud-auth reauthenticate --invoke --body body.json",
        "show": "agc cloud-auth reauthenticate --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "body-client-credentials",
      "requestContentType": "application/json",
      "documentation": {
        "title": "获取Token",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602",
        "updatedAt": "2026-10-22 11:41",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc clouddb client-token --docs --pretty"
      },
      "id": "client-token",
      "familyId": "clouddb",
      "name": "获取Token",
      "description": "在使用客户端REST API调用业务接口前，需要通过华为开放平台进行鉴权，并获取认证通过后的Token。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/v1/token",
      "command": "agc clouddb client-token",
      "requiredParams": [
        "useJwt",
        "grant_type",
        "client_id",
        "client_secret"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602#section128mcpsimp",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": true,
          "description": "使用账号凭据JWT(Json Web Token)，固定传入“1”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602#section128mcpsimp",
          "enum": [
            "client_credentials"
          ],
          "type": "string",
          "name": "grant_type",
          "in": "body",
          "required": true,
          "description": "固定传入“client_credentials”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602#section128mcpsimp",
          "type": "string",
          "name": "client_id",
          "in": "body",
          "required": true,
          "description": "客户端ID，即获取客户端API授权中的“Client ID”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602#section128mcpsimp",
          "type": "string",
          "name": "client_secret",
          "in": "body",
          "required": true,
          "description": "客户端密钥，即获取客户端API授权中的“Client Secret”。"
        }
      ],
      "body": "useJwt,grant_type,client_id,client_secret",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-obtaintoken-rest-0000001446607602",
      "officialSlug": "clouddb-obtaintoken-rest-0000001446607602",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/client-token",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc clouddb client-token --invoke --body body.json",
        "show": "agc clouddb client-token --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "用户登录",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669",
        "updatedAt": "2026-10-22 11:41",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc clouddb sign-in --docs --pretty"
      },
      "id": "sign-in",
      "familyId": "clouddb",
      "name": "用户登录",
      "description": "该接口用于用户使用账号密码登录。",
      "method": "POST",
      "path": "/agc/apigw/oauth2/third/v1/user-signin",
      "command": "agc clouddb sign-in",
      "requiredParams": [
        "productId",
        "provider",
        "token",
        "useJwt"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1180818719577",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1180818719577",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息。格式为“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section8252421578",
          "type": "string",
          "name": "productId",
          "in": "query",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13"
          ],
          "type": "integer",
          "name": "provider",
          "in": "body",
          "required": true,
          "description": "账号授权提供方，取值及对应认证方式如下： 0：匿名账号 1：华为账号 2：Facebook* 3：Twitter* 4：微信 5：华为游戏 6：QQ 7：微博 8：Google* 9：Google Play Game* 10：自建账号 11：手机 12：邮箱 13：苹果账号 说明 *星号标记的账号类型仅在海外站点支持，当您选择数据处理位置为德国、新加坡或俄罗斯时可以使用这些认证方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "type": "string",
          "name": "token",
          "in": "body",
          "required": true,
          "description": "手机号码或者邮箱账号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "type": "string",
          "name": "extraData",
          "in": "body",
          "required": false,
          "description": "扩展字段，此处用于密码登录时填写密码，填写样例如 {\\\"password\\\":\\\"xxxxxxxxx\\\"}。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "autoCreateUser",
          "in": "body",
          "required": false,
          "description": "是否自动创建用户，仅用于非托管账号。 0：不自动创建用户。 1：默认值，自动创建用户。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "useJwt",
          "in": "body",
          "required": true,
          "description": "使用账号凭据JWT(Json Web Token)，固定传入“1”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "type": "string",
          "name": "channelId",
          "in": "body",
          "required": false,
          "description": "渠道标识，当前渠道划分为华为渠道、AppStore渠道以及GooglePlay渠道。当从这些渠道SDK登录时，该参数有值。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669#section1643221416579",
          "type": "string",
          "name": "aaId",
          "in": "body",
          "required": false,
          "description": "应用实例唯一编号。"
        }
      ],
      "body": "provider,token,extraData,autoCreateUser,useJwt,channelId,aaId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-signin-rest-0000001496447669",
      "officialSlug": "clouddb-signin-rest-0000001496447669",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/sign-in",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc clouddb sign-in --invoke --body body.json",
        "show": "agc clouddb sign-in --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "查询数据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573",
        "updatedAt": "2026-10-22 11:41",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc clouddb query-data --docs --pretty"
      },
      "id": "query-data",
      "familyId": "clouddb",
      "name": "查询数据",
      "description": "该接口用于用户查询数据，云数据库提供了丰富的谓词查询，比如equalTo、notEqualTo、in等，通过单个或者多个链式过滤条件，您可以从云侧数据库查询到满足特定条件的对象，也可以通过限定查询返回数量谓词限定查询结果返回的数量，还可以支持聚合查询，例如查询平均值、最大值、最小值等。",
      "method": "POST",
      "path": "/agc/apigw/clouddb/clouddbservice/sync/query",
      "command": "agc clouddb query-data",
      "requiredParams": [
        "productId",
        "_v",
        "msgInfo",
        "clientInfo",
        "queryReqMsg"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section1191513141413",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考获取客户端API授权。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section1191513141413",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息。格式为“Authorization: Bearer ${client_token}”。 client_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section1191513141413",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section1191513141413",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": false,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。该值为空时，则表示匿名账号登录。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section88414213129",
          "enum": [
            "4"
          ],
          "type": "integer",
          "name": "_v",
          "in": "query",
          "required": true,
          "description": "数据版本类型，入参需为“4”表示protobuf v2 版本类型的json字符串。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section42449327218",
              "enum": [
                "5"
              ],
              "type": "integer",
              "name": "type",
              "in": "body",
              "required": true,
              "description": "查询请求。入参需为“5”。 “3”：更新数据或删除数据请求。 “5”：查询数据请求。"
            },
            {
              "properties": [
                {
                  "type": "string",
                  "name": "storeName",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section42449327218",
              "type": "object",
              "name": "opStore",
              "in": "body",
              "required": true,
              "description": "JSON字符串。格式为{\"storeName\": \"cloudDBZone\"}。 cloudDBZone为存储区名。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section2069774871410",
          "type": "object",
          "name": "msgInfo",
          "in": "body",
          "required": true,
          "description": "消息的基本信息，具体请参见MsgInfo。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section448214662111",
              "type": "integer",
              "name": "appVer",
              "in": "body",
              "required": true,
              "description": "对象类型对应的版本号，获取请参考导出对象类型步骤4中的版本号。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section2069774871410",
          "type": "object",
          "name": "clientInfo",
          "in": "body",
          "required": true,
          "description": "客户端的基本信息，具体请参见ClientInfo。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section18423962213",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "type": "integer",
              "name": "queryType",
              "in": "body",
              "required": true,
              "description": "查询类型。涉及到的查询值类型如下： 0：默认值，普通查询。 1：AVG、Average，平均值查询。 2：SUM，总和查询。 3：MAX，最大值查询。 4：MIN，最小值查询。 5：COUNT，计数查询。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section18423962213",
              "type": "string",
              "name": "queryTable",
              "in": "body",
              "required": true,
              "description": "查询的对象类型名称。"
            },
            {
              "encodedJson": {
                "properties": [
                  {
                    "itemsProperties": [
                      {
                        "type": "string",
                        "name": "conditionType",
                        "in": "body",
                        "required": true
                      },
                      {
                        "type": "string",
                        "name": "fieldName",
                        "in": "body",
                        "required": false
                      },
                      {
                        "name": "value",
                        "in": "body",
                        "required": false
                      }
                    ],
                    "itemsType": "object",
                    "type": "array",
                    "name": "queryConditions",
                    "in": "body",
                    "required": true
                  }
                ],
                "type": "object",
                "name": "",
                "in": "",
                "required": false
              },
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section18423962213",
              "type": "string",
              "name": "queryCond",
              "in": "body",
              "required": true,
              "description": "查询条件。Json格式的字符串，例如：\"{\\\"queryConditions\\\":[{\\\"conditionType\\\":\\\"EqualTo\\\",\\\"fieldName\\\":\\\"id\\\",\\\"value\\\":\\\"3\\\"},{\\\"conditionType\\\":\\\"Limit\\\",\\\"value\\\":{\\\"number\\\":10,\\\"offset\\\":0}}]}\" 说明 当queryType不为0时，queryCond的conditionType参数必须设置为与queryType取值一致的查询条件，否则会导致接口返回错误。 例如：queryType取值为2时，conditionType必须设置为SUM。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573#section2069774871410",
          "type": "object",
          "name": "queryReqMsg",
          "in": "body",
          "required": true,
          "description": "查询请求的基本信息，具体请参见QueryRequestMessage。"
        }
      ],
      "body": "msgInfo,clientInfo,queryReqMsg",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-query-data-rest-0000001496647573",
      "officialSlug": "clouddb-query-data-rest-0000001496647573",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/query-data",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc clouddb query-data --invoke --body body.json",
        "show": "agc clouddb query-data --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "更新数据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706",
        "updatedAt": "2026-10-22 11:41",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc clouddb update-data --docs --pretty"
      },
      "id": "update-data",
      "familyId": "clouddb",
      "name": "更新数据",
      "description": "该接口用于用户更新数据，支持数据的新增和更新。更新数据时，如果在CloudDBZone已经存在主键值相同的对象，则更新已有的对象；如果不存在，则写入一个新的对象。更新操作需要设置naturalbase_deleted字段为false，具体请参见SchemaField字段设置。",
      "method": "POST",
      "path": "/agc/apigw/clouddb/clouddbservice/sync/upsert",
      "command": "agc clouddb update-data",
      "requiredParams": [
        "productId",
        "_v",
        "msgInfo",
        "clientInfo",
        "schemas",
        "opData"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1840608132312",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，即获取客户端API授权中的“Client ID”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1840608132312",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${authorization_token}”。 authorization_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1840608132312",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1840608132312",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": false,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。该值为空时，则表示匿名账号登录。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1475695062212",
          "enum": [
            "4"
          ],
          "type": "integer",
          "name": "_v",
          "in": "query",
          "required": true,
          "description": "数据版本类型，入参需为“4”表示protobuf v2 版本类型的json字符串。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1295143742319",
              "enum": [
                "3"
              ],
              "type": "integer",
              "name": "type",
              "in": "body",
              "required": true,
              "description": "更新请求，入参需为“3”。 “3”：更新数据或删除数据请求。 “5”：查询数据请求。"
            },
            {
              "properties": [
                {
                  "type": "string",
                  "name": "storeName",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1295143742319",
              "type": "object",
              "name": "opStore",
              "in": "body",
              "required": true,
              "description": "JSON字符串。格式为{\"storeName\": \"cloudDBZone\"}。 cloudDBZone为存储区名。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section621613240231",
          "type": "object",
          "name": "msgInfo",
          "in": "body",
          "required": true,
          "description": "消息的基本信息，具体请参见MsgInfo。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section10559951122313",
              "type": "integer",
              "name": "appVer",
              "in": "body",
              "required": true,
              "description": "对象类型对应的版本号，获取请参考导出对象类型步骤4中的版本号。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section621613240231",
          "type": "object",
          "name": "clientInfo",
          "in": "body",
          "required": true,
          "description": "客户端的基本信息，具体请参见ClientInfo。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1344310632417",
              "type": "string",
              "name": "n",
              "in": "body",
              "required": true,
              "description": "对象类型名称。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section3658142019245",
                  "type": "string",
                  "name": "n",
                  "in": "body",
                  "required": true,
                  "description": "字段名。更新操作时必须有如下两个字段，并遵循如下约束： long类型的naturalbase_version字段：该字段不生效，可设置为任意值。 布尔类型的naturalbase_deleted字段：需设置为固定值“false”。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section3658142019245",
                  "type": "string",
                  "name": "t",
                  "in": "body",
                  "required": true,
                  "description": "字段类型，取值包含如下字段类型： 1：TYPE_BOOLEAN，布尔类型。 2：TYPE_BYTE，byte类型。 3：TYPE_SHORT，short类型。 4：TYPE_INT32，int类型。 5：TYPE_LONG，long类型。 6：TYPE_FLOAT，float类型。 7：TYPE_DOUBLE，double类型。 8：TYPE_BYTE_ARRAY，byte数组类型。 9：TYPE_STRING，String类型。 10：TYPE_DATE，date类型。 11：TYPE_TEXT，文本类型。 12：TYPE_AUTO_INCREMENT_INT，int自增类型。 13：TYPE_AUTO_INCREMENT_LONG，long自增类型。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section1344310632417",
              "itemsType": "object",
              "type": "array",
              "name": "fs",
              "in": "body",
              "required": true,
              "description": "字段名称。更新字段时，该字段必须属于同一个对象类型，否则会导致更新失败。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section621613240231",
          "itemsType": "object",
          "type": "array",
          "name": "schemas",
          "in": "body",
          "required": true,
          "description": "表对象信息，具体请参见Schema。"
        },
        {
          "itemsProperties": [
            {
              "itemsProperties": [
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "boolean",
                      "name": "n",
                      "in": "body",
                      "required": false,
                      "description": "是否设置为null"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "boolean",
                      "name": "bl",
                      "in": "body",
                      "required": false,
                      "description": "boolean类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "integer",
                      "name": "b",
                      "in": "body",
                      "required": false,
                      "description": "byte类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "integer",
                      "name": "st",
                      "in": "body",
                      "required": false,
                      "description": "short类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "integer",
                      "name": "i",
                      "in": "body",
                      "required": false,
                      "description": "int类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "integer",
                      "name": "l",
                      "in": "body",
                      "required": false,
                      "description": "long类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "number",
                      "name": "f",
                      "in": "body",
                      "required": false,
                      "description": "float类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "number",
                      "name": "d",
                      "in": "body",
                      "required": false,
                      "description": "double类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "name": "ba",
                      "in": "body",
                      "required": false,
                      "description": "byteArray类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section153514306256",
                      "type": "string",
                      "name": "s",
                      "in": "body",
                      "required": false,
                      "description": "String类型值"
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section101441056257",
                  "itemsType": "object",
                  "type": "array",
                  "name": "fs",
                  "in": "body",
                  "required": true,
                  "description": "单条对象信息。 说明 更新操作包含naturalbase_deleted的字段固定设置值为false。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section090964114246",
              "maxItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "os",
              "in": "body",
              "required": true,
              "description": "操作对象信息。该对象必须属于同一个对象类型，且仅支持传入一个Field。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section090964114246",
              "enum": [
                "1"
              ],
              "type": "integer",
              "name": "t",
              "in": "body",
              "required": true,
              "description": "更新操作类型，入参为“1”。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706#section621613240231",
          "itemsType": "object",
          "type": "array",
          "name": "opData",
          "in": "body",
          "required": true,
          "description": "更新数据对象信息，具体请参见OperatorData。"
        }
      ],
      "body": "msgInfo,clientInfo,schemas,opData",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-update-data-rest-0000001446287706",
      "officialSlug": "clouddb-update-data-rest-0000001446287706",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/update-data",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc clouddb update-data --invoke --body body.json",
        "show": "agc clouddb update-data --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-drcn.dbankcloud.cn",
      "authentication": "client-api-token",
      "requestContentType": "application/json",
      "documentation": {
        "title": "删除数据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714",
        "updatedAt": "2026-10-22 11:41",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc clouddb delete-data --docs --pretty"
      },
      "id": "delete-data",
      "familyId": "clouddb",
      "name": "删除数据",
      "description": "该接口用于用户删除数据，根据您传入对象主键删除相应的数据，不会比对该对象其他属性与存储的数据是否一致，删除操作需要设置naturalbase_deleted字段为true，具体请参见SchemaField字段设置。",
      "method": "POST",
      "path": "/agc/apigw/clouddb/clouddbservice/sync/upsert",
      "command": "agc clouddb delete-data",
      "requiredParams": [
        "productId",
        "_v",
        "msgInfo",
        "clientInfo",
        "schemas",
        "opData"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section664671343615",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，即获取客户端API授权中的“Client ID”。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section664671343615",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${authorization_token}”。 authorization_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section664671343615",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section664671343615",
          "type": "string",
          "name": "access_token",
          "in": "header",
          "required": false,
          "description": "认证凭据。用户登录成功后，在登录接口的响应参数“accessToken”中获取。该值为空时，则表示匿名账号登录。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1664165216352",
          "enum": [
            "4"
          ],
          "type": "integer",
          "name": "_v",
          "in": "query",
          "required": true,
          "description": "数据版本类型，入参需为“4”表示protobuf v2 版本类型的json字符串。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714",
              "enum": [
                "3"
              ],
              "type": "integer",
              "name": "type",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "type": "string",
                  "name": "storeName",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714",
              "type": "object",
              "name": "opStore",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1719674619367",
          "type": "object",
          "name": "msgInfo",
          "in": "body",
          "required": true,
          "description": "消息的基本信息，具体请参见MsgInfo。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section177593293713",
              "type": "integer",
              "name": "appVer",
              "in": "body",
              "required": true,
              "description": "对象类型对应的版本号，获取请参考导出对象类型步骤4中的版本号。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1719674619367",
          "type": "object",
          "name": "clientInfo",
          "in": "body",
          "required": true,
          "description": "客户端的基本信息，具体请参见ClientInfo。"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section18342205718374",
              "type": "string",
              "name": "n",
              "in": "body",
              "required": true,
              "description": "对象类型名称。"
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section129653168386",
                  "type": "string",
                  "name": "n",
                  "in": "body",
                  "required": true,
                  "description": "字段名。删除操作时必须有如下两个字段，并遵循相关约束： long类型的naturalbase_version字段：该字段不生效，可设置为任意值。 boolean类型的naturalbase_deleted字段：需设置为固定值“true”。"
                },
                {
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section129653168386",
                  "type": "string",
                  "name": "t",
                  "in": "body",
                  "required": true,
                  "description": "字段类型，取值包含如下字段类型： 1：TYPE_BOOLEAN，布尔类型。 2：TYPE_BYTE，byte类型。 3：TYPE_SHORT，short类型。 4：TYPE_INT32，int类型。 5：TYPE_LONG，long类型。 6：TYPE_FLOAT，float类型。 7：TYPE_DOUBLE，double类型。 8：TYPE_BYTE_ARRAY，byte数组类型。 9：TYPE_STRING，String类型。 10：TYPE_DATE，date类型。 11：TYPE_TEXT，文本类型。 12：TYPE_AUTO_INCREMENT_INT，int自增类型。 13：TYPE_AUTO_INCREMENT_LONG，long自增类型。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section18342205718374",
              "itemsType": "object",
              "type": "array",
              "name": "fs",
              "in": "body",
              "required": true,
              "description": "字段名称。删除字段时，该对象必须属于同一个对象类型，且只能传入一个SchemaField。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1719674619367",
          "itemsType": "object",
          "type": "array",
          "name": "schemas",
          "in": "body",
          "required": true,
          "description": "对象类型信息。"
        },
        {
          "itemsProperties": [
            {
              "itemsProperties": [
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "boolean",
                      "name": "n",
                      "in": "body",
                      "required": false,
                      "description": "是否设置为null"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "boolean",
                      "name": "bl",
                      "in": "body",
                      "required": false,
                      "description": "boolean类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "integer",
                      "name": "b",
                      "in": "body",
                      "required": false,
                      "description": "byte类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "integer",
                      "name": "st",
                      "in": "body",
                      "required": false,
                      "description": "short类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "integer",
                      "name": "i",
                      "in": "body",
                      "required": false,
                      "description": "int类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "integer",
                      "name": "l",
                      "in": "body",
                      "required": false,
                      "description": "long类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "number",
                      "name": "f",
                      "in": "body",
                      "required": false,
                      "description": "float类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "number",
                      "name": "d",
                      "in": "body",
                      "required": false,
                      "description": "double类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "name": "ba",
                      "in": "body",
                      "required": false,
                      "description": "byteArray类型值"
                    },
                    {
                      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1176810453917",
                      "type": "string",
                      "name": "s",
                      "in": "body",
                      "required": false,
                      "description": "String类型值"
                    }
                  ],
                  "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section156861057163820",
                  "itemsType": "object",
                  "type": "array",
                  "name": "fs",
                  "in": "body",
                  "required": true,
                  "description": "单条对象信息。 说明 删除操作中包含主键、naturalbase_deleted的字段固定设置值为true。"
                }
              ],
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section7855744143812",
              "maxItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "os",
              "in": "body",
              "required": true,
              "description": "操作对象信息。该对象必须属于同一个对象类型，且仅支持传入一个Field。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section7855744143812",
              "enum": [
                "1"
              ],
              "type": "integer",
              "name": "t",
              "in": "body",
              "required": true,
              "description": "删除操作类型，入参为“1”。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714#section1719674619367",
          "itemsType": "object",
          "type": "array",
          "name": "opData",
          "in": "body",
          "required": true,
          "description": "更新数据的对象信息。"
        }
      ],
      "body": "msgInfo,clientInfo,schemas,opData",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/clouddb-delete-data-rest-0000001449956714",
      "officialSlug": "clouddb-delete-data-rest-0000001449956714",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/delete-data",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc clouddb delete-data --invoke --body body.json",
        "show": "agc clouddb delete-data --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "schema-versions",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb schema-versions --docs --pretty"
      },
      "id": "schema-versions",
      "familyId": "clouddb",
      "name": "schema-versions",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/agc/edge/clouddb/clouddbservice/v1/schemaVersion",
      "command": "agc clouddb schema-versions",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-schema-versions",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/schema-versions",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb schema-versions --docs --pretty",
        "invoke": "agc clouddb schema-versions --invoke --session-file SESSION.json",
        "show": "agc clouddb schema-versions --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "get-object-type",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb get-object-type --docs --pretty"
      },
      "id": "get-object-type",
      "familyId": "clouddb",
      "name": "get-object-type",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/agc/edge/clouddb/clouddbservice/v1/objectType",
      "command": "agc clouddb get-object-type",
      "requiredParams": [
        "schemaVersion",
        "objectTypeName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "integer",
          "name": "schemaVersion",
          "in": "query",
          "required": true
        },
        {
          "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "objectTypeName",
          "in": "query",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-object-type",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/get-object-type",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb get-object-type --docs --pretty",
        "invoke": "agc clouddb get-object-type --invoke --session-file SESSION.json",
        "show": "agc clouddb get-object-type --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "create-object-type",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb create-object-type --docs --pretty"
      },
      "id": "create-object-type",
      "familyId": "clouddb",
      "name": "create-object-type",
      "description": "Reviewed native management transport; explicit user session required. Creation is asynchronous; query process-status and independently read back schema before reporting completion.",
      "method": "POST",
      "path": "/agc/edge/clouddb/clouddbservice/v1/objectType",
      "command": "agc clouddb create-object-type",
      "requiredParams": [
        "objectType"
      ],
      "parameters": [
        {
          "properties": [
            {
              "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxLength": 30,
              "type": "string",
              "name": "objectTypeName",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 30,
                  "type": "string",
                  "name": "fieldName",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "String",
                    "Boolean",
                    "Byte",
                    "Short",
                    "Integer",
                    "Long",
                    "Float",
                    "Double",
                    "ByteArray",
                    "Text",
                    "Date",
                    "IntAutoIncrement",
                    "LongAutoIncrement"
                  ],
                  "type": "string",
                  "name": "fieldType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "belongPrimaryKey",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "notNull",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isNeedEncrypt",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isSensitive",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "name": "defaultValue",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "minItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "fields",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,29}$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "indexName",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "fieldName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "ASC",
                        "DESC"
                      ],
                      "type": "string",
                      "name": "sortType",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minItems": 1,
                  "maxItems": 5,
                  "itemsType": "object",
                  "type": "array",
                  "name": "indexList",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxItems": 16,
              "itemsType": "object",
              "type": "array",
              "name": "indexes",
              "in": "body",
              "required": false
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "World",
                    "Authenticated",
                    "Creator",
                    "Administrator"
                  ],
                  "type": "string",
                  "name": "role",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsEnum": [
                    "Read",
                    "Upsert",
                    "Delete"
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "string",
                  "type": "array",
                  "name": "rights",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "itemsType": "object",
              "type": "array",
              "name": "permissions",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "objectType",
          "in": "body",
          "required": true
        }
      ],
      "body": "objectType",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-object-type",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/create-object-type",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb create-object-type --docs --pretty",
        "invoke": "agc clouddb create-object-type --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb create-object-type --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "update-object-type",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb update-object-type --docs --pretty"
      },
      "id": "update-object-type",
      "familyId": "clouddb",
      "name": "update-object-type",
      "description": "Reviewed native management transport; explicit user session required. originObjectType must be the exact prior definition; this is not a patch or a migration of existing data.",
      "method": "PUT",
      "path": "/agc/edge/clouddb/clouddbservice/v1/objectType",
      "command": "agc clouddb update-object-type",
      "requiredParams": [
        "objectType",
        "originObjectType"
      ],
      "parameters": [
        {
          "properties": [
            {
              "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxLength": 30,
              "type": "string",
              "name": "objectTypeName",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 30,
                  "type": "string",
                  "name": "fieldName",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "String",
                    "Boolean",
                    "Byte",
                    "Short",
                    "Integer",
                    "Long",
                    "Float",
                    "Double",
                    "ByteArray",
                    "Text",
                    "Date",
                    "IntAutoIncrement",
                    "LongAutoIncrement"
                  ],
                  "type": "string",
                  "name": "fieldType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "belongPrimaryKey",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "notNull",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isNeedEncrypt",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isSensitive",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "name": "defaultValue",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "minItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "fields",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,29}$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "indexName",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "fieldName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "ASC",
                        "DESC"
                      ],
                      "type": "string",
                      "name": "sortType",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minItems": 1,
                  "maxItems": 5,
                  "itemsType": "object",
                  "type": "array",
                  "name": "indexList",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxItems": 16,
              "itemsType": "object",
              "type": "array",
              "name": "indexes",
              "in": "body",
              "required": false
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "World",
                    "Authenticated",
                    "Creator",
                    "Administrator"
                  ],
                  "type": "string",
                  "name": "role",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsEnum": [
                    "Read",
                    "Upsert",
                    "Delete"
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "string",
                  "type": "array",
                  "name": "rights",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "itemsType": "object",
              "type": "array",
              "name": "permissions",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "objectType",
          "in": "body",
          "required": true
        },
        {
          "properties": [
            {
              "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxLength": 30,
              "type": "string",
              "name": "objectTypeName",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 30,
                  "type": "string",
                  "name": "fieldName",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "String",
                    "Boolean",
                    "Byte",
                    "Short",
                    "Integer",
                    "Long",
                    "Float",
                    "Double",
                    "ByteArray",
                    "Text",
                    "Date",
                    "IntAutoIncrement",
                    "LongAutoIncrement"
                  ],
                  "type": "string",
                  "name": "fieldType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "belongPrimaryKey",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "notNull",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isNeedEncrypt",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isSensitive",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "name": "defaultValue",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "minItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "fields",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,29}$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "indexName",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "fieldName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "ASC",
                        "DESC"
                      ],
                      "type": "string",
                      "name": "sortType",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minItems": 1,
                  "maxItems": 5,
                  "itemsType": "object",
                  "type": "array",
                  "name": "indexList",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxItems": 16,
              "itemsType": "object",
              "type": "array",
              "name": "indexes",
              "in": "body",
              "required": false
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "World",
                    "Authenticated",
                    "Creator",
                    "Administrator"
                  ],
                  "type": "string",
                  "name": "role",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsEnum": [
                    "Read",
                    "Upsert",
                    "Delete"
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "string",
                  "type": "array",
                  "name": "rights",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "itemsType": "object",
              "type": "array",
              "name": "permissions",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "object",
          "name": "originObjectType",
          "in": "body",
          "required": true
        }
      ],
      "body": "objectType,originObjectType",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-update-object-type",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/update-object-type",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb update-object-type --docs --pretty",
        "invoke": "agc clouddb update-object-type --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb update-object-type --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "delete-object-type",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb delete-object-type --docs --pretty"
      },
      "id": "delete-object-type",
      "familyId": "clouddb",
      "name": "delete-object-type",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "DELETE",
      "path": "/agc/edge/clouddb/clouddbservice/v1/objectType",
      "command": "agc clouddb delete-object-type",
      "requiredParams": [
        "objectTypeName"
      ],
      "parameters": [
        {
          "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "objectTypeName",
          "in": "body",
          "required": true
        }
      ],
      "body": "objectTypeName",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-delete-object-type",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/delete-object-type",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb delete-object-type --docs --pretty",
        "invoke": "agc clouddb delete-object-type --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb delete-object-type --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "requestContentType": "application/x-www-form-urlencoded",
      "documentation": {
        "title": "import-object-types",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb import-object-types --docs --pretty"
      },
      "id": "import-object-types",
      "familyId": "clouddb",
      "name": "import-object-types",
      "description": "Reviewed native management transport; explicit user session required. Raw JSON document, not a JSON string wrapper; only new object types may be imported; local size limit 20MB.",
      "method": "POST",
      "path": "/agc/edge/clouddb/clouddbservice/v1/importObjectType",
      "command": "agc clouddb import-object-types",
      "requiredParams": [
        "schemaVersion",
        "objectTypes"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "integer",
          "name": "schemaVersion",
          "in": "body",
          "required": true
        },
        {
          "itemsProperties": [
            {
              "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxLength": 30,
              "type": "string",
              "name": "objectTypeName",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z](?:[A-Za-z0-9_]{0,28}[A-Za-z0-9])?$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 30,
                  "type": "string",
                  "name": "fieldName",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "String",
                    "Boolean",
                    "Byte",
                    "Short",
                    "Integer",
                    "Long",
                    "Float",
                    "Double",
                    "ByteArray",
                    "Text",
                    "Date",
                    "IntAutoIncrement",
                    "LongAutoIncrement"
                  ],
                  "type": "string",
                  "name": "fieldType",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "belongPrimaryKey",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "notNull",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isNeedEncrypt",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "boolean",
                  "name": "isSensitive",
                  "in": "body",
                  "required": false
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "name": "defaultValue",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "minItems": 1,
              "itemsType": "object",
              "type": "array",
              "name": "fields",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,29}$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "indexName",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsProperties": [
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "fieldName",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "ASC",
                        "DESC"
                      ],
                      "type": "string",
                      "name": "sortType",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minItems": 1,
                  "maxItems": 5,
                  "itemsType": "object",
                  "type": "array",
                  "name": "indexList",
                  "in": "body",
                  "required": true
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "maxItems": 16,
              "itemsType": "object",
              "type": "array",
              "name": "indexes",
              "in": "body",
              "required": false
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minItems": 1,
          "itemsType": "object",
          "type": "array",
          "name": "objectTypes",
          "in": "body",
          "required": true
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "objectTypeName",
              "in": "body",
              "required": true
            },
            {
              "itemsProperties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "World",
                    "Authenticated",
                    "Creator",
                    "Administrator"
                  ],
                  "type": "string",
                  "name": "role",
                  "in": "body",
                  "required": true
                },
                {
                  "itemsEnum": [
                    "Read",
                    "Upsert",
                    "Delete"
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "string",
                  "type": "array",
                  "name": "rights",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "itemsType": "object",
              "type": "array",
              "name": "permissions",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "itemsType": "object",
          "type": "array",
          "name": "permissions",
          "in": "body",
          "required": false
        }
      ],
      "body": "schemaVersion,objectTypes,permissions",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-import-object-types",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/import-object-types",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb import-object-types --docs --pretty",
        "formInput": "Supply raw schema JSON with --body. The reviewed vendor uses raw JSON bytes with a form Content-Type; no form encoding is performed.",
        "invoke": "agc clouddb import-object-types --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb import-object-types --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "export-object-types",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb export-object-types --docs --pretty"
      },
      "id": "export-object-types",
      "familyId": "clouddb",
      "name": "export-object-types",
      "description": "Reviewed native management transport; explicit user session required. Non-JSON formats return source-encoded Base64; no local extraction or execution.",
      "method": "POST",
      "path": "/agc/edge/clouddb/clouddbservice/v1/exportObjectType",
      "command": "agc clouddb export-object-types",
      "requiredParams": [
        "schemaVersion",
        "type"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "integer",
          "name": "schemaVersion",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "json",
            "js",
            "java",
            "objective-c"
          ],
          "type": "string",
          "name": "type",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "jsFileType",
          "in": "body",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "javaFileType",
          "in": "body",
          "required": false
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 1024,
          "type": "string",
          "name": "packageName",
          "in": "body",
          "required": false
        }
      ],
      "body": "schemaVersion,type,jsFileType,javaFileType,packageName",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-export-object-types",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/export-object-types",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb export-object-types --docs --pretty",
        "invoke": "agc clouddb export-object-types --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb export-object-types --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "list-zones",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb list-zones --docs --pretty"
      },
      "id": "list-zones",
      "familyId": "clouddb",
      "name": "list-zones",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "GET",
      "path": "/agc/edge/clouddb/clouddbservice/v1/naturalStore",
      "command": "agc clouddb list-zones",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-list-zones",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/list-zones",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb list-zones --docs --pretty",
        "invoke": "agc clouddb list-zones --invoke --session-file SESSION.json",
        "show": "agc clouddb list-zones --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "create-zone",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb create-zone --docs --pretty"
      },
      "id": "create-zone",
      "familyId": "clouddb",
      "name": "create-zone",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "POST",
      "path": "/agc/edge/clouddb/clouddbservice/v1/naturalStore",
      "command": "agc clouddb create-zone",
      "requiredParams": [
        "cloudDBZoneName"
      ],
      "parameters": [
        {
          "pattern": "^[A-Za-z][A-Za-z0-9]{0,19}$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 20,
          "type": "string",
          "name": "cloudDBZoneName",
          "in": "body",
          "required": true
        }
      ],
      "body": "cloudDBZoneName",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-zone",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/create-zone",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb create-zone --docs --pretty",
        "invoke": "agc clouddb create-zone --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb create-zone --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "delete-zone",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb delete-zone --docs --pretty"
      },
      "id": "delete-zone",
      "familyId": "clouddb",
      "name": "delete-zone",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "DELETE",
      "path": "/agc/edge/clouddb/clouddbservice/v1/naturalStore",
      "command": "agc clouddb delete-zone",
      "requiredParams": [
        "cloudDBZoneName"
      ],
      "parameters": [
        {
          "pattern": "^[A-Za-z][A-Za-z0-9]{0,19}$",
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 20,
          "type": "string",
          "name": "cloudDBZoneName",
          "in": "body",
          "required": true
        }
      ],
      "body": "cloudDBZoneName",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-delete-zone",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/delete-zone",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb delete-zone --docs --pretty",
        "invoke": "agc clouddb delete-zone --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb delete-zone --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "process-status",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc clouddb process-status --docs --pretty"
      },
      "id": "process-status",
      "familyId": "clouddb",
      "name": "process-status",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "POST",
      "path": "/agc/edge/clouddb/clouddbservice/v1/processPercentage",
      "command": "agc clouddb process-status",
      "requiredParams": [
        "processId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "processId",
          "in": "body",
          "required": true
        }
      ],
      "body": "processId",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-process-status",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/clouddb/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/clouddb/endpoints/process-status",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc clouddb process-status --docs --pretty",
        "invoke": "agc clouddb process-status --invoke --session-file SESSION.json --body body.json",
        "show": "agc clouddb process-status --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "上传文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage upload-file --docs --pretty"
      },
      "id": "upload-file",
      "familyId": "storage",
      "name": "上传文件",
      "description": "此接口用于上传文件。",
      "method": "PUT",
      "path": "/{bucket_name}/{object_name}",
      "command": "agc storage upload-file",
      "requiredParams": [
        "object_name",
        "bucket_name",
        "productId",
        "file"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457",
          "type": "string",
          "name": "object_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-File-Size",
          "in": "header",
          "required": false,
          "description": "文件大小，断点续传时为必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-File-Offset",
          "in": "header",
          "required": false,
          "description": "文件偏移量，断点续传的起始位置非零时为必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Sha256",
          "in": "header",
          "required": false,
          "description": "文件的SHA256值，断点续传时为必选。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Type",
          "in": "header",
          "required": false,
          "description": "文件类型。 默认值：application/octet-stream"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Disposition",
          "in": "header",
          "required": false,
          "description": "文件打开方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Encoding",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Content-Encoding。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Cache-Control",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Cache-Control。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Language",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Content-Language。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-meta-*",
          "in": "header",
          "required": false,
          "description": "可以在请求中加入以“X-Agc-meta-”开头的消息头，用于加入自定义的元数据，以便对文件进行自定义管理。当用户获取此文件或查询此文件元数据时，加入的自定义元数据将会在返回消息的头部出现。 X-Agc-meta-仅标记此header是传递元数据，并非元数据key的一部分。例如，您传入的是“X-Agc-meta-test: test metadata”，保存的数据实例为“test: test metadata”。 说明 元数据名称相同则覆盖。自定义的部署不区分大小写，最后记录均为小写的方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457",
          "type": "string",
          "name": "file",
          "in": "file",
          "required": true
        }
      ],
      "body": "file",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-uploadfile-0000001549318457",
      "officialSlug": "storage-restapi-uploadfile-0000001549318457",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/upload-file",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage upload-file --invoke --body body.json",
        "show": "agc storage upload-file --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "下载文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage download-file --docs --pretty"
      },
      "id": "download-file",
      "familyId": "storage",
      "name": "下载文件",
      "description": "此接口用于使用用户身份认证方式下载文件。",
      "method": "GET",
      "path": "/{bucket_name}/{object_name}",
      "command": "agc storage download-file",
      "requiredParams": [
        "object_name",
        "bucket_name",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530",
          "type": "string",
          "name": "object_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "Range",
          "in": "header",
          "required": false,
          "description": "HTTP标准协议头，用于指定第一个字节和最后一个字节的位置，告诉服务器想获取的文件范围。如未指定，则获取整个文件。 例如一个文件有900个字节，其范围为0-899，则： Range: bytes=500- 表示读取该文件的500-899字节。 Range: bytes=500-699 表示读取该文件的500-699字节。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "If-Modified-Since",
          "in": "header",
          "required": false,
          "description": "一个条件式请求首部。 服务器只在所请求的资源在给定的时间之后对内容进行过修改的情况下才会将资源返回，状态码为200 。如果请求的资源在给定的时间之后未经修改，则返回一个不带消息主体的304响应。 格式：<day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT 举例：Mon, 10 Apr 2023 07:28:00 GMT 说明 If-Modified-Since只可以用在GET或HEAD请求中。当与If-None-Match 一同出现时，If-Modified-Since会被忽略，除非服务器不支持If-None-Match。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "If-None-Match",
          "in": "header",
          "required": false,
          "description": "一个条件式请求首部。 对于GET和HEAD方法，当且仅当服务器上没有任何资源的ETag属性值与这个首部中列出的相匹配时，服务器端会才返回所请求的资源，响应码为200 ，否则返回304。其他方法暂不实现。 格式：If-None-Match: \"<etag_value>\" 不支持通配符*，不支持弱比较算法。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getfile-0000001498998530",
      "officialSlug": "storage-restapi-getfile-0000001498998530",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/download-file",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage download-file --invoke",
        "show": "agc storage download-file --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "删除文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage delete-file --docs --pretty"
      },
      "id": "delete-file",
      "familyId": "storage",
      "name": "删除文件",
      "description": "此接口用于删除文件。",
      "method": "DELETE",
      "path": "/{bucket_name}/{object_name}",
      "command": "agc storage delete-file",
      "requiredParams": [
        "object_name",
        "bucket_name",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405",
          "type": "string",
          "name": "object_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-deletefile-0000001549478405",
      "officialSlug": "storage-restapi-deletefile-0000001549478405",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/delete-file",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage delete-file --invoke",
        "show": "agc storage delete-file --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "获取文件元数据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage get-metadata --docs --pretty"
      },
      "id": "get-metadata",
      "familyId": "storage",
      "name": "获取文件元数据",
      "description": "此接口用于获取文件元数据。",
      "method": "GET",
      "path": "/{bucket_name}/{object_name}?metadata=query",
      "command": "agc storage get-metadata",
      "requiredParams": [
        "object_name",
        "bucket_name",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573",
          "type": "string",
          "name": "object_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-getmetadata-0000001549518573",
      "officialSlug": "storage-restapi-getmetadata-0000001549518573",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/get-metadata",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage get-metadata --invoke",
        "show": "agc storage get-metadata --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "修改文件元数据",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage update-metadata --docs --pretty"
      },
      "id": "update-metadata",
      "familyId": "storage",
      "name": "修改文件元数据",
      "description": "此接口用于修改文件元数据。",
      "method": "GET",
      "path": "/{bucket_name}/{object_name}?metadata=update",
      "command": "agc storage update-metadata",
      "requiredParams": [
        "object_name",
        "bucket_name",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553",
          "type": "string",
          "name": "object_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Type",
          "in": "header",
          "required": false,
          "description": "文件类型。 默认值：application/octet-stream"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Disposition",
          "in": "header",
          "required": false,
          "description": "文件打开方式。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Encoding",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Content-Encoding。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Cache-Control",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Cache-Control。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-Content-Language",
          "in": "header",
          "required": false,
          "description": "HTTP标准头部Content-Language。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553#section17216134314169",
          "type": "string",
          "name": "X-Agc-meta-*",
          "in": "header",
          "required": false,
          "description": "可以在请求中加入以“X-Agc-meta-”开头的消息头，用于加入自定义的元数据，以便对文件进行自定义管理。当用户获取此文件或查询此文件元数据时，加入的自定义元数据将会在返回消息的头中出现。 示例：X-Agc-meta-test: test metadata 保存实例为：test: test metadata 说明 元数据名称相同则覆盖。自定义的部署不区分大小写，最后记录均为小写的方式。X-Agc-meta-仅标记此header是传递元数据，并非元数据key的一部分。 目录对象不支持自定义元数据，所以此接口不支持目录对象。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-changemetadata-0000001549198553",
      "officialSlug": "storage-restapi-changemetadata-0000001549198553",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/update-metadata",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage update-metadata --invoke",
        "show": "agc storage update-metadata --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://ops-server-drcn.agcstorage.link/v0",
      "authentication": "server-api-client",
      "documentation": {
        "title": "列举文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878",
        "updatedAt": "2026-10-22 14:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc storage list-files --docs --pretty"
      },
      "id": "list-files",
      "familyId": "storage",
      "name": "列举文件",
      "description": "此接口用于列举文件。",
      "method": "GET",
      "path": "/{bucket_name}",
      "command": "agc storage list-files",
      "requiredParams": [
        "bucket_name",
        "productId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878",
          "type": "string",
          "name": "bucket_name",
          "in": "path",
          "required": true,
          "description": "Storage instance or object path; percent-encoded exactly once."
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section17216134314169",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section17216134314169",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，查询方法可参见查询项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section17216134314169",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证信息，格式为“Authorization: Bearer ${access_token}”。access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section17216134314169",
          "type": "string",
          "name": "X-Agc-Trace-Id",
          "in": "header",
          "required": false,
          "description": "单个文件请求的Traceid。可不填或者随机生成，用于日志打印跟踪。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section233813595165",
          "type": "string",
          "name": "max-keys",
          "in": "query",
          "required": false,
          "description": "指定返回文件个数的最大值，默认值为50，取值范围为[1,1000]。 超出范围时，按照默认值进行处理。 如果因为max-keys的设置无法一次完成列举，返回结果会附加NextMarker元素作为下一次列举的marker。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section233813595165",
          "type": "string",
          "name": "marker",
          "in": "query",
          "required": false,
          "description": "指定返回哪个标识符之后的文件，按照文件Key的UTF-8字典顺序排序。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section233813595165",
          "type": "string",
          "name": "prefix",
          "in": "query",
          "required": false,
          "description": "列举以指定的字符串prefix开头的文件。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878#section233813595165",
          "type": "string",
          "name": "delimiter",
          "in": "query",
          "required": false,
          "description": "将文件名按照特定字符分割的分割符。 注意 当前仅支持传空值或正斜杠（/），正斜杠（/）编码后为%2F。 如果指定了prefix参数，按delimiter对所有文件名进行分割，多个文件分割后从prefix到第一个delimiter之间相同的部分会形成一条CommonPrefixes。 如果未携带prefix参数，按delimiter对所有文件名进行分割，多个文件分割后从文件名开始到第一个delimiter之间相同的部分形成一条CommonPrefixes。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/storage-restapi-listfile-0000001498518878",
      "officialSlug": "storage-restapi-listfile-0000001498518878",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/storage/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/storage/endpoints/list-files",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc storage list-files --invoke",
        "show": "agc storage list-files --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "创建版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting create-version --docs --pretty"
      },
      "id": "create-version",
      "familyId": "hosting",
      "name": "创建版本",
      "description": "此接口用于创建云托管站点版本，已归档版本可作为新版本的基线版本。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/create",
      "command": "agc hosting create-version",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管版本所在的站点ID。 可根据站点名称查询站点ID，获取方法参考查询站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "baseVersion",
          "in": "body",
          "required": false,
          "description": "基线版本号，基于该版本创建新的版本。 仅支持版本状态为“FINALIZED”的版本作为基线版本。"
        }
      ],
      "body": "siteId,baseVersion",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-newapp-0000001111685196",
      "officialSlug": "agcapi-cloudhost-newapp-0000001111685196",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/create-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting create-version --invoke --body body.json",
        "show": "agc hosting create-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "修改版本文件列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting modify-files --docs --pretty"
      },
      "id": "modify-files",
      "familyId": "hosting",
      "name": "修改版本文件列表",
      "description": "此接口用于对基线版本需要删除的文件做版本修改，标记需要删除文件的绝对路径，在归档版本时处理文件。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/modifyFilelist",
      "command": "agc hosting modify-files",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "version",
        "deleteFiles"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section13360089148",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section13360089148",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section13360089148",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section13360089148",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section13360089148",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管站点版本所在的站点ID。 可根据站点名称查询站点ID，获取方法参考查询站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": true,
          "description": "当前版本的版本号（仅支持版本状态为“CREATED”的版本）。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867#section17512144171520",
          "maxItems": 1000,
          "itemsType": "string",
          "type": "array",
          "name": "deleteFiles",
          "in": "body",
          "required": true,
          "description": "需要删除的文件列表（文件的绝对路径），一次最多删除1000个。"
        }
      ],
      "body": "siteId,version,deleteFiles",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-modifyversion-0000001211627867",
      "officialSlug": "agcapi-cloudhost-modifyversion-0000001211627867",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/modify-files",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting modify-files --invoke --body body.json",
        "show": "agc hosting modify-files --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "获取版本压缩包上传地址",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting upload-url --docs --pretty"
      },
      "id": "upload-url",
      "familyId": "hosting",
      "name": "获取版本压缩包上传地址",
      "description": "此接口用于获取增量版本文件压缩包或全量版本文件压缩包的上传地址等信息，并完成增量版本包上传。您可以多次获取上传地址，以最后一次获取为最终增量版本。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/populateFiles",
      "command": "agc hosting upload-url",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "version",
        "materialInfos"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section13360089148",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section13360089148",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section13360089148",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section13360089148",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section13360089148",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管版本所在的站点ID。 可根据站点名称查询站点ID，获取方法参考查询站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": true,
          "description": "当前版本的版本号（只支持“CREATED”状态版本）"
        },
        {
          "itemsProperties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
              "maxLength": 128,
              "type": "string",
              "name": "sceneId",
              "in": "body",
              "required": true,
              "description": "场景ID，与项目ID一致。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
              "maxLength": 256,
              "type": "string",
              "name": "fileName",
              "in": "body",
              "required": true,
              "description": "文件名称。"
            },
            {
              "pattern": "^[a-fA-F0-9]{64}$",
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
              "maxLength": 64,
              "type": "string",
              "name": "fileSha256",
              "in": "body",
              "required": true,
              "description": "zip增量的Hash值。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
              "minimum": 0,
              "maximum": 10737418240,
              "type": "integer",
              "name": "fileSize",
              "in": "body",
              "required": true,
              "description": "文件大小，参数最大限制10G。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
              "enum": [
                "902"
              ],
              "type": "integer",
              "name": "contentType",
              "in": "body",
              "required": true,
              "description": "上传资源类型。固定值为：902。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942#section17512144171520",
          "itemsType": "object",
          "type": "array",
          "name": "materialInfos",
          "in": "body",
          "required": true,
          "description": "zip增量包参数信息。"
        }
      ],
      "body": "siteId,version,materialInfos",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadurl-0000001166347942",
      "officialSlug": "agcapi-cloudhost-uploadurl-0000001166347942",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/upload-url",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting upload-url --invoke --body body.json",
        "show": "agc hosting upload-url --pretty"
      }
    },
    {
      "authentication": "signed-upload",
      "documentation": {
        "title": "上传版本压缩包",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting upload-version --docs --pretty"
      },
      "id": "upload-version",
      "familyId": "hosting",
      "name": "上传版本压缩包",
      "description": "通过获取上传地址的响应请求地址、请求方法、请求头信息，上传版本压缩包至云托管。",
      "method": "PUT",
      "path": "{uploadUrl}",
      "command": "agc hosting upload-version",
      "requiredParams": [
        "Authorization",
        "x-amz-content-sha256",
        "x-amz-client-request-id",
        "x-amz-date",
        "Host",
        "Content-Type",
        "uploadUrl",
        "file"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": true,
          "description": "校验信息，对应获取版本压缩包上传地址接口返回的headers参数中的Authorization。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "x-amz-content-sha256",
          "in": "header",
          "required": true,
          "description": "文件对象内容的SHA256哈希值，对应获取版本压缩包上传地址接口返回的headers参数中的x-amz-content-sha256。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "x-amz-client-request-id",
          "in": "header",
          "required": true,
          "description": "文件上传的唯一标识，对应获取版本压缩包上传地址接口返回的headers参数中的x-amz-client-request-id。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "x-amz-date",
          "in": "header",
          "required": true,
          "description": "文件上传地址生成的时间，对应获取版本压缩包上传地址接口返回的headers参数中的x-amz-date。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "Host",
          "in": "header",
          "required": true,
          "description": "上传服务器地址，对应获取版本压缩包上传地址接口返回的headers参数中的Host。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813#section236517415165",
          "type": "string",
          "name": "Content-Type",
          "in": "header",
          "required": true,
          "description": "对象内容的类型，对应获取版本压缩包上传地址接口返回的headers参数中的Content-Type。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813",
          "type": "string",
          "name": "uploadUrl",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813",
          "type": "string",
          "name": "file",
          "in": "file",
          "required": true
        }
      ],
      "body": "file",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-uploadversion-0000001211707813",
      "officialSlug": "agcapi-cloudhost-uploadversion-0000001211707813",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/upload-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting upload-version --invoke --body body.json",
        "show": "agc hosting upload-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "归档版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting archive-version --docs --pretty"
      },
      "id": "archive-version",
      "familyId": "hosting",
      "name": "归档版本",
      "description": "版本包上传完成后，此接口用于对新版本进行归档。如果上传的是增量版本包，云托管对基线版本和增量版本包进行合并，归档为完整的新版本文件包。归档版本是异步操作，从开始到完成，版本的状态从“MERGING”变为“FINALIZED”。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/merge",
      "command": "agc hosting archive-version",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "version"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管版本所在站点ID。 可根据站点名称查询站点ID，获取方法参考查询站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": true,
          "description": "当前版本的版本号（只支持“CREATED”状态）。"
        }
      ],
      "body": "siteId,version",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-archivedversion-0000001211826385",
      "officialSlug": "agcapi-cloudhost-archivedversion-0000001211826385",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/archive-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting archive-version --invoke --body body.json",
        "show": "agc hosting archive-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "发布版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting release-version --docs --pretty"
      },
      "id": "release-version",
      "familyId": "hosting",
      "name": "发布版本",
      "description": "此接口用于发布新版本。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/release",
      "command": "agc hosting release-version",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "version",
        "environment"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管版本所在站点ID。 可根据站点名称查询站点ID，获取方法参考查询站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": true,
          "description": "当前版本的版本号。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484#section17512144171520",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "environment",
          "in": "body",
          "required": true,
          "description": "发布环境类型。 0：生产 1：沙箱"
        }
      ],
      "body": "siteId,version,environment",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-releaseversion-0000001166666484",
      "officialSlug": "agcapi-cloudhost-releaseversion-0000001166666484",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/release-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting release-version --invoke --body body.json",
        "show": "agc hosting release-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "查询版本列表",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting list-versions --docs --pretty"
      },
      "id": "list-versions",
      "familyId": "hosting",
      "name": "查询版本列表",
      "description": "此接口用于查询云托管站点下的版本列表。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/query",
      "command": "agc hosting list-versions",
      "requiredParams": [
        "productId",
        "requestid",
        "service"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": false,
          "description": "云托管版本所在站点ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "tenantId",
          "in": "body",
          "required": false,
          "description": "租户ID，与项目ID一致。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": false,
          "description": "版本ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "versionStatus",
          "in": "body",
          "required": false,
          "description": "版本状态，参考版本状态码。"
        }
      ],
      "body": "siteId,tenantId,version,versionStatus",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryversion-0000001166507920",
      "officialSlug": "agcapi-cloudhost-queryversion-0000001166507920",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/list-versions",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting list-versions --invoke --body body.json",
        "show": "agc hosting list-versions --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "查询归档版本文件",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting list-version-files --docs --pretty"
      },
      "id": "list-version-files",
      "familyId": "hosting",
      "name": "查询归档版本文件",
      "description": "此接口用于查询已归档版本的归档文件信息，为创建和修改版本提供基线版本内容的查询。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/version/queryFiles",
      "command": "agc hosting list-version-files",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "version",
        "pageInfo"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "云托管版本所在站点ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "version",
          "in": "body",
          "required": true,
          "description": "站点版本ID。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section17512144171520",
              "type": "integer",
              "name": "queryIndex",
              "in": "body",
              "required": false,
              "description": "索引查询，默认值为0。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section17512144171520",
              "maximum": 1000,
              "type": "integer",
              "name": "querySize",
              "in": "body",
              "required": false,
              "description": "每页查询数量，默认值为1000，最大值为1000。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869#section17512144171520",
          "type": "object",
          "name": "pageInfo",
          "in": "body",
          "required": true,
          "description": "分页模型。"
        }
      ],
      "body": "siteId,version,pageInfo",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryfile-0000001211627869",
      "officialSlug": "agcapi-cloudhost-queryfile-0000001211627869",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/list-version-files",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting list-version-files --invoke --body body.json",
        "show": "agc hosting list-version-files --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "删除版本",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting delete-version --docs --pretty"
      },
      "id": "delete-version",
      "familyId": "hosting",
      "name": "删除版本",
      "description": "此接口用于删除站点下非“上线”状态的版本。",
      "method": "DELETE",
      "path": "/api/cloudhosting/web/v1/version/{versionId}",
      "command": "agc hosting delete-version",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "versionId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section236517415165",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section236517415165",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section236517415165",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section236517415165",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section236517415165",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944#section17512144171520",
          "maxLength": 64,
          "type": "string",
          "name": "versionId",
          "in": "path",
          "required": true,
          "description": "站点版本ID。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deleteversion-0000001166347944",
      "officialSlug": "agcapi-cloudhost-deleteversion-0000001166347944",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/delete-version",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting delete-version --invoke",
        "show": "agc hosting delete-version --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "创建站点环境",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting create-environment --docs --pretty"
      },
      "id": "create-environment",
      "familyId": "hosting",
      "name": "创建站点环境",
      "description": "此接口用于创建站点环境。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/environment/create",
      "command": "agc hosting create-environment",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "environmentId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "站点ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "environmentId",
          "in": "body",
          "required": true,
          "description": "环境ID。"
        }
      ],
      "body": "siteId,environmentId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createnvir-0000001216965720",
      "officialSlug": "agcapi-cloudhost-createnvir-0000001216965720",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/create-environment",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting create-environment --invoke --body body.json",
        "show": "agc hosting create-environment --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "查询站点环境",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting list-environments --docs --pretty"
      },
      "id": "list-environments",
      "familyId": "hosting",
      "name": "查询站点环境",
      "description": "此接口用于查询站点环境。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/environment/query",
      "command": "agc hosting list-environments",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "站点ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "environmentId",
          "in": "body",
          "required": false,
          "description": "环境ID。"
        }
      ],
      "body": "siteId,environmentId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-queryenvir-0000001217285680",
      "officialSlug": "agcapi-cloudhost-queryenvir-0000001217285680",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/list-environments",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting list-environments --invoke --body body.json",
        "show": "agc hosting list-environments --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "删除站点环境",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting delete-environment --docs --pretty"
      },
      "id": "delete-environment",
      "familyId": "hosting",
      "name": "删除站点环境",
      "description": "此接口用于删除站点环境。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/environment/delete",
      "command": "agc hosting delete-environment",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId",
        "environmentId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "站点ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "environmentId",
          "in": "body",
          "required": true,
          "description": "环境ID。"
        }
      ],
      "body": "siteId,environmentId",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletenvir-0000001217445648",
      "officialSlug": "agcapi-cloudhost-deletenvir-0000001217445648",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/delete-environment",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting delete-environment --invoke --body body.json",
        "show": "agc hosting delete-environment --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "创建站点",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting create-site --docs --pretty"
      },
      "id": "create-site",
      "familyId": "hosting",
      "name": "创建站点",
      "description": "此接口用于创建泛域名站点。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/create",
      "command": "agc hosting create-site",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section2809102219131",
          "maxLength": 30,
          "type": "string",
          "name": "siteName",
          "in": "body",
          "required": true,
          "description": "站点名。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466#section2809102219131",
          "maxLength": 1000,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false,
          "description": "站点描述信息。"
        }
      ],
      "body": "siteName,description",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-createsite-0000001216061466",
      "officialSlug": "agcapi-cloudhost-createsite-0000001216061466",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/create-site",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting create-site --invoke --body body.json",
        "show": "agc hosting create-site --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "查询站点",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting list-sites --docs --pretty"
      },
      "id": "list-sites",
      "familyId": "hosting",
      "name": "查询站点",
      "description": "此接口用于通过站点部分信息查询站点其他信息，例如通过站点名称查询站点ID。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/query",
      "command": "agc hosting list-sites",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "site"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
              "maxLength": 63,
              "type": "string",
              "name": "siteName",
              "in": "body",
              "required": false,
              "description": "站点名称。 可通过云托管站点名称查询站点完整信息。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
              "maxLength": 64,
              "type": "string",
              "name": "siteId",
              "in": "body",
              "required": false,
              "description": "站点ID。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
              "maxLength": 64,
              "type": "string",
              "name": "tenantId",
              "in": "body",
              "required": false,
              "description": "租户ID，与项目ID一致。"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
          "type": "object",
          "name": "site",
          "in": "body",
          "required": true,
          "description": "站点信息。"
        },
        {
          "properties": [
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
              "type": "integer",
              "name": "queryIndex",
              "in": "body",
              "required": false,
              "description": "索引查询，默认值为0。"
            },
            {
              "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
              "maximum": 1000,
              "type": "integer",
              "name": "querySize",
              "in": "body",
              "required": false,
              "description": "每页查询数量。默认值为1000，最大值为1000"
            }
          ],
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430#section2809102219131",
          "type": "object",
          "name": "pageInfo",
          "in": "body",
          "required": false,
          "description": "分页模型。"
        }
      ],
      "body": "site,pageInfo",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-querysite-0000001166826430",
      "officialSlug": "agcapi-cloudhost-querysite-0000001166826430",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/list-sites",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting list-sites --invoke --body body.json",
        "show": "agc hosting list-sites --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "更新站点",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting update-site --docs --pretty"
      },
      "id": "update-site",
      "familyId": "hosting",
      "name": "更新站点",
      "description": "此接口用于更新站点描述信息及控制是否开启简洁链接。",
      "method": "POST",
      "path": "/api/cloudhosting/web/v1/site/modify",
      "command": "agc hosting update-site",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "body",
          "required": true,
          "description": "站点信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section2809102219131",
          "maxLength": 1000,
          "type": "string",
          "name": "description",
          "in": "body",
          "required": false,
          "description": "描述信息内容，匹配中文、空格、下划线、中划线、点、英文字母及数字。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359#section2809102219131",
          "enum": [
            "0",
            "1"
          ],
          "type": "integer",
          "name": "cleanSuffix",
          "in": "body",
          "required": false,
          "description": "简洁链接： 0-关闭。 1-开启。"
        }
      ],
      "body": "siteId,description,cleanSuffix",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-refreshsite-0000001260949359",
      "officialSlug": "agcapi-cloudhost-refreshsite-0000001260949359",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/update-site",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting update-site --invoke --body body.json",
        "show": "agc hosting update-site --pretty"
      }
    },
    {
      "defaultBaseUrl": "https://connect-api.cloud.huawei.com",
      "authentication": "server-api-client",
      "requestContentType": "application/json",
      "documentation": {
        "title": "删除站点",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361",
        "updatedAt": "2026-10-23 16:56",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc hosting delete-site --docs --pretty"
      },
      "id": "delete-site",
      "familyId": "hosting",
      "name": "删除站点",
      "description": "此接口用于删除站点。",
      "method": "DELETE",
      "path": "/api/cloudhosting/web/v1/site/{siteId}",
      "command": "agc hosting delete-site",
      "requiredParams": [
        "productId",
        "requestid",
        "service",
        "siteId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section580816227139",
          "type": "string",
          "name": "Authorization",
          "in": "header",
          "required": false,
          "description": "认证鉴权信息。 认证方式：Bearer token。 格式:“Authorization: Bearer ${access_token}”。 access_token为获取Token中获取的access_token。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section580816227139",
          "type": "string",
          "name": "productId",
          "in": "header",
          "required": true,
          "description": "项目ID，获取方法参考查询开发者账号ID及项目ID。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section580816227139",
          "type": "string",
          "name": "requestid",
          "in": "header",
          "required": true,
          "description": "自定义的请求字符串，必须唯一标识此请求。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section580816227139",
          "type": "string",
          "name": "client_id",
          "in": "header",
          "required": false,
          "description": "客户端ID，获取方法参考创建API客户端。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section580816227139",
          "enum": [
            "hosting"
          ],
          "type": "string",
          "name": "service",
          "in": "header",
          "required": true,
          "description": "API业务标识。固定值：hosting。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361#section2809102219131",
          "maxLength": 64,
          "type": "string",
          "name": "siteId",
          "in": "path",
          "required": true,
          "description": "站点信息。"
        }
      ],
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agcapi-cloudhost-deletesite-0000001260869361",
      "officialSlug": "agcapi-cloudhost-deletesite-0000001260869361",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/hosting/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/hosting/endpoints/delete-site",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc hosting delete-site --invoke",
        "show": "agc hosting delete-site --pretty"
      }
    },
    {
      "authentication": "callback-body",
      "requestContentType": "application/json",
      "documentation": {
        "title": "获取用户ID",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-comm-api-obtainuserid-0000001260291838",
        "updatedAt": "2022-07-11 10:50",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc templates user-id --docs --pretty"
      },
      "id": "user-id",
      "familyId": "templates",
      "name": "获取用户ID",
      "description": "通过accessToken获取抽奖用户ID，即userId。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc templates user-id",
      "requiredParams": [
        "callbackUrl",
        "accessToken"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-comm-api-obtainuserid-0000001260291838",
          "type": "string",
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "Developer HTTPS authentication callback URL"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-comm-api-obtainuserid-0000001260291838#section128mcpsimp",
          "maxLength": 256,
          "type": "string",
          "name": "accessToken",
          "in": "body",
          "required": true,
          "description": "认证凭据。"
        }
      ],
      "body": "accessToken",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-comm-api-obtainuserid-0000001260291838",
      "officialSlug": "agc-serverless-comm-api-obtainuserid-0000001260291838",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/user-id",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc templates user-id --invoke --body body.json",
        "show": "agc templates user-id --pretty"
      }
    },
    {
      "authentication": "callback-body",
      "requestContentType": "application/json",
      "documentation": {
        "title": "获取玩家ID",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-get-id-0000001296645276",
        "updatedAt": "2024-06-18 18:08",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc templates player-id --docs --pretty"
      },
      "id": "player-id",
      "familyId": "templates",
      "name": "获取玩家ID",
      "description": "通过accessToken获取游戏排行榜的用户ID。",
      "method": "POST",
      "path": "{callbackUrl}",
      "command": "agc templates player-id",
      "requiredParams": [
        "callbackUrl",
        "appId",
        "accessToken"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-get-id-0000001296645276",
          "type": "string",
          "name": "callbackUrl",
          "in": "path",
          "required": true,
          "description": "Developer HTTPS authentication callback URL"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-get-id-0000001296645276#section128mcpsimp",
          "maxLength": 64,
          "type": "string",
          "name": "appId",
          "in": "body",
          "required": true,
          "description": "应用ID，获取方法参考查看应用基本信息。"
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-get-id-0000001296645276#section128mcpsimp",
          "maxLength": 2048,
          "type": "string",
          "name": "accessToken",
          "in": "body",
          "required": true,
          "description": "玩家ID的认证凭据，来自于您调用函数接口时带的参数值。"
        }
      ],
      "body": "appId,accessToken",
      "status": "registered",
      "source": "Huawei AppGallery Connect API reference",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/AppGallery-connect-References/agc-serverless-get-id-0000001296645276",
      "officialSlug": "agc-serverless-get-id-0000001296645276",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/player-id",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc templates player-id --invoke --body body.json",
        "show": "agc templates player-id --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "search-applications",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates search-applications --docs --pretty"
      },
      "id": "search-applications",
      "familyId": "templates",
      "name": "search-applications",
      "description": "Reviewed native management transport; explicit user session required. SAM CloudFunctions application transport, not deployment of the console gallery templates. codeUri is a pre-uploaded bucket/object key. Creation/application acceptance does not prove ready state; search/get-plan must be read back.",
      "method": "GET",
      "path": "/api/adm/v1/applications/search",
      "command": "agc templates search-applications",
      "requiredParams": [
        "appName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "appName",
          "in": "query",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-search-applications",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/search-applications",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates search-applications --docs --pretty",
        "invoke": "agc templates search-applications --invoke --session-file SESSION.json",
        "show": "agc templates search-applications --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-application",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates create-application --docs --pretty"
      },
      "id": "create-application",
      "familyId": "templates",
      "name": "create-application",
      "description": "Reviewed native management transport; explicit user session required. SAM CloudFunctions application transport, not deployment of the console gallery templates. codeUri is a pre-uploaded bucket/object key. Creation/application acceptance does not prove ready state; search/get-plan must be read back.",
      "method": "POST",
      "path": "/api/adm/v1/applications",
      "command": "agc templates create-application",
      "requiredParams": [
        "name",
        "components"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true
        },
        {
          "itemsProperties": [
            {
              "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "name",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "enum": [
                "Huawei::AGC::CloudFunctions"
              ],
              "type": "string",
              "name": "type",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "codeUri",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "runtime",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "500",
                    "1000",
                    "2000",
                    "4000"
                  ],
                  "type": "integer",
                  "name": "memorySize",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1800,
                  "type": "integer",
                  "name": "timeout",
                  "in": "body",
                  "required": true
                },
                {
                  "pattern": "^[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "handler",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1000,
                  "type": "integer",
                  "name": "instanceConcurrency",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "description",
                  "in": "body",
                  "required": false,
                  "description": "Vendor display width <=64; non-ASCII UTF-16 units count twice."
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxItems": 5,
                  "itemsType": "string",
                  "type": "array",
                  "name": "layers",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsProperties": [
                    {
                      "pattern": "^[-._a-zA-Z][-._a-zA-Z0-9]*$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 64,
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 2048,
                      "type": "string",
                      "name": "value",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "env",
                  "in": "body",
                  "required": false
                },
                {
                  "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "alias",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsRules": [
                    {
                      "id": "sam-http-authType",
                      "kind": "required_if",
                      "field": "body.properties.authType",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.authType",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-http-enableUrlDecode",
                      "kind": "required_if",
                      "field": "body.properties.enableUrlDecode",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.enableUrlDecode",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-schedule",
                      "kind": "required_if",
                      "field": "body.properties.schedule",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.schedule",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-input",
                      "kind": "required_if",
                      "field": "body.properties.input",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.input",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    }
                  ],
                  "itemsProperties": [
                    {
                      "pattern": "^[a-z][a-zA-Z0-9-]{0,30}[a-zA-Z0-9]$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "http",
                        "cron"
                      ],
                      "type": "string",
                      "name": "type",
                      "in": "body",
                      "required": true
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "enum": [
                            "apigw-client",
                            "cloudgw-client"
                          ],
                          "type": "string",
                          "name": "authType",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "boolean",
                          "name": "enableUrlDecode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "schedule",
                          "in": "body",
                          "required": false
                        },
                        {
                          "encodedJson": {
                            "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                            "name": "value",
                            "in": "body",
                            "required": false
                          },
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "input",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "object",
                      "name": "properties",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "events",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "object",
              "name": "properties",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minItems": 1,
          "itemsType": "object",
          "type": "array",
          "name": "components",
          "in": "body",
          "required": true
        }
      ],
      "body": "name,components",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-application",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/create-application",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates create-application --docs --pretty",
        "invoke": "agc templates create-application --invoke --session-file SESSION.json --body body.json",
        "show": "agc templates create-application --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "create-plan",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates create-plan --docs --pretty"
      },
      "id": "create-plan",
      "familyId": "templates",
      "name": "create-plan",
      "description": "Reviewed native management transport; explicit user session required. SAM CloudFunctions application transport, not deployment of the console gallery templates. codeUri is a pre-uploaded bucket/object key. Creation/application acceptance does not prove ready state; search/get-plan must be read back.",
      "method": "POST",
      "path": "/api/adm/v1/applications/{applicationId}/plans",
      "command": "agc templates create-plan",
      "requiredParams": [
        "applicationId",
        "name",
        "components"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "applicationId",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true
        },
        {
          "itemsProperties": [
            {
              "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "name",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "enum": [
                "Huawei::AGC::CloudFunctions"
              ],
              "type": "string",
              "name": "type",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "codeUri",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "runtime",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "500",
                    "1000",
                    "2000",
                    "4000"
                  ],
                  "type": "integer",
                  "name": "memorySize",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1800,
                  "type": "integer",
                  "name": "timeout",
                  "in": "body",
                  "required": true
                },
                {
                  "pattern": "^[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "handler",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1000,
                  "type": "integer",
                  "name": "instanceConcurrency",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "description",
                  "in": "body",
                  "required": false,
                  "description": "Vendor display width <=64; non-ASCII UTF-16 units count twice."
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxItems": 5,
                  "itemsType": "string",
                  "type": "array",
                  "name": "layers",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsProperties": [
                    {
                      "pattern": "^[-._a-zA-Z][-._a-zA-Z0-9]*$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 64,
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 2048,
                      "type": "string",
                      "name": "value",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "env",
                  "in": "body",
                  "required": false
                },
                {
                  "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "alias",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsRules": [
                    {
                      "id": "sam-http-authType",
                      "kind": "required_if",
                      "field": "body.properties.authType",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.authType",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-http-enableUrlDecode",
                      "kind": "required_if",
                      "field": "body.properties.enableUrlDecode",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.enableUrlDecode",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-schedule",
                      "kind": "required_if",
                      "field": "body.properties.schedule",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.schedule",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-input",
                      "kind": "required_if",
                      "field": "body.properties.input",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.input",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    }
                  ],
                  "itemsProperties": [
                    {
                      "pattern": "^[a-z][a-zA-Z0-9-]{0,30}[a-zA-Z0-9]$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "http",
                        "cron"
                      ],
                      "type": "string",
                      "name": "type",
                      "in": "body",
                      "required": true
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "enum": [
                            "apigw-client",
                            "cloudgw-client"
                          ],
                          "type": "string",
                          "name": "authType",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "boolean",
                          "name": "enableUrlDecode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "schedule",
                          "in": "body",
                          "required": false
                        },
                        {
                          "encodedJson": {
                            "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                            "name": "value",
                            "in": "body",
                            "required": false
                          },
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "input",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "object",
                      "name": "properties",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "events",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "object",
              "name": "properties",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minItems": 1,
          "itemsType": "object",
          "type": "array",
          "name": "components",
          "in": "body",
          "required": true
        }
      ],
      "body": "name,components",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-create-plan",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/create-plan",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates create-plan --docs --pretty",
        "invoke": "agc templates create-plan --invoke --session-file SESSION.json --body body.json",
        "show": "agc templates create-plan --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "get-plan",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates get-plan --docs --pretty"
      },
      "id": "get-plan",
      "familyId": "templates",
      "name": "get-plan",
      "description": "Reviewed native management transport; explicit user session required. SAM CloudFunctions application transport, not deployment of the console gallery templates. codeUri is a pre-uploaded bucket/object key. Creation/application acceptance does not prove ready state; search/get-plan must be read back.",
      "method": "GET",
      "path": "/api/adm/v1/applications/plans/{planId}",
      "command": "agc templates get-plan",
      "requiredParams": [
        "planId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "planId",
          "in": "path",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-get-plan",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/get-plan",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates get-plan --docs --pretty",
        "invoke": "agc templates get-plan --invoke --session-file SESSION.json",
        "show": "agc templates get-plan --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "apply-plan",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates apply-plan --docs --pretty"
      },
      "id": "apply-plan",
      "familyId": "templates",
      "name": "apply-plan",
      "description": "Reviewed native management transport; explicit user session required. SAM CloudFunctions application transport, not deployment of the console gallery templates. codeUri is a pre-uploaded bucket/object key. Creation/application acceptance does not prove ready state; search/get-plan must be read back.",
      "method": "PUT",
      "path": "/api/adm/v1/applications/{applicationId}/plans/{planId}",
      "command": "agc templates apply-plan",
      "requiredParams": [
        "applicationId",
        "planId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "applicationId",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "planId",
          "in": "path",
          "required": true
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-apply-plan",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/apply-plan",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates apply-plan --docs --pretty",
        "invoke": "agc templates apply-plan --invoke --session-file SESSION.json --body body.json",
        "show": "agc templates apply-plan --pretty"
      }
    },
    {
      "authentication": "agcli-management-oauth",
      "documentation": {
        "title": "deploy",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc templates deploy --docs --pretty"
      },
      "id": "deploy",
      "familyId": "templates",
      "name": "deploy",
      "description": "Reviewed native management transport; explicit user session required. Create-only SAM deployment: validate every local codeUri ZIP, search exact application name, upload code, create application, then independently query readiness. Existing applications are refused; use explicit create-plan/get-plan/apply-plan for updates. Local-only storageInstance and waitForReady are not sent to ADM. Uploaded artifacts may be retained after failure. Not a console gallery deployment.",
      "method": "POST",
      "path": "native:templates/deploy",
      "command": "agc templates deploy",
      "requiredParams": [
        "name",
        "components",
        "storageInstance"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "name",
          "in": "body",
          "required": true
        },
        {
          "itemsProperties": [
            {
              "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "string",
              "name": "name",
              "in": "body",
              "required": true
            },
            {
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "enum": [
                "Huawei::AGC::CloudFunctions"
              ],
              "type": "string",
              "name": "type",
              "in": "body",
              "required": true
            },
            {
              "properties": [
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "codeUri",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "runtime",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "enum": [
                    "500",
                    "1000",
                    "2000",
                    "4000"
                  ],
                  "type": "integer",
                  "name": "memorySize",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1800,
                  "type": "integer",
                  "name": "timeout",
                  "in": "body",
                  "required": true
                },
                {
                  "pattern": "^[A-Za-z0-9_-]*\\.[A-Za-z0-9_-]*$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "handler",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "minimum": 1,
                  "maximum": 1000,
                  "type": "integer",
                  "name": "instanceConcurrency",
                  "in": "body",
                  "required": true
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxLength": 64,
                  "type": "string",
                  "name": "description",
                  "in": "body",
                  "required": false,
                  "description": "Vendor display width <=64; non-ASCII UTF-16 units count twice."
                },
                {
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "maxItems": 5,
                  "itemsType": "string",
                  "type": "array",
                  "name": "layers",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsProperties": [
                    {
                      "pattern": "^[-._a-zA-Z][-._a-zA-Z0-9]*$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 64,
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "maxLength": 2048,
                      "type": "string",
                      "name": "value",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "env",
                  "in": "body",
                  "required": false
                },
                {
                  "pattern": "^[a-z][a-z0-9-]{0,14}[a-z0-9]$",
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "type": "string",
                  "name": "alias",
                  "in": "body",
                  "required": false
                },
                {
                  "itemsRules": [
                    {
                      "id": "sam-http-authType",
                      "kind": "required_if",
                      "field": "body.properties.authType",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.authType",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-http-enableUrlDecode",
                      "kind": "required_if",
                      "field": "body.properties.enableUrlDecode",
                      "when": {
                        "field": "body.type",
                        "equals": "http"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM http events require properties.enableUrlDecode",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-schedule",
                      "kind": "required_if",
                      "field": "body.properties.schedule",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.schedule",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    },
                    {
                      "id": "sam-cron-input",
                      "kind": "required_if",
                      "field": "body.properties.input",
                      "when": {
                        "field": "body.type",
                        "equals": "cron"
                      },
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "message": "SAM cron events require properties.input",
                      "suggestion": "Supply the conditional event property using the source-defined type."
                    }
                  ],
                  "itemsProperties": [
                    {
                      "pattern": "^[a-z][a-zA-Z0-9-]{0,30}[a-zA-Z0-9]$",
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "string",
                      "name": "name",
                      "in": "body",
                      "required": true
                    },
                    {
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "enum": [
                        "http",
                        "cron"
                      ],
                      "type": "string",
                      "name": "type",
                      "in": "body",
                      "required": true
                    },
                    {
                      "properties": [
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "enum": [
                            "apigw-client",
                            "cloudgw-client"
                          ],
                          "type": "string",
                          "name": "authType",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "boolean",
                          "name": "enableUrlDecode",
                          "in": "body",
                          "required": false
                        },
                        {
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "schedule",
                          "in": "body",
                          "required": false
                        },
                        {
                          "encodedJson": {
                            "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                            "name": "value",
                            "in": "body",
                            "required": false
                          },
                          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                          "type": "string",
                          "name": "input",
                          "in": "body",
                          "required": false
                        }
                      ],
                      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                      "type": "object",
                      "name": "properties",
                      "in": "body",
                      "required": true
                    }
                  ],
                  "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
                  "itemsType": "object",
                  "type": "array",
                  "name": "events",
                  "in": "body",
                  "required": false
                }
              ],
              "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
              "type": "object",
              "name": "properties",
              "in": "body",
              "required": true
            }
          ],
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minItems": 1,
          "itemsType": "object",
          "type": "array",
          "name": "components",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "storageInstance",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "boolean",
          "name": "waitForReady",
          "in": "body",
          "required": false
        }
      ],
      "body": "name,components,storageInstance,waitForReady",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-deploy",
      "direction": "native-workflow",
      "_links": {
        "family": {
          "href": "/api/v1/templates/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/templates/endpoints/deploy",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc templates deploy --docs --pretty",
        "invoke": "agc templates deploy --invoke --session-file SESSION.json --body body.json",
        "show": "agc templates deploy --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "execute-command",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache execute-command --docs --pretty"
      },
      "id": "execute-command",
      "familyId": "cache",
      "name": "execute-command",
      "description": "Reviewed native management transport; explicit user session required. ",
      "method": "POST",
      "path": "/agc/edge/scs/scs-service/v1/eval",
      "command": "agc cache execute-command",
      "requiredParams": [
        "command"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 4096,
          "type": "string",
          "name": "command",
          "in": "body",
          "required": true
        }
      ],
      "body": "command",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-execute-command",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/execute-command",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache execute-command --docs --pretty",
        "invoke": "agc cache execute-command --invoke --session-file SESSION.json --body body.json",
        "show": "agc cache execute-command --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "connection-info",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache connection-info --docs --pretty"
      },
      "id": "connection-info",
      "familyId": "cache",
      "name": "connection-info",
      "description": "Reviewed native management transport; explicit user session required. projectId header comes from session.",
      "method": "GET",
      "path": "/agc/edge/scs/scs-service/v1/cache-invoke-address",
      "command": "agc cache connection-info",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-connection-info",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/connection-info",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache connection-info --docs --pretty",
        "invoke": "agc cache connection-info --invoke --session-file SESSION.json",
        "show": "agc cache connection-info --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "usage",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache usage --docs --pretty"
      },
      "id": "usage",
      "familyId": "cache",
      "name": "usage",
      "description": "Reviewed native management transport; explicit user session required. Epoch timestamps are milliseconds; interval at most three days, per source cmd/infoUsageStatistics.js.",
      "method": "POST",
      "path": "/agc/edge/spms/v1/query/metric/scs-metric",
      "command": "agc cache usage",
      "requiredParams": [
        "views",
        "startTime",
        "endTime"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "query_cache_metric_trend"
          ],
          "type": "string",
          "name": "views",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 12960000,
          "maximum": 2158876800000,
          "type": "integer",
          "name": "startTime",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "minimum": 12960000,
          "maximum": 2158876800000,
          "type": "integer",
          "name": "endTime",
          "in": "query",
          "required": true
        }
      ],
      "body": "json",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-usage",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/usage",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache usage --docs --pretty",
        "invoke": "agc cache usage --invoke --session-file SESSION.json --body body.json",
        "show": "agc cache usage --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "enable-service",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache enable-service --docs --pretty"
      },
      "id": "enable-service",
      "familyId": "cache",
      "name": "enable-service",
      "description": "Reviewed native management transport; explicit user session required. Does not configure a password or prove the service is ready.",
      "method": "POST",
      "path": "/agc/edge/cpms/project-service/v1/services/order",
      "command": "agc cache enable-service",
      "requiredParams": [
        "projectId",
        "serviceName"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "type": "string",
          "name": "projectId",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "enum": [
            "cloudCache"
          ],
          "type": "string",
          "name": "serviceName",
          "in": "body",
          "required": true
        }
      ],
      "body": "serviceName",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-enable-service",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/enable-service",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache enable-service --docs --pretty",
        "invoke": "agc cache enable-service --invoke --session-file SESSION.json --body body.json",
        "show": "agc cache enable-service --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "set-password",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache set-password --docs --pretty"
      },
      "id": "set-password",
      "familyId": "cache",
      "name": "set-password",
      "description": "Reviewed native management transport; explicit user session required. Password is write-only; resetting a used cache password can disrupt applications.",
      "method": "POST",
      "path": "/agc/edge/scs/scs-service/v1/cache-password",
      "command": "agc cache set-password",
      "requiredParams": [
        "password"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 32,
          "minLength": 8,
          "type": "string",
          "name": "password",
          "in": "body",
          "required": true
        }
      ],
      "body": "password",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-set-password",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/set-password",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache set-password --docs --pretty",
        "invoke": "agc cache set-password --invoke --session-file SESSION.json --body body.json",
        "show": "agc cache set-password --pretty"
      }
    },
    {
      "authentication": "agcli-management-cookie",
      "documentation": {
        "title": "reset-password",
        "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
        "checkedAt": "2026-10-26",
        "status": "vendor-source-reviewed",
        "readCommand": "agc cache reset-password --docs --pretty"
      },
      "id": "reset-password",
      "familyId": "cache",
      "name": "reset-password",
      "description": "Reviewed native management transport; explicit user session required. Password is write-only; resetting a used cache password can disrupt applications.",
      "method": "PUT",
      "path": "/agc/edge/scs/scs-service/v1/cache-password",
      "command": "agc cache reset-password",
      "requiredParams": [
        "password"
      ],
      "parameters": [
        {
          "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
          "maxLength": 32,
          "minLength": 8,
          "type": "string",
          "name": "password",
          "in": "body",
          "required": true
        }
      ],
      "body": "password",
      "status": "registered",
      "source": "Huawei official AGCLI 1.12.0 source; not a public REST specification",
      "sourceUrl": "https://www.npmjs.com/package/@hw-agconnect/agc-cli/v/1.12.0",
      "officialSlug": "agcli-1.12.0-reset-password",
      "direction": "developer-to-huawei",
      "_links": {
        "family": {
          "href": "/api/v1/cache/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/cache/endpoints/reset-password",
          "method": "GET"
        }
      },
      "affordances": {
        "docs": "agc cache reset-password --docs --pretty",
        "invoke": "agc cache reset-password --invoke --session-file SESSION.json --body body.json",
        "show": "agc cache reset-password --pretty"
      }
    },
    {
      "authentication": "callback-none",
      "documentation": {
        "title": "开发预加载资源接口",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc prefetch fetch-install --docs --pretty"
      },
      "id": "fetch-install",
      "familyId": "prefetch",
      "name": "fetch-install",
      "description": "",
      "method": "GET",
      "path": "{callbackUrl}",
      "command": "agc prefetch fetch-install",
      "requiredParams": [
        "callbackUrl",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "callbackUrl",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true
        }
      ],
      "status": "registered",
      "source": "Huawei browser-reviewed developer server protocol",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
      "officialSlug": "cloudfoundation-prefetch-cloud-interdev",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/prefetch/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/prefetch/endpoints/fetch-install",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc prefetch fetch-install --invoke",
        "show": "agc prefetch fetch-install --pretty"
      }
    },
    {
      "authentication": "callback-none",
      "documentation": {
        "title": "开发预加载资源接口",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc prefetch fetch-periodic --docs --pretty"
      },
      "id": "fetch-periodic",
      "familyId": "prefetch",
      "name": "fetch-periodic",
      "description": "",
      "method": "GET",
      "path": "{callbackUrl}",
      "command": "agc prefetch fetch-periodic",
      "requiredParams": [
        "callbackUrl",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "callbackUrl",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "maxLength": 2048,
          "type": "string",
          "name": "token",
          "in": "query",
          "required": false
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "maxLength": 1024,
          "type": "string",
          "name": "params",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei browser-reviewed developer server protocol",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
      "officialSlug": "cloudfoundation-prefetch-cloud-interdev",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/prefetch/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/prefetch/endpoints/fetch-periodic",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc prefetch fetch-periodic --invoke",
        "show": "agc prefetch fetch-periodic --pretty"
      }
    },
    {
      "authentication": "callback-none",
      "documentation": {
        "title": "开发预加载资源接口",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc prefetch fetch-deferred --docs --pretty"
      },
      "id": "fetch-deferred",
      "familyId": "prefetch",
      "name": "fetch-deferred",
      "description": "",
      "method": "GET",
      "path": "{callbackUrl}",
      "command": "agc prefetch fetch-deferred",
      "requiredParams": [
        "callbackUrl",
        "appId"
      ],
      "parameters": [
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "callbackUrl",
          "in": "path",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "appId",
          "in": "query",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
          "type": "string",
          "name": "link",
          "in": "query",
          "required": false
        }
      ],
      "status": "registered",
      "source": "Huawei browser-reviewed developer server protocol",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-prefetch-cloud-interdev",
      "officialSlug": "cloudfoundation-prefetch-cloud-interdev",
      "direction": "inbound-callback",
      "_links": {
        "family": {
          "href": "/api/v1/prefetch/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/prefetch/endpoints/fetch-deferred",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc prefetch fetch-deferred --invoke",
        "show": "agc prefetch fetch-deferred --pretty"
      }
    },
    {
      "authentication": "local-device",
      "documentation": {
        "title": "调试周期性预加载",
        "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-commandtool-debug",
        "checkedAt": "2026-10-26",
        "status": "browser-read",
        "readCommand": "agc prefetch device-getcache --docs --pretty"
      },
      "id": "device-getcache",
      "familyId": "prefetch",
      "name": "Debug periodic prefetch on an explicit device",
      "description": "",
      "method": "POST",
      "path": "local:prefetch/device-getcache",
      "command": "agc prefetch device-getcache",
      "requiredParams": [
        "bundleName",
        "deviceId"
      ],
      "parameters": [
        {
          "pattern": "^[A-Za-z][A-Za-z0-9_]*(?:\\.[A-Za-z][A-Za-z0-9_]*)+$",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-commandtool-debug",
          "type": "string",
          "name": "bundleName",
          "in": "body",
          "required": true
        },
        {
          "pattern": "^[A-Za-z0-9._:-]+$",
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-commandtool-debug",
          "type": "string",
          "name": "deviceId",
          "in": "body",
          "required": true
        },
        {
          "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-commandtool-debug",
          "type": "string",
          "name": "hdcPath",
          "in": "body",
          "required": false
        }
      ],
      "body": "bundleName,deviceId,hdcPath",
      "status": "registered",
      "source": "Huawei browser-reviewed hdc command",
      "sourceUrl": "https://developer.huawei.com/consumer/cn/doc/doccenter-capabilities/cloudfoundation-commandtool-debug",
      "officialSlug": "cloudfoundation-commandtool-debug",
      "direction": "local",
      "_links": {
        "family": {
          "href": "/api/v1/prefetch/endpoints",
          "method": "GET"
        },
        "self": {
          "href": "/api/v1/prefetch/endpoints/device-getcache",
          "method": "GET"
        }
      },
      "affordances": {
        "invoke": "agc prefetch device-getcache --invoke --body body.json",
        "show": "agc prefetch device-getcache --pretty"
      }
    }
  ]
}
