Skip to main content
Query

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

  • afterString

    Returns the items after this cursor: the pageInfo.endCursor of the previous page. Omit to start at the beginning.

  • firstInt

    Maximum number of items to return, from 1 to 200. Defaults to 50.

  • localeString

    Language 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
  }
}