Người dùng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tài nguyên người dùng đại diện cho một người dùng Blogger.
Để biết danh sách các phương thức cho tài nguyên này, hãy xem ở cuối trang.
Biểu diễn tài nguyên
{
"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
}
}
Tên tài sản |
Giá trị |
Nội dung mô tả |
Ghi chú |
kind |
string |
Loại thực thể này. Luôn là blogger#user . |
|
id |
string |
Mã cho người dùng này. |
|
created |
datetime |
Dấu thời gian khi hồ sơ này được tạo, tính bằng giây kể từ thời gian bắt đầu của hệ thống. |
|
url |
string |
Trang hồ sơ của người dùng. |
|
selfLink |
string |
URL REST của API để tìm nạp tài nguyên này. |
|
blogs |
object |
Vùng chứa blog của người dùng này. |
|
blogs.selfLink |
string |
URL của các blog cho người dùng này. |
|
displayName |
string |
Tên hiển thị của người dùng. |
|
about |
string |
Thông tin tóm tắt hồ sơ. |
|
locale |
object |
Ngôn ngữ của người dùng này. |
|
locale.language |
string |
Chế độ cài đặt ngôn ngữ của người dùng. |
|
locale.country |
string |
Chế độ cài đặt quốc gia của người dùng. |
|
locale.variant |
string |
Chế độ cài đặt biến thể ngôn ngữ của người dùng. |
|
Phương thức
Bạn có thể truy xuất Thông tin người dùng bằng cách sử dụng phương thức blogger.users.get.
- nhận
- Truy xuất người dùng theo mã nhận dạng người dùng.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-06-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-06-26 UTC."],[[["\u003cp\u003eA user resource in Blogger represents a Blogger user and contains their profile information.\u003c/p\u003e\n"],["\u003cp\u003eThe resource includes details like user ID, display name, profile URL, creation timestamp, locale, and blog information.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access the 'blogger.users.get' method to retrieve user information using the user ID.\u003c/p\u003e\n"]]],[],null,["# Users\n\nA user resource represents a Blogger user.\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\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 ID 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. | |\n\nMethods\n-------\n\nYou can retrieve User information by using the [blogger.users.get](/blogger/docs/3.0/reference/users/get) method.\n\n[get](/blogger/docs/3.0/reference/users/get)\n: Retrieves a user by user ID."]]