Method: accounts.get

根据 ID 检索单个 CSS/MC 账号。

HTTP 请求

GET https://css.googleapis.com/v1/{name=accounts/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。受管理的 CSS/MC 账号的名称。格式:accounts/{account}

查询参数

参数
parent

string

可选。仅在检索 MC 账号信息时才需要。作为 MC 账号父级资源的 CSS 网域。格式:accounts/{account}

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 Account 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/content

如需了解详情,请参阅 OAuth 2.0 Overview