Class RawProcessorVersionClient
- java.lang.Object
-
- ai.extend.resources.processorversion.RawProcessorVersionClient
-
public class RawProcessorVersionClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawProcessorVersionClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendClientHttpResponse<ProcessorVersionCreateResponse>create(java.lang.String id, ProcessorVersionCreateRequest request)This endpoint allows you to publish a new version of an existing processor.ExtendClientHttpResponse<ProcessorVersionCreateResponse>create(java.lang.String id, ProcessorVersionCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing processor.ExtendClientHttpResponse<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId)Retrieve a specific version of a processor in ExtendExtendClientHttpResponse<ProcessorVersionGetResponse>get(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)Retrieve a specific version of a processor in ExtendExtendClientHttpResponse<ProcessorVersionListResponse>list(java.lang.String id)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.ExtendClientHttpResponse<ProcessorVersionListResponse>list(java.lang.String id, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given processor, including the currentdraftversion.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawProcessorVersionClient
public RawProcessorVersionClient(ClientOptions clientOptions)
-
-
Method Detail
-
get
public ExtendClientHttpResponse<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId)
Retrieve a specific version of a processor in Extend
-
get
public ExtendClientHttpResponse<ProcessorVersionGetResponse> get(java.lang.String processorId, java.lang.String processorVersionId, RequestOptions requestOptions)
Retrieve a specific version of a processor in Extend
-
list
public ExtendClientHttpResponse<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 ExtendClientHttpResponse<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 ExtendClientHttpResponse<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 ExtendClientHttpResponse<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.
-
-