Restore a source version
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/sources/inbound/http.go`.
/v1/sources/{id}/versions/{version}/restoreRequires an authenticated tenant principal. Generated from the production route registered in internal/features/sources/inbound/http.go.
Authorization
bearerAuth Engine-issued API key or tenant-signed JWT.
In: header
Path Parameters
uuidHeader Parameters
Required, at most 200 bytes. A replay with the same key restoring the same historical version (the {version} in the path) returns the original restored version unchanged, regardless of expected_source_revision; the same key naming a different historical version is 409 {"error":{"type":"conflict","code":"idempotency_key_reuse","message":"this key was used for different input"}}. A stale expected_source_revision on a genuinely new request is the separate 409 source_revision_conflict.
length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/string/restore" \ -H "Idempotency-Key: string" \ -H "Content-Type: application/json" \ -d '{}'{}Get file
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/sources/inbound/http.go`.
List widgets using a source
Requires an authenticated tenant principal. Generated from the production route registered in `internal/features/widgets/inbound/http.go`.