Class SplitterVersionsClient
- java.lang.Object
-
- ai.extend.resources.splitterversions.SplitterVersionsClient
-
public class SplitterVersionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description SplitterVersionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SplitterVersioncreate(java.lang.String splitterId, SplitterVersionsCreateRequest request)This endpoint allows you to publish a new version of an existing splitter.SplitterVersioncreate(java.lang.String splitterId, SplitterVersionsCreateRequest request, RequestOptions requestOptions)This endpoint allows you to publish a new version of an existing splitter.SplitterVersionsListResponselist(java.lang.String splitterId)This endpoint allows you to fetch all versions of a given splitter, including the currentdraftversion.SplitterVersionsListResponselist(java.lang.String splitterId, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given splitter, including the currentdraftversion.SplitterVersionsListResponselist(java.lang.String splitterId, SplitterVersionsListRequest request)This endpoint allows you to fetch all versions of a given splitter, including the currentdraftversion.SplitterVersionsListResponselist(java.lang.String splitterId, SplitterVersionsListRequest request, RequestOptions requestOptions)This endpoint allows you to fetch all versions of a given splitter, including the currentdraftversion.SplitterVersionretrieve(java.lang.String splitterId, java.lang.String versionId)Retrieve a specific version of a splitter in ExtendSplitterVersionretrieve(java.lang.String splitterId, java.lang.String versionId, RequestOptions requestOptions)Retrieve a specific version of a splitter in ExtendRawSplitterVersionsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
SplitterVersionsClient
public SplitterVersionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawSplitterVersionsClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public SplitterVersionsListResponse list(java.lang.String splitterId)
This endpoint allows you to fetch all versions of a given splitter, 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 splitter, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public SplitterVersionsListResponse list(java.lang.String splitterId, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given splitter, 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 splitter, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public SplitterVersionsListResponse list(java.lang.String splitterId, SplitterVersionsListRequest request)
This endpoint allows you to fetch all versions of a given splitter, 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 splitter, which can be published to create a new version. It might not have any changes from the last published version.
-
list
public SplitterVersionsListResponse list(java.lang.String splitterId, SplitterVersionsListRequest request, RequestOptions requestOptions)
This endpoint allows you to fetch all versions of a given splitter, 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 splitter, which can be published to create a new version. It might not have any changes from the last published version.
-
create
public SplitterVersion create(java.lang.String splitterId, SplitterVersionsCreateRequest request)
This endpoint allows you to publish a new version of an existing splitter. Publishing a new version creates a snapshot of the splitter's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this splitter. You may need to manually update workflows to use the new version if desired.
-
create
public SplitterVersion create(java.lang.String splitterId, SplitterVersionsCreateRequest request, RequestOptions requestOptions)
This endpoint allows you to publish a new version of an existing splitter. Publishing a new version creates a snapshot of the splitter's current configuration and makes it available for use in workflows.Publishing a new version does not automatically update existing workflows using this splitter. You may need to manually update workflows to use the new version if desired.
-
retrieve
public SplitterVersion retrieve(java.lang.String splitterId, java.lang.String versionId)
Retrieve a specific version of a splitter in Extend
-
retrieve
public SplitterVersion retrieve(java.lang.String splitterId, java.lang.String versionId, RequestOptions requestOptions)
Retrieve a specific version of a splitter in Extend
-
-