publicationDocument
Returns the document a publication is a revision of, with its current version, whichever revision id names. Use it to open a publication: a link to an out-of-date revision then shows the current one. Null when the publication does not exist, is not visible to you, or its document has no released revision yet (a screenplay only saved as drafts or backups).
Arguments
Returns
PublicationDocumentExample
query PublicationDocument($id: ID!, $projectId: ID!) {
publicationDocument(id: $id, projectId: $projectId) {
dayDate
dayIndex
dayTitle
docKind
id
revisionCount
scopeKey
screenplayTitle
}
}