用户
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
重要提示:我们将于 2024 年 9 月 30 日停止支持 v2.0 JSON API。
为了确保功能继续正常运行,请将依赖于 v2.0 JSON API 的应用更新为最新的 API 版本。如需获取最新版本,请使用左侧导航栏中的链接。
资源表示法
{
"kind": "blogger#user",
"id": string,
"created": datetime,
"url": string,
"selfLink": string,
"blogs": {
"selfLink": string
},
"displayName": string,
"about": string,
"locale": {
"language": string,
"country": string,
"variant": string
}
}
属性名称 |
值 |
说明 |
备注 |
kind |
string |
此实体的种类。始终为 blogger#user 。 |
|
id |
string |
此用户的标识符。 |
|
created |
datetime |
创建此个人资料时的时间戳(以从公元纪年开始算起的秒数表示)。 |
|
url |
string |
用户的个人资料页面。 |
|
selfLink |
string |
用于提取此资源的 API REST 网址。 |
|
blogs |
object |
此用户博客的容器。 |
|
blogs.selfLink |
string |
此用户的博客网址。 |
|
displayName |
string |
用户的显示名称。 |
|
about |
string |
配置文件摘要信息。 |
|
locale |
object |
此用户的语言区域。 |
|
locale.language |
string |
用户的语言设置。 |
|
locale.country |
string |
用户的国家/地区设置。 |
|
locale.variant |
string |
用户的语言变体设置。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):2024-12-21。"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to be updated to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows retrieval of Blogger user information, represented as a \u003ccode\u003eUser\u003c/code\u003e resource, using the \u003ccode\u003eblogger.users.get\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eUser\u003c/code\u003e resource includes properties like user ID, creation timestamp, profile URL, display name, locale details, and blog information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access the latest API version and documentation through the links provided in the left-side navbar of the webpage.\u003c/p\u003e\n"]]],[],null,["# Users\n\n**Important**:\nWe will discontinue support for the v2.0 JSON API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 JSON API\nto the latest API version. For the latest version, use the links in the left-side navbar.\nA User represents a Blogger user.\n\nMethods\n-------\n\nYou can retrieve User information by using the [blogger.users.get](/blogger/docs/2.0/json/reference/users/get) method.\n\n[get](/blogger/docs/2.0/json/reference/users/get)\n: Retrieves one user by userId.\n\nResource Representations\n------------------------\n\n\u003cbr /\u003e\n\n```gdscript\n{\n \"kind\": \"blogger#user\",\n \"id\": string,\n \"created\": datetime,\n \"url\": string,\n \"selfLink\": string,\n \"blogs\": {\n \"selfLink\": string\n },\n \"displayName\": string,\n \"about\": string,\n \"locale\": {\n \"language\": string,\n \"country\": string,\n \"variant\": string\n }\n}\n```\n\n| Property Name | Value | Description | Notes |\n|-------------------|------------|-------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#user`. | |\n| `id` | `string` | The identifier for this user. | |\n| `created` | `datetime` | The timestamp of when this profile was created, in seconds since epoch. | |\n| `url` | `string` | The user's profile page. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `blogs` | `object` | The container for this user's blogs. | |\n| blogs.`selfLink` | `string` | The URL of the blogs for this user. | |\n| `displayName` | `string` | The user's display name. | |\n| `about` | `string` | Profile summary information. | |\n| `locale` | `object` | This user's locale. | |\n| locale.`language` | `string` | The user's language setting. | |\n| locale.`country` | `string` | The user's country setting. | |\n| locale.`variant` | `string` | The user's language variant setting. | |"]]