Provides API endpoints related to control
Summary
Functions
@spec app_log(body :: map(), opts :: keyword()) :: {:ok, boolean()} | {:error, OpenCode.Generated.BadRequestError.t()}
Write log
Write a log entry to the server logs with specified level and metadata.
Options
directoryworkspace
Request Body
Content Types: application/json
@spec auth_remove(providerID :: String.t(), opts :: keyword()) :: {:ok, boolean()} | {:error, OpenCode.Generated.BadRequestError.t()}
Remove auth credentials
Remove authentication credentials
@spec auth_set( providerID :: String.t(), body :: OpenCode.Generated.ApiAuth.t() | OpenCode.Generated.OAuth.t() | OpenCode.Generated.WellKnownAuth.t(), opts :: keyword() ) :: {:ok, boolean()} | {:error, OpenCode.Generated.BadRequestError.t()}
Set auth credentials
Set authentication credentials
Request Body
Content Types: application/json