Use Forgejo-compatible repository contents API
This commit is contained in:
@@ -11,9 +11,10 @@ relationships, while
|
||||
Generated API modules and client configuration are deliberately private so the
|
||||
CLI and app cannot duplicate Gitea behavior.
|
||||
|
||||
Forgejo uses the common generated client for its documented Gitea-compatible
|
||||
`/api/v1` surface. Provider discovery and provider-specific endpoints, such as
|
||||
Forgejo's dedicated version API, are routed inside `gotcha_gitea::Client`.
|
||||
Forgejo uses operations from its advertised Gitea 1.22-compatible `/api/v1`
|
||||
surface. Gotcha must not assume that newer operations from its generated Gitea
|
||||
1.25 client exist on Forgejo: provider-specific endpoints and any operation
|
||||
outside the shared contract are routed inside `gotcha_gitea::Client`.
|
||||
|
||||
| Domain | Queries | Other actions | Generated client | CLI queries | CLI writes | Capabilities |
|
||||
| --- | ---: | ---: | --- | ---: | ---: | --- |
|
||||
|
||||
Reference in New Issue
Block a user