chore: sync with upstream API changes 2026-04-21#21
Merged
Conversation
There was a problem hiding this comment.
No issues found.
This PR only modifies api/upstream-openapi.json — a reference snapshot used by the API monitoring workflow, not consumed by any CLI Python code.
Changes are all additive / non-breaking:
- Schema names qualified with module paths (
ProcessingStatus→opi__api__task_models__ProcessingStatus, etc.) — content identical, upstream refactored Python module layout. No CLI code references these names. DeploymentInfo/DeploymentUrlslikewise renamed to fully-qualified variants — same content.ValidationErrorgains optionalinputandctxfields — additive.- File upload field format corrected:
"format": "binary"→"contentMediaType": "application/octet-stream"— spec accuracy fix, no functional impact.
No CLI commands, options, arguments, or ZadClient methods changed. Backwards compatibility unaffected. Coverage count unchanged (14 uncovered endpoints).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
API Sync - 2026-04-21
Upstream API changes detected and auto-implemented by Claude.
API diff
New Endpoints: None
Deleted Endpoints: None
Modified Endpoints: 54
GET /api/logs/{project_name}
DELETE /api/projects/{project_name}
GET /api/projects/{project_name}/:refresh
POST /api/projects/{project_name}/:upsert-deployment
POST /api/projects/{project_name}/components
POST /api/projects/{project_name}/deployments/{deployment_name}/:clone-bucket-from-external
POST /api/projects/{project_name}/deployments/{deployment_name}/:clone-database-from-external
GET /api/projects/{project_name}/deployments/{deployment_name}/:refresh
Coverage
Upstream API: 47 current endpoints
Covered by CLI: 33
Not covered: 14
Deprecated v1: 10 (skipped, CLI uses v2)
Non-API/infra: 0 (skipped)
Uncovered endpoints:
GET /api/federation/health
Federation Health [federation]
GET /api/federation/peers
List Peers [federation]
POST /api/projects/{project_name}/registries/by-credentials
Add Registry By Credentials [v1 (deprecated)]
POST /api/projects/{project_name}/registries/by-secret
Add Registry By Secret [v1 (deprecated)]
POST /api/tasks
Create Task [tasks]
POST /api/v1/backup/namespace/{namespace}/all
Backup Namespace All [backup]
POST /api/v1/backup/pvc/{namespace}/{pvc_name}
Backup Pvc [backup]
POST /api/v1/projects/{project_name}/images/push
Push Image [images]
POST /api/v1/restore/project/{project_name}/deployment/{deployment_name}
Restore Deployment Resource [restore]
GET /api/v1/restore/snapshots/{cluster}/{namespace}/{pvc_name}
List Pvc Snapshots [restore]
POST /api/v2/admin/cleanup/trigger
Trigger Cleanup [admin]
GET /api/v2/admin/marked-for-deletion
List Marked For Deletion [admin]
DELETE /api/v2/admin/marked-for-deletion/{mark_id}
Delete Mark [admin]
POST /api/v2/admin/reconciliation/trigger
Trigger Reconciliation [admin]
Review carefully before merging. All changes should be additive only.