server.schemas

Classes

Channel

ChannelSummary

Metadata

Card

NewCard

CardRef

Module Contents

class server.schemas.Channel

Bases: pydantic.BaseModel

name: str
description: str
class server.schemas.ChannelSummary

Bases: pydantic.BaseModel

name: str
estimated_total_articles: int
first_article: int
last_article: int
class server.schemas.Metadata

Bases: pydantic.BaseModel

title: str
url: str
description: str
subject: str
author: str
alignment_tags: list[str]
keywords: list[str]
class server.schemas.Card

Bases: pydantic.BaseModel

number: int
headers: dict
subject: str
body: Metadata | str
class server.schemas.NewCard

Bases: pydantic.BaseModel

channels: list[str]
subject: str
body: Metadata
class server.schemas.CardRef

Bases: pydantic.BaseModel

id: int