Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 1.65 KB

File metadata and controls

17 lines (10 loc) · 1.65 KB

Jobs

In Truvera, API calls which depend on external systems may spawn jobs whose status can be queried until they complete. Examples include blockchain operations that we submit on your behalf and credential issuance via email. For instance, revoking a credential may require a blockchain transaction to finalize. This typically takes 5-10 seconds, depending on network load and other factors.

When an API call triggers a job, the response will contain a job ID that can be sent to this endpoint to track the job's status. Like other asynchronous operations, you can receive job information either by polling the API or registering a webhook.

Get job status and data

To check the job status and data, you can use the GET method and simply put the job ID. It will return information related to the job being processed and its associated blockchain transaction. On completion or failure, the job data will be updated with a response from the blockchain.

Parameters

NameInTypeRequiredDescription
idpathJobIdtrueRepresents a Job id.

{% openapi src="https://swagger-api.truvera.io/openapi.yaml" path="/jobs/{id}" method="get" %} https://swagger-api.truvera.io/openapi.yaml {% endopenapi %}