Class ExtractorVersionsClient
- java.lang.Object
-
- ai.extend.resources.extractorversions.ExtractorVersionsClient
-
public class ExtractorVersionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description ExtractorVersionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtractorVersioncreate(java.lang.String extractorId, ExtractorVersionsCreateRequest request)This endpoint allows you to publish a new version of an existing extractor.ExtractorVersioncreate(java.lang.String extractorId, ExtractorVersionsCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing extractor.ExtractorVersionsListResponselist(java.lang.String extractorId)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.ExtractorVersionsListResponselist(java.lang.String extractorId, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.ExtractorVersionsListResponselist(java.lang.String extractorId, ExtractorVersionsListRequest request)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.ExtractorVersionsListResponselist(java.lang.String extractorId, ExtractorVersionsListRequest request, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.ExtractorVersionretrieve(java.lang.String extractorId, java.lang.String versionId)Retrieve a specific version of an extractor in ExtendExtractorVersionretrieve(java.lang.String extractorId, java.lang.String versionId, RequestOptions requestOptions)Retrieve a specific version of an extractor in ExtendExtractorVersionretrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request)Retrieve a specific version of an extractor in ExtendExtractorVersionretrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request, RequestOptions requestOptions)Retrieve a specific version of an extractor in ExtendRawExtractorVersionsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
ExtractorVersionsClient
public ExtractorVersionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawExtractorVersionsClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public ExtractorVersionsListResponse list(java.lang.String extractorId)
This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the extractor, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public ExtractorVersionsListResponse list(java.lang.String extractorId, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the extractor, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public ExtractorVersionsListResponse list(java.lang.String extractorId, ExtractorVersionsListRequest request)
This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the extractor, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public ExtractorVersionsListResponse list(java.lang.String extractorId, ExtractorVersionsListRequest request, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given extractor, including the currentdraftversion.Versions are returned in descending order of creation (newest first) with the
draftversion first. Thedraftversion is the latest unpublished version of the extractor, which can be published to create a new version. It might not have any changes from the last published version.
-
create
public ExtractorVersion create(java.lang.String extractorId, ExtractorVersionsCreateRequest request)
This endpoint allows you to publish a new version of an existing extractor. Publishing a new version creates a snapshot of the extractor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this extractor. You may need to manually update workflows to use the new version if desired.
-
create
public ExtractorVersion create(java.lang.String extractorId, ExtractorVersionsCreateRequest request, RequestOptions requestOptions)
This endpoint allows you to publish a new version of an existing extractor. Publishing a new version creates a snapshot of the extractor's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this extractor. You may need to manually update workflows to use the new version if desired.
-
retrieve
public ExtractorVersion retrieve(java.lang.String extractorId, java.lang.String versionId)
Retrieve a specific version of an extractor in Extend
-
retrieve
public ExtractorVersion retrieve(java.lang.String extractorId, java.lang.String versionId, RequestOptions requestOptions)
Retrieve a specific version of an extractor in Extend
-
retrieve
public ExtractorVersion retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request)
Retrieve a specific version of an extractor in Extend
-
retrieve
public ExtractorVersion retrieve(java.lang.String extractorId, java.lang.String versionId, ExtractorVersionsRetrieveRequest request, RequestOptions requestOptions)
Retrieve a specific version of an extractor in Extend
-
-