ac

ac.developer.getUserProfile

Read the current developer user's profile. Reserved for the official developer assistant MiniApp.

权限:developer 宿主 API

功能描述

Read the current developer user's profile. Reserved for the official developer assistant MiniApp.

调用方式

const result = await ac.developer.getUserProfile({});

参数说明

该 API 不需要参数。

{
  "type": "object",
  "properties": {}
}

返回值

{
  "type": "object"
}

错误码

该 API 当前没有声明专属错误码。

Manifest 声明

Agent 生成小程序时,如果页面会调用该 API,应在 manifest.apisUsed 中声明完整 API 名称。

{
  "permissions": [
    "developer"
  ],
  "apisUsed": [
    "ac.developer.getUserProfile"
  ]
}

平台支持

平台支持情况
Web支持
Android SDK支持
iOS SDK支持
Flutter SDK支持