v1
latestOpenAPI 3.0.32026-07-22115106141.4 KBPerforce Repository Import
Update P4 import state
Initialize or update the state of a continuous Perforce import job after manual initial import. Creates or updates a P4ImportJob record tracking the last imported changelist for incremental syncing.
post/repos/{repo_id}/p4-import-state
Request body
Example request
{
"branch_ref": "dv.branch.1",
"p4_import_path": "//depot/main/...",
"commit_ref": "dv.commit.12345"
}Response
Import state updated successfully
Example response
{
"branch_ref": "dv.branch.1"
}