docs/classes/management.SDK.VersionsClient.html
new VersionsClient(options: BaseClientOptions): VersionsClient
list(
id: string,
request?: GetActionModuleVersionsRequestParameters,
requestOptions?: VersionsClient.RequestOptions,
): Promise<
Page<ActionModuleVersion, GetActionModuleVersionsResponseContent>,
>
List all published versions of a specific Actions Module.
The unique ID of the module.
OptionalrequestOptions: VersionsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.actions.modules.versions.list("id", { page: 1, per_page: 1 })Copy
create(
id: string,
requestOptions?: VersionsClient.RequestOptions,
): HttpResponsePromise<CreateActionModuleVersionResponseContent>
Creates a new immutable version of an Actions Module from the current draft version. This publishes the draft as a new version that can be referenced by actions, while maintaining the existing draft for continued development.
The ID of the action module to create a version for.
OptionalrequestOptions: VersionsClient.RequestOptionsRequest-specific configuration.
Management.PreconditionFailedError
await client.actions.modules.versions.create("id")Copy
get(
id: string,
versionId: string,
requestOptions?: VersionsClient.RequestOptions,
): HttpResponsePromise<GetActionModuleVersionResponseContent>
Retrieve the details of a specific, immutable version of an Actions Module.
The unique ID of the module.
The unique ID of the module version to retrieve.
OptionalrequestOptions: VersionsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.actions.modules.versions.get("id", "versionId")Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods listcreateget Properties _options