Объект
Объект PgyNote
One note as PGY shows it: text, pictures, creator, sponsoring brand and figures. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Поле | Тип | Из представления | Описание |
|---|---|---|---|
id | string | compact | ID заметки. |
url | string | null | compact | Link to the note, with the access token that makes it open. |
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 автора в PGY. |
creator_name | string | null | compact | Имя автора. |
brand | string | null | compact | The sponsoring brand, in the platform's words; null when it is not a reported sponsored note. |
brand_id | string | null | standard | ID аккаунта этого бренда в Xiaohongshu; null, если его нет. |
metrics | PgyNoteMetrics | compact | Показатели заметки в PGY. |
component_clicks | PgyComponentClicks | null | standard | Click-through bands of the components the brand added; null when there are none. |
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 | Click-through band of the comment-area component: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none. |
content | string | null | Click-through band of the in-text component: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none. |
note_bottom | string | null | Click-through band of the component at the end of the note: normal (under 2%), high (2-10%) or very_high (over 10%); null when the note has none. |