Get Perforce import state
Retrieve the current state of the continuous Perforce import job for this repository, including the last imported changelist, error information, and running status.
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
3 - 128"example_id"
Query Parameters
Ref ID of the branch to import to
1 - 128"dv.branch.1"
Path in Perforce depot to import from
1 - 1024"//depot/main/..."
Response
Import state retrieved successfully
Current state of the Perforce continuous import job
Last Perforce changelist number that was imported
x >= 0Number of consecutive errors encountered
reference name of the branch being synced
"dv.branch.1"
Perforce depot path being imported (e.g., //depot/main/...)
Unix timestamp of the last successful import
ID of the currently running import job, if any
Last error message encountered during import
Unix timestamp of the last error
Unix timestamp when the current job started running

