0.0.5 • Published 7 months ago

@quadient/evolve-generate-api-client v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Evolve Generate Api Client

Overview

This package contains an API client for communicating with Generate in Inspire Evolve.

Add to project:

npm install @quadient/evolve-generate-api-client

Api Client Methods

  • createWorkingFolder - Creates a working folder for your batch job.
  • increaseHitCount - Increases the hit count for the specified processing pipeline. After a specific number of hits (set in GUI), the pipeline is triggered.
  • startBatchJob - Starts a batch job using a defined processing pipeline.

Examples

const generateClient = new GenerateApiClient(connector);

const createWorkingFolderResponse = await generateClient.createWorkingFolder(name, expiration);
const startBatchJobResponse = await generateClient.startBatchJob(pipelineName, createWorkingFolderResponse.workingFolderId);
const batchJobId = startBatchJobResponse.batchJobId;
0.0.5

7 months ago

0.0.1

2 years ago