Job
A unit of work managed by the audio service.
interface Job {
id: ID!
createdAt: DateTime!
updatedAt: DateTime!
lockedAt: DateTime
completedAt: DateTime
completed: Boolean!
namespaceId: ID!
namespace: Namespace!
locked: Boolean!
success: Boolean
log: LogID
logViewerURL: URL
errors: [JobError!]!
webhook: URL
}
Fields
Job.id
● ID!
non-null scalar
The ID of the job, as an URI.
Job.createdAt
● DateTime!
non-null scalar
The date and time at which the job was first created.
Job.updatedAt
● DateTime!
non-null scalar
The date and time at which the job was last updated.
Job.lockedAt
● DateTime
scalar
Date and time at which the job was last locked.
Job.completedAt
● DateTime
scalar
Date and time at which the job was completed.
Job.completed
● Boolean!
non-null scalar
Whether the job as been completed or not.
Job.namespaceId
● ID!
non-null scalar
The ID of the namespace that owns the job.
Job.namespace
● Namespace!
non-null object
The namespace that owns the job.
Job.locked
● Boolean!
non-null scalar
Whether the job is locked or not
Job.success
● Boolean
scalar
Whether the job as been succesfully completed or not.
Job.log
● LogID
scalar
Id to group log events related to this job under.
Job.logViewerURL
● URL
scalar
Get an URL to view the log.
Job.errors
● [JobError!]!
non-null interface
List of errors occured during the execution of the job.
Job.webhook
● URL
scalar
The URL to post a notification to when the job has finished, using {id: <id of the job>, success: <status>} as body.
Returned by
job
query
Member of
JobEdge
object
Implemented by
EncodeAudioJob
object ● ExtractFilesJob
object