server.main

Attributes

unused

app

templates

Functions

newsgroups(→ fastapi.responses.HTMLResponse)

main(→ list[server.schemas.Channel])

get_channel_synopsis(→ server.schemas.ChannelSummary)

get_channel_cards(→ list[server.schemas.Card])

http://localhost:5001/api/channel/eric.public/cards?page=2&page_size=25

create_post(→ bool)

import_post(→ bool)

browse(→ server.schemas.BrowseResponse)

explore_oer_exchange(→ server.schemas.ExploreSummary)

channel_summary(→ server.schemas.ChannelSummaryResponse)

get_channel(→ server.schemas.ChannelResourcesResponse)

Module Contents

server.main.unused
server.main.app
async server.main.newsgroups(request: fastapi.Request) fastapi.responses.HTMLResponse
async server.main.main() list[server.schemas.Channel]
async server.main.get_channel_synopsis(name: str) server.schemas.ChannelSummary
async server.main.get_channel_cards(name: str, page: int = 1, page_size: int = 10) list[server.schemas.Card]

http://localhost:5001/api/channel/eric.public/cards?page=2&page_size=25

async server.main.create_post(meta: server.schemas.MiniMetadata) bool
async server.main.import_post(name: str, card: server.schemas.CardRef) bool
async server.main.browse(sortby: str = 'timestamp', per_page: int = 3) server.schemas.BrowseResponse
async server.main.explore_oer_exchange(_request: fastapi.Request) server.schemas.ExploreSummary
async server.main.channel_summary(channel: str, _id: int) server.schemas.ChannelSummaryResponse
async server.main.get_channel(channel: str, _id: int) server.schemas.ChannelResourcesResponse
server.main.templates