opencode/session_questions

Procs

proc getApiQuestionRequest(client: OpencodeClient;
                           location: JsonNode = default(JsonNode)): Future[
    GetApiQuestionRequestResponse] {....stackTrace: false, raises: [Exception,
    ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [
    RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Retrieve pending question requests for a location.
proc getApiSessionSessionIDQuestion(client: OpencodeClient; sessionID: string): Future[
    GetApiSessionSessionIDQuestionResponse] {....stackTrace: false, raises: [
    Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError,
    IOError, ProtocolError, KeyError, OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Retrieve pending question requests owned by a session.
proc postApiSessionSessionIDQuestionRequestIDReject(client: OpencodeClient;
    sessionID: string; requestID: string): Future[AsyncResponse] {.
    ...stackTrace: false, raises: [Exception, ValueError, HttpRequestError,
                                LibraryError, SslError, OSError, IOError,
                                ProtocolError, KeyError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Reject a pending question request owned by a session.
proc postApiSessionSessionIDQuestionRequestIDReply(client: OpencodeClient;
    sessionID: string; requestID: string; body: types.QuestionV2Reply): Future[
    AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError,
    HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
    KeyError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Answer a pending question request owned by a session.