Huawei AppGallery Connect
August 15, 2026 · View on GitHub
English | 简体中文
fastforge appgallery calls the AppGallery Connect Publishing API directly. The generated client covers app lookup and metadata, package queries, upload preparation, and release submission.
Authentication
Service accounts are recommended by Huawei. Set APP_GALLERY_SERVICE_ACCOUNT_JSON to either the downloaded credential JSON or its file path:
export APP_GALLERY_SERVICE_ACCOUNT_JSON=/secure/appgallery-private.json
APP_GALLERY_SERVICE_ACCOUNT_KEY is accepted as a path-only alias.
The legacy API client flow is also supported:
export APP_GALLERY_CLIENT_ID=client-id
export APP_GALLERY_CLIENT_SECRET=client-secret
When both are present, service-account authentication takes precedence.
Apps
fastforge appgallery app resolve com.example.myapp
fastforge appgallery app view <app-id>
fastforge appgallery app view <app-id> --lang en-US --json appInfo,languages
Packages
fastforge appgallery package list <app-id>
fastforge appgallery package status <app-id> <package-id>
Submit for Review
fastforge appgallery release <app-id>
fastforge appgallery release <app-id> --release-time "2026-08-20T08:00:00+0800"
Raw API
Endpoints not yet exposed as typed commands can be called with an authenticated relative path:
fastforge appgallery api get /api/publish/v2/app-info \
--query appId=<app-id>
fastforge appgallery api put /api/publish/v2/app-language-info \
--query appId=<app-id> --input language.json
The checked-in source specification is scripts/generate/specs/app_gallery_connect.openapi.yaml. Huawei publishes HTML API reference pages rather than a downloadable OAS document, so this normalized OpenAPI 3 file is maintained from the official reference and regenerated with:
python3 scripts/generate/app_gallery_connect.py
Official references: Getting Started, Querying App Information.