Riksdagsmonitor Intelligence Platform โ€” API Documentation - v1.0.30
    Preparing search index...

    Common shape of a fetch-task descriptor used by the orchestrator.

    interface FetchTask {
    ย ย ย ย name:
    ย ย ย ย ย ย ย ย | "fetchCommitteeReports"
    ย ย ย ย ย ย ย ย | "fetchPropositions"
    ย ย ย ย ย ย ย ย | "fetchMotions"
    ย ย ย ย ย ย ย ย | "fetchWrittenQuestions"
    ย ย ย ย ย ย ย ย | "fetchInterpellations"
    ย ย ย ย ย ย ย ย | "searchSpeeches"
    ย ย ย ย ย ย ย ย | "fetchVotingRecords";
    ย ย ย ย source: string;
    ย ย ย ย query: () => Record<string, unknown>;
    ย ย ย ย fetch: () => Promise<FetchTaskResult>;
    ย ย ย ย assign: (raw: RawDocument[]) => void;
    }
    Index
    name:
    ย ย ย ย | "fetchCommitteeReports"
    ย ย ย ย | "fetchPropositions"
    ย ย ย ย | "fetchMotions"
    ย ย ย ย | "fetchWrittenQuestions"
    ย ย ย ย | "fetchInterpellations"
    ย ย ย ย | "searchSpeeches"
    ย ย ย ย | "fetchVotingRecords"
    source: string
    query: () => Record<string, unknown>
    fetch: () => Promise<FetchTaskResult>
    assign: (raw: RawDocument[]) => void