物件
PgyNote 物件
蒲公英里的一篇筆記:正文、圖片、達人、合作品牌和資料。 所有平台欄位一致。平台不展示的欄位為 null,meta.unavailable 會列出它和原因。
| 欄位 | 型別 | 起始 view | 說明 |
|---|---|---|---|
id | string | compact | 筆記 ID。 |
url | string | null | compact | 筆記連結,帶可直接開啟的訪問令牌。 |
type | string | null | compact | 圖文筆記或影片筆記。 |
title | string | null | compact | 筆記標題。 |
text | string | null | standard | 筆記正文。 · compact 下可能截斷 |
published_at | string | null | compact | 釋出時間。 |
images | string[] | null | standard | 圖片地址,按筆記順序。 |
creator_id | string | null | compact | 達人的蒲公英 ID。 |
creator_name | string | null | compact | 達人暱稱。 |
brand | string | null | compact | 報備的合作品牌,平台原文;非報備合作筆記為 null。 |
brand_id | string | null | standard | 該品牌的小紅書帳號 ID;沒有時為 null。 |
metrics | PgyNoteMetrics | compact | 蒲公英給出的筆記資料。 |
component_clicks | PgyComponentClicks | null | standard | 品牌元件的點選率檔位;沒有時為 null。 |
ext | object | full | 平台特有欄位,只在 view=full 時返回。 · 僅 view=full |
PgyNoteMetrics
| 欄位 | 型別 | 說明 |
|---|---|---|
impressions | integer | null | 曝光數。 |
views | integer | null | 閱讀數。 |
likes | integer | null | 點贊數。 |
favorites | integer | null | 收藏數。 |
comments | integer | null | 評論數。 |
shares | integer | null | 分享數。 |
follows | integer | null | 筆記帶來的新增關注。 |
PgyComponentClicks
| 欄位 | 型別 | 說明 |
|---|---|---|
comment_area | string | null | 評論區元件的點選率檔位:normal(2% 以下)、high(2%-10%)或 very_high(10% 以上);沒有該元件時為 null。 |
content | string | null | 正文元件的點選率檔位:normal(2% 以下)、high(2%-10%)或 very_high(10% 以上);沒有該元件時為 null。 |
note_bottom | string | null | 筆記底部元件的點選率檔位:normal(2% 以下)、high(2%-10%)或 very_high(10% 以上);沒有該元件時為 null。 |