Get Task Definition
The API to get all the task definitions.
Input Payload
Attribute | Description |
---|---|
taskType | The name of the task for which the task definition is to be retrieved. |
API Endpoint
GET /api/metadata/taskdefs/{taskType}
Client SDK Methods
- Java
- Go
- Python
- C#
- JavaScript
- Typescript
- Clojure
void OrkesMetadataClient.getTaskDef() throws ApiException
func (a *MetadataResourceApiService) GetTaskDef(ctx context.Context, tasktype string) (model.TaskDef, *http.Response, error)
MetadataResourceApi.get_task_def(tasktype, **kwargs)
TaskDef MetadataResourceApi.GetTaskDef(string tasktype, bool? metadata = null)
MetadataResourceService.getTaskDefs(
access: string = 'READ',
metadata: boolean = false,
tagKey?: string,
tagValue?: string,
): CancelablePromise<Array<TaskDef>>
MetadataResourceService.getTaskDefs(
access: string = 'READ',
metadata: boolean = false,
tagKey?: string,
tagValue?: string,
): CancelablePromise<Array<TaskDef>>
(metadata/get-task-def options task-def)