> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PublishVersionInput

> Names the API version to publish.



**Kind**: `input`

## Fields

**`destinationId`**: `ID!` (required)

Global id of the version's destination (`Destination.id`). Another destination's id fails the call.

---

**`etag`**: `Etag`

Value of `etag` you last read.

---

**`id`**: `ID!` (required)

Global id of the version (`ApiVersion.id`).

---

**`isPreview`**: `Boolean!` (required)

True publishes as a preview: `state` shows `PREVIEW_PUBLISH_STARTED` while it runs, and `publishingStatus` doesn't report it. It ends `PUBLISHED` like a full publish.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.