server.newsgroups_view ====================== .. py:module:: server.newsgroups_view Attributes ---------- .. autoapisummary:: server.newsgroups_view.app Functions --------- .. autoapisummary:: server.newsgroups_view.main server.newsgroups_view.get_channel_summary server.newsgroups_view.get_channel_cards server.newsgroups_view.create_post server.newsgroups_view.import_post Module Contents --------------- .. py:data:: app .. py:function:: main() -> list[server.schemas.Channel] :async: .. py:function:: get_channel_summary(name: str) -> server.schemas.ChannelSummary :async: .. py:function:: get_channel_cards(name: str, page: int = 1, page_size: int = 10) -> list[server.schemas.Card] :async: http://localhost:5001/api/channel/eric.public/cards?page=2&page_size=25 .. py:function:: create_post(card: server.schemas.NewCard) -> bool :async: .. py:function:: import_post(name: str, card: server.schemas.CardRef) -> bool :async: