Rust API client for koharu-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version:
- Package version: 0.0.0
- Generator version: 7.21.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named koharu-client and add the following to Cargo.toml under [dependencies]:
koharu-client = { path = "./koharu-client" }
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | add_image_layer | POST /pages/{id}/image-layers | |
| DefaultApi | apply_command | POST /history/apply | |
| DefaultApi | cancel_operation | DELETE /operations/{id} | |
| DefaultApi | clear_provider_secret | DELETE /config/providers/{id}/secret | Clear a provider's keyring secret. The provider entry itself is kept. |
| DefaultApi | create_pages | POST /pages | |
| DefaultApi | create_project | POST /projects | |
| DefaultApi | delete_current_llm | DELETE /llm/current | |
| DefaultApi | delete_current_project | DELETE /projects/current | |
| DefaultApi | events | GET /events | |
| DefaultApi | export_current_project | POST /projects/current/export | |
| DefaultApi | fetch_google_font | POST /google-fonts/{family}/fetch | |
| DefaultApi | get_blob | GET /blobs/{hash} | |
| DefaultApi | get_catalog | GET /llm/catalog | |
| DefaultApi | get_config | GET /config | |
| DefaultApi | get_current_llm | GET /llm/current | |
| DefaultApi | get_engine_catalog | GET /engines | |
| DefaultApi | get_google_font_file | GET /google-fonts/{family}/{file} | |
| DefaultApi | get_google_fonts_catalog | GET /google-fonts | |
| DefaultApi | get_meta | GET /meta | |
| DefaultApi | get_page_thumbnail | GET /pages/{id}/thumbnail | |
| DefaultApi | get_scene_bin | GET /scene.bin | |
| DefaultApi | get_scene_json | GET /scene.json | |
| DefaultApi | import_project | POST /projects/import | |
| DefaultApi | list_fonts | GET /fonts | |
| DefaultApi | list_projects | GET /projects | |
| DefaultApi | patch_config | PATCH /config | |
| DefaultApi | put_current_llm | PUT /llm/current | |
| DefaultApi | put_current_project | PUT /projects/current | |
| DefaultApi | put_mask | PUT /pages/{id}/masks/{role} | Upsert the Mask { role } node on a page with the raw image bytes in the body. Emits Op::UpdateNode if a mask of that role exists, else Op::AddNode. Used by the repair-brush / segment-edit flow; the follow-up localized inpaint is a separate POST /pipelines call. |
| DefaultApi | redo | POST /history/redo | |
| DefaultApi | set_provider_secret | PUT /config/providers/{id}/secret | Save (or overwrite) the keyring secret for a provider. Creates the provider entry in config.providers if it didn't exist. PUT because setting the secret is idempotent for the same body. |
| DefaultApi | start_download | POST /downloads | |
| DefaultApi | start_pipeline | POST /pipelines | |
| DefaultApi | undo | POST /history/undo |
Documentation For Models
- AddImageLayerResponse
- AppConfig
- AppEvent
- AppEventOneOf
- AppEventOneOf1
- AppEventOneOf10
- AppEventOneOf11
- AppEventOneOf12
- AppEventOneOf13
- AppEventOneOf2
- AppEventOneOf3
- AppEventOneOf4
- AppEventOneOf5
- AppEventOneOf6
- AppEventOneOf7
- AppEventOneOf8
- AppEventOneOf9
- ConfigPatch
- CreatePagesResponse
- CreateProjectRequest
- DataConfig
- DownloadProgress
- DownloadStatus
- DownloadStatusOneOf
- DownloadStatusOneOf1
- DownloadStatusOneOf2
- DownloadStatusOneOf3
- EngineCatalog
- EngineCatalogEntry
- ErrorEvent
- ExportFormat
- ExportProjectRequest
- FontFaceInfo
- FontPrediction
- FontSource
- GoogleFontCatalog
- GoogleFontEntry
- GoogleFontVariant
- HistoryResult
- HttpConfig
- HttpConfigPatch
- ImageData
- ImageDataPatch
- ImageRole
- JobFinishedEvent
- JobStatus
- JobSummary
- ListProjectsResponse
- LlmCatalog
- LlmCatalogModel
- LlmGenerationOptions
- LlmLoadRequest
- LlmProviderCatalog
- LlmProviderCatalogStatus
- LlmState
- LlmStateStatus
- LlmTarget
- LlmTargetKind
- MaskData
- MaskDataPatch
- MaskRole
- MetaInfo
- NamedFontPrediction
- Node
- NodeDataPatch
- NodeDataPatchOneOf
- NodeDataPatchOneOf1
- NodeDataPatchOneOf2
- NodeKind
- NodeKindOneOf
- NodeKindOneOf1
- NodeKindOneOf2
- NodePatch
- Op
- OpOneOf
- OpOneOf1
- OpOneOf1AddPage
- OpOneOf2
- OpOneOf2RemovePage
- OpOneOf3
- OpOneOf3UpdatePage
- OpOneOf4
- OpOneOf4ReorderPages
- OpOneOf5
- OpOneOf5AddNode
- OpOneOf6
- OpOneOf6RemoveNode
- OpOneOf7
- OpOneOf7UpdateNode
- OpOneOf8
- OpOneOf8ReorderNodes
- OpOneOf9
- OpOneOf9Batch
- OpOneOfUpdateProjectMeta
- OpenProjectRequest
- Page
- PagePatch
- PipelineConfig
- PipelineConfigPatch
- PipelineProgress
- PipelineStatus
- PipelineStatusOneOf
- PipelineStatusOneOf1
- PipelineStep
- ProjectMeta
- ProjectMetaPatch
- ProjectStyle
- ProjectSummary
- ProviderConfig
- ProviderPatch
- ProviderSecretRequest
- PutMaskResponse
- Region
- Scene
- SceneSnapshot
- SnapshotEvent
- StartDownloadRequest
- StartDownloadResponse
- StartPipelineRequest
- StartPipelineResponse
- TextAlign
- TextData
- TextDataPatch
- TextDirection
- TextShaderEffect
- TextStrokeStyle
- TextStyle
- TopFont
- Transform
To get access to the crate's generated documentation, use:
cargo doc --open