Types
GetApiAgentResponse = object
GetApiHealthResponse = object
Procs
proc deleteApiCredentialCredentialID(client: OpencodeClient; credentialID: string; location: JsonNode = default(JsonNode)): Future[ AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Remove a stored integration credential.
proc getApiAgent(client: OpencodeClient; location: JsonNode = default(JsonNode)): Future[ GetApiAgentResponse] {....stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Retrieve currently registered agents.
proc getApiHealth(client: OpencodeClient): Future[GetApiHealthResponse] {. ...stackTrace: false, raises: [Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, KeyError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Check whether the API server is ready to accept requests.
proc getApiLocation(client: OpencodeClient; location: JsonNode = default(JsonNode)): Future[LocationInfo] {. ...stackTrace: false, raises: [Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Resolve the requested location or the server default location.
proc patchApiCredentialCredentialID(client: OpencodeClient; credentialID: string; location: JsonNode = default(JsonNode); body: PatchApiCredentialCredentialIDRequest): Future[ AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError, HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError, KeyError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
- Update a stored credential label.