Perforce 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
- Base URLhttps://api.diversion.dev/v0
- AuthOAuth 2Implicithttps://auth.diversion.dev/oauth2/authorizeScopescoreapi/write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}Changes
No recorded changes to this operation across all 1 revision of this API.