chore: expose detach_v2 (#11325)

we need this exposed in the spec to use it in cplane. extracted from
https://github.com/neondatabase/cloud/pull/26167

## Problem

## Summary of changes
This commit is contained in:
Nikita Kalyanov
2025-03-20 20:04:17 +02:00
committed by GitHub
parent 28fc051dcc
commit 53f54ba37a

View File

@@ -669,6 +669,13 @@ paths:
Detach a timeline from its ancestor and reparent all ancestors timelines with lower `ancestor_lsn`.
Current implementation might not be retryable across failure cases, but will be enhanced in future.
Detaching should be expected to be expensive operation. Timeouts should be retried.
parameters:
- name: detach_behavior
in: query
required: false
schema:
description: Currently valid values are `v1`, `v2`
type: string
responses:
"200":
description: |