#
# Copyright (C) 2019-2020 SailPoint Technologies, Inc.  All rights reserved.
#
get:
  tags:
    - Task Management
  summary: Retrieve a task definition summary list.
  description: Get a list of TaskDefinitionSummary.
  operationId: getTaskDefinitionSummaryList
  parameters:
    - $ref: '../../v3/parameters/offset.yaml'
    - $ref: '../../v3/parameters/limit.yaml'
    - $ref: '../../v3/parameters/count.yaml'
    - name: sorters
      in: query
      description: sort criteria
      required: false
      style: form
      explode: true
      schema:
        type: string
    - name: filters
      in: query
      description: filter criteria
      required: false
      style: form
      explode: true
      schema:
        type: string
  responses:
    "200":
      description: Response is a list of TaskDefinitionSumary results matching the criteria.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/TaskDefinitionSummary.yaml'
    "204":
      $ref: '../../v3/responses/204.yaml'
    "400":
      $ref: '../../v3/responses/400.yaml'
    "403":
      $ref: '../../v3/responses/403.yaml'
  security:
    - oauth2: [idn:task-definition:read]
