GitOps
Admin
Create a dry-run validation task
Experimental. Creates a dry-run validation task that fetches a git ref and validates the data without affecting the live registry. The sidecar fetches the ref, and the registry loads and validates the data in the inactive storage (no swap).
Returns a task object with a taskId that can be used to poll for results.
This endpoint is only available when GitOps storage is enabled.
This operation can fail for the following reasons:
- GitOps storage is not enabled (HTTP error 409)
- Dry-run validation is disabled (HTTP error 503)
- A server error occurred (HTTP error 500)
post/admin/gitops/validate
Request body
Response
Validation task created. Poll the task status to get the result.