Skip to main content
Query

crewPostingPublishState

Compares a crew job's current content with its live version: whether it has unpublished changes and what happened to its latest publish. input.crewPostingId is required. Requires being signed in and able to edit the job.

Arguments

Returns

PublishState!

Example

query CrewPostingPublishState($input: PublishCrewPostingInput!) {
  crewPostingPublishState(input: $input) {
    canPublish
    liveHash
    published
    reason
    submission
    submittedAt
    unpublishedChanges
  }
}