Skip to main content
enumApiVersionState

Values

NEW

Created and never published. The API doesn't answer yet.

PREVIEW_PUBLISH_STARTED

In progress: a publish started with isPreview: true. Ends PUBLISHED or PUBLISH_FAILED.

PREVIEW

No longer used.

PUBLISH_STARTED

No longer used.

PUBLISHED

Live: publishing finished and the API serves the version's data.

DELETE_STARTED

In progress: deleteApiVersion is tearing the version down. Ends DELETED.

DELETED

Deleted. The API no longer answers.

STOPPED

Stopped by stopVersion: the API still answers, but data changes no longer reach it. restartVersionPublish resumes it.

PUBLISH_FAILED

Failed: the last publish didn't finish. publishingStatus shows the failed step; run publishVersion again.

UPDATING

In progress: publishVersion is publishing the version or its changes. Moves on to OPERATIONAL or PUBLISHED.

OPERATIONAL

In progress: the API answers while its data is still loading. Ends PUBLISHED.

RESTARTING

In progress: restartVersionPublish is rebuilding the published data. Ends PUBLISHED.