Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • VibeCraft
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex DataLens
  • Галерея в DataLens
    • Как пользоваться Public API
    • Версионирование
    • История изменений
      • Overview
        • Overview
        • Check favorites
        • List favorites
  • Аудитные логи Audit Trails

В этой статье:

  • Request
  • Headers
  • Body
  • FavoriteEntityRef
  • Responses
  • 200 OK
  • Body
  • CheckedFavorite
  1. DataLens Public API
  2. DataLens API (англ.)
  3. Favorites
  4. Check favorites
Статья создана
Yandex Cloud
Открыть в Markdown
  • Request
    • Headers
    • Body
    • FavoriteEntityRef
  • Responses
  • 200 OK
    • Body
    • CheckedFavorite

Check favorites

Returns, for each requested entity, whether the current user has marked it as a favorite.

RequestRequest

POST

https://api.datalens.tech/rpc/checkFavorites

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

application/json
{
  "entities": [
    {
      "entityId": "example",
      "entityType": "entry"
    }
  ]
}

Name

Description

entities

Type: FavoriteEntityRef[]

Entities to check.

Max items: 1000

Example
[
  {
    "entityId": "example",
    "entityType": "entry"
  }
]

FavoriteEntityRefFavoriteEntityRef

Name

Description

entityId

Type: string

ID of the entity.

Example: example

entityType

Type: string

Type of the entity.

Enum: entry, workbook, collection

Example
{
  "entityId": "example",
  "entityType": "entry"
}

ResponsesResponses

200 OK200 OK

Response

BodyBody

application/json
[
  {
    "entityId": "example",
    "entityType": "entry",
    "isFavorite": true,
    "displayAlias": "example"
  }
]

Type: CheckedFavorite[]

CheckedFavoriteCheckedFavorite

Name

Description

displayAlias

Type: string | null

Custom name the user gave to the favorite, or null if there is none.

Example: example

entityId

Type: string

ID of the entity.

Example: example

entityType

Type: string

Type of the entity.

Enum: entry, workbook, collection

isFavorite

Type: boolean

Whether the current user has marked the entity as a favorite.

Example
{
  "entityId": "example",
  "entityType": "entry",
  "isFavorite": true,
  "displayAlias": "example"
}

Была ли статья полезна?

Предыдущая
Overview
Следующая
List favorites
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»