Publish Processor Version
Publish a new version of an existing processor in Extend.
This endpoint allows you to publish a new version of an existing processor. Publishing a new version creates a snapshot of the processor’s current configuration and makes it available for use in workflows. Publishing a new version does not automatically update existing workflows using this processor. You may need to manually update workflows to use the new version if desired.
Path Parameters
The ID of the processor to publish a new version for.
Body
The type of release for this version. The two options are: “major” and “minor”, which will increment the version number accordingly.
A description of the changes in this version. This helps track the evolution of the processor over time.
Optionally supply a config to be used in this published version. If not supplied, the config for your existing draft version will be used.
Your config will take one of three shapes depending on the processor type:
Configuration for an extraction processor.
Configuration for a classification processor.
Configuration for a splitter processor.
Response
A true or false value indicating whether the processor version was published successfully or not.
A ProcessorVersion object representing the newly published version of the processor. See the ProcessorVersion object for more details.
Error Responses
Will be false
if the request failed.
A description of the error that occurred.
Common Errors
- 400 Bad Request: If the request body fails schema validation or if there’s an issue with the provided configuration, particularly when it comes to the
config
which depends on the processor type.