bird voice sequences versions restore-draft
Usage
Code example
bird voice sequences versions restore-draft <sequence-id> <version-id> [flags]Description
Restore a voice sequence draft
Copy a retained definition into the draft without changing the active authoring version.
Build the request from flags, a JSON VoiceSequenceLifecycleRequest body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.
Examples
Code example
# print the body shape (no credentials needed)
bird voice sequences versions restore-draft --example
# the body it prints:Code example
{
"expected_revision": 1
}Options
Request
| Name | Description |
|---|---|
--body-file | Read the JSON request body from this file; "-" reads stdin |
--example | Print a complete example request body, then exit |
--dry-run | Print the resolved request without sending it, then exit |
--idempotency-key | Deduplication key; a retry with the same key won't act twice |
Options
| Name | Description |
|---|---|
--expected-revision <n> | Draft revision read before this change. A stale revision returns 409 without changing the sequence or its draft. (required; or in --body-file) |
--response-schema | Print the fields this command returns, then exit |
Related
| Name | Description |
|---|---|
bird voice sequences versions get | Get a voice sequence publication |
bird voice sequences versions list | List voice sequence publications |
bird voice sequences versions rollback | Roll back a voice sequence |
Related resources
Continue with the documentation, guides and examples for this topic.