v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
Perforce Repository Import

Mark P4 import as stopped

Mark the Perforce import job as no longer running by clearing the running_job_id and started_unix timestamp. This should be called when a continuous import job completes or stops. The job will only be marked as stopped if the current running_job_id matches the one in the database to prevent race conditions.

post/repos/{repo_id}/p4-import-state/mark-stopped

Request body

last_changelistinteger

Last Perforce changelist number that was imported

last_import_unixinteger nullable

Unix timestamp of the last successful import

running_job_idstring nullable

ID of the currently running import job, if any

error_countinteger

Number of consecutive errors encountered

last_errorstring nullable

Last error message encountered during import

last_error_unixinteger nullable

Unix timestamp of the last error

Response

Request completed successfully