AntiSMI · Schema
DigestRequest
Запрос на создание дайджеста
NewsArtificial IntelligenceSearchMediaRussian
Properties
| Name | Type | Description |
|---|---|---|
| date | string | Дата дайджеста |
| period | object | Период дня |
| categories | object | Список категорий (если не указан - все доступные) |
| sentiment_filter | object | Фильтр сентимента: all или positive |
| clustering_threshold | number | Порог для кластеризации |
| limit | object | Максимальное количество кластеров на категорию (если не указан - все кластеры) |
| sources_filter | object | Фильтр источников: all или allowed_only |
| media_types | object | Список типов медиа (Foreign, Independents, State, Neutral, Non-political) |
| exclude_media_types | object | Типы медиа для исключения из выборки. None → применяется серверный дефолт (['State']); пустой список → без исключений |
| include_rss | boolean | Показывать новости из RSS-источников (url не t.me и news_date >= 2026-03-16). False — только Telegram-лента |
| timezone | object | IANA timezone пользователя для корректного определения границ периода |
| telegram_id | object | Telegram ID пользователя (legacy, используется ботом) |
| user_id | object | Surrogate user ID (используется веб-интерфейсом) |
| period_end | object | Конец периода для кастомных дайджестов (например, /today) |
| generated_at | object | Время генерации оригинального дайджеста (для фильтрации поздних новостей при повторном запросе) |
| skip_user_digest_update | object | Пропустить обновление user_digest (для cache scheduler) |
| lang | string | Язык метаданных: en → заголовки/резюме/понятия из *_en с fallback на русский (миграция 030) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/antismi-media/json-schema/antismi-media-digest-request-schema.json",
"title": "DigestRequest",
"description": "Запрос на создание дайджеста",
"x-generated": "2026-11-01",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/antismi-media-openapi.json#/components/schemas/DigestRequest",
"properties": {
"date": {
"type": "string",
"format": "date-time",
"title": "Date",
"description": "Дата дайджеста"
},
"period": {
"allOf": [
{
"$ref": "#/$defs/DigestPeriod"
}
],
"description": "Период дня",
"default": "all"
},
"categories": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Categories",
"description": "Список категорий (если не указан - все доступные)"
},
"sentiment_filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sentiment Filter",
"description": "Фильтр сентимента: all или positive",
"default": "all"
},
"clustering_threshold": {
"type": "number",
"title": "Clustering Threshold",
"description": "Порог для кластеризации",
"default": 0.25
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Limit",
"description": "Максимальное количество кластеров на категорию (если не указан - все кластеры)"
},
"sources_filter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sources Filter",
"description": "Фильтр источников: all или allowed_only",
"default": "all"
},
"media_types": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Media Types",
"description": "Список типов медиа (Foreign, Independents, State, Neutral, Non-political)"
},
"exclude_media_types": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Exclude Media Types",
"description": "Типы медиа для исключения из выборки. None → применяется серверный дефолт (['State']); пустой список → без исключений"
},
"include_rss": {
"type": "boolean",
"title": "Include Rss",
"description": "Показывать новости из RSS-источников (url не t.me и news_date >= 2026-03-16). False — только Telegram-лента",
"default": true
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Timezone",
"description": "IANA timezone пользователя для корректного определения границ периода",
"default": "UTC"
},
"telegram_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Telegram Id",
"description": "Telegram ID пользователя (legacy, используется ботом)"
},
"user_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "User Id",
"description": "Surrogate user ID (используется веб-интерфейсом)"
},
"period_end": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Period End",
"description": "Конец периода для кастомных дайджестов (например, /today)"
},
"generated_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Generated At",
"description": "Время генерации оригинального дайджеста (для фильтрации поздних новостей при повторном запросе)"
},
"skip_user_digest_update": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Skip User Digest Update",
"description": "Пропустить обновление user_digest (для cache scheduler)",
"default": false
},
"lang": {
"type": "string",
"enum": [
"ru",
"en"
],
"title": "Lang",
"description": "Язык метаданных: en → заголовки/резюме/понятия из *_en с fallback на русский (миграция 030)",
"default": "ru"
}
},
"type": "object",
"required": [
"date"
],
"$defs": {
"DigestPeriod": {
"type": "string",
"enum": [
"all",
"morning",
"day",
"evening",
"night"
],
"title": "DigestPeriod",
"description": "Периоды дайджестов"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/antismi-media-digest-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.