Get Workflow Definition
The API to retrieve a partticular workflow definition.
Input Payload
Attribute | Description |
---|---|
name | The name of the workflow you want to retrieve definition of. |
version | Provide the workflow version. |
metadata | Provide the metadata details. |
API Endpoint
GET /api/metadata/workflow/{name}?version=<version>&metadata=false
Client SDK Methods
- Java
- Go
- Python
- C#
- JavaScript
- Typescript
- Clojure
WorkflowDef OrkesMetadataClient.getWorkflowDef(String name, Integer version)
WorkflowDef OrkesMetadataClient.getWorkflowDefWithMetadata(String name, Integer version)
func (a *MetadataResourceApiService) Get(ctx context.Context, name string, localVarOptionals *MetadataResourceApiGetOpts) (model.WorkflowDef, *http.Response, error)
MetadataResourceApi.get(name, **kwargs)
WorkflowDef MetadataResourceApi.Get(string name, int? version = null, bool? metadata = null)
MatadataResourceService.get(
name: string,
version?: number,
metadata: boolean = false,
): CancelablePromise<WorkflowDef>
MatadataResourceService.get(
name: string,
version?: number,
metadata: boolean = false,
): CancelablePromise<WorkflowDef>
(metadata/get-workflow-def options name version)