Class ProcessorVersionClient
- java.lang.Object
-
- ai.extend.resources.processorversion.ProcessorVersionClient
-
public class ProcessorVersionClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description ProcessorVersionClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessorVersionCreateResponsecreate(java.lang.String id, ProcessorVersionCreateRequest request)This endpoint allows you to publish a new version of an existing processor.ProcessorVersionCreateResponsecreate(java.lang.String id, ProcessorVersionCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing processor.ProcessorVersionGetResponseget(java.lang.String processorId, java.lang.String processorVersionId)Retrieve a specific version of a processor in ExtendProcessorVersionGetResponseget(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)Retrieve a specific version of a processor in ExtendProcessorVersionListResponselist(java.lang.String id)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.ProcessorVersionListResponselist(java.lang.String id, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.RawProcessorVersionClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
ProcessorVersionClient
public ProcessorVersionClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawProcessorVersionClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public ProcessorVersionListResponse list(java.lang.String id)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public ProcessorVersionListResponse list(java.lang.String id, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.Versions are typically returned in descending order of creation (newest first), but this should be confirmed in the actual implementation. The
draftversion is the latest unpublished version of the processor, which can be published to create a new version. It might not have any changes from the last published version.
-
create
public ProcessorVersionCreateResponse create(java.lang.String id, ProcessorVersionCreateRequest request)
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.
-
create
public ProcessorVersionCreateResponse create(java.lang.String id, ProcessorVersionCreateRequest request, RequestOptions requestOptions)
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.
-
get
public ProcessorVersionGetResponse get(java.lang.String processorId, java.lang.String processorVersionId)
Retrieve a specific version of a processor in Extend
-
get
public ProcessorVersionGetResponse get(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)
Retrieve a specific version of a processor in Extend
-
-