publications
Returns a project's publications, newest first. Requires read access to the project. Readers who are not members of the project's space see screenplay versions only when they were sent to them.
Arguments
afterStringReturns the items after this cursor: the
pageInfo.endCursorof the previous page. Omit to start at the beginning.docKindPublicationDocKindOnly return publications of this document kind.
firstIntMaximum number of items to return, from 1 to 200. Defaults to 50.
projectIdID!ID of the project.
Returns
PublicationConnection!Example
query Publications($after: String, $docKind: PublicationDocKind, $first: Int, $projectId: ID!) {
publications(
after: $after
docKind: $docKind
first: $first
projectId: $projectId
) {
totalCount
}
}