screenplayVersions
Returns a screenplay's version history, newest first. Requires read access to the project. Readers who are not members of the project's space see only versions sent to them.
Arguments
afterStringReturns the items after this cursor: the
pageInfo.endCursorof the previous page. Omit to start at the beginning.firstIntMaximum number of items to return, from 1 to 200. Defaults to 50.
localeStringLanguage history to read. Absent reads only source versions.
projectIdID!ID of the project.
screenplayIdID!ID of the screenplay.
Returns
ScreenplayVersionEntryConnection!Example
query ScreenplayVersions($after: String, $first: Int, $locale: String, $projectId: ID!, $screenplayId: ID!) {
screenplayVersions(
after: $after
first: $first
locale: $locale
projectId: $projectId
screenplayId: $screenplayId
) {
totalCount
}
}