Raw job data received from the server. For more information, see Open Cloud Jobs API.
HTTP client instance used to send requests to the REST API server.
Endpoint-specific HTTP headers for the GET
, POST
, PUT
and DELETE
requests. You can add
custom headers at any time.
Endpoint API path relative to the REST API server URL.
The ID of the assembly the job is working on (internal).
Job creator ID. Use Client.getUser() to obtain detailed creator information.
Job creation time (UTC) in the format specified in ISO 8601.
Raw job data received from the server. For more information, see Open Cloud Jobs API.
true
if job is done
or failed
. See status for more details.
The ID of the file the job is working on.
Unique job ID.
Job last update (UTC) time in the format specified in ISO 8601.
Job type. Can be properties
, geomerty
, geomertyGltf
, validation
, clash
, dwg
, obj
,
gltf
, glb
, vsf
, pdf
, 3dpdf
or custom job name.
Parameters with which the job runner was started. For more information, see Open Cloud Jobs API.
Job starting time (UTC) in the format specified in ISO 8601.
Job status. Can be waiting
, inprogress
, done
or failed
.
Job status description message.
Deletes a job from the server job list. Jobs that are in progress or have already been completed cannot be deleted.
Returns the raw data of a deleted job. For more information, see Open Cloud Jobs API.
Updates job data on the server.
Only administrators can update job data. If the current logged in user is not an administrator, an exception will be thrown.
Raw job data. For more information, see Open Cloud Jobs API.
Waits for job to be done. Job is done when it changes to done
or failed
status.
Optional
params: {An object containing waiting parameters.
Optional
interval?: numberThe time, in milliseconds, the function should delay in between checking job status.
Optional
onCheckout?: (job: Job, ready: boolean) => booleanWaiting progress callback. Return true
to cancel waiting.
Optional
signal?: AbortSignalAn AbortController signal, which can be used to abort waiting as desired.
Optional
timeout?: numberThe time, in milliseconds that the function should wait job. If jobs is not
done during this time, the TimeoutError
exception will be thrown.
Provides properties and methods for obtaining information about a job on the Open Cloud Server.