Query / surfaces
listWorkspaceVersions
List all versions of a workspace, newest first (authoring history), if the caller may see it.
Arguments
workspaceIdWorkspaceID!TypeID of the workspace whose versions to list (prefix wks). Returns an empty page when unknown or not visible to the caller.
firstIntPage size. Omitted returns up to the default page size.
afterStringCursor from a previous page's endCursor; results resume after it. An unresolvable cursor is ignored and the first page is returned.
Returns WorkspaceVersionConnection!
Explore in a view
View exact SDL
"""
List all versions of a workspace, newest first (authoring history), if the caller may see it.
"""
listWorkspaceVersions(
"""
TypeID of the workspace whose versions to list (prefix `wks`). Returns an empty page when unknown or not visible to the caller.
"""
workspaceId: WorkspaceID!
"""Page size. Omitted returns up to the default page size."""
first: Int
"""
Cursor from a previous page's `endCursor`; results resume after it. An unresolvable cursor is ignored and the first page is returned.
"""
after: String
): WorkspaceVersionConnection! @topic(names: ["surfaces"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.