Function getTaskGraphsChildren_FIX_THIS_QUIRKY_NAME

  • Retrieves a paginated list of tasks that are direct children of the specified task in the dependency graph. A child task is one that is triggered when the parent task completes successfully.

    Parameters

    • id: string

      The unique identifier of the parent task.

    • query: {
          filter?: string;
          limit?: number;
          page?: string;
          sort?:
              | "+ownerId"
              | "-ownerId"
              | "-name"
              | "+name"
              | "+createdAt"
              | "-createdAt"
              | "+updatedAt"
              | "-updatedAt"
              | "-enabled"
              | "+enabled"
              | "+spaceId"
              | "-spaceId"
              | "+resourceId"
              | "-resourceId"
              | "+updatedBy"
              | "-updatedBy"
              | "+lastStatus"
              | "-lastStatus"
              | "+lastTriggeredBy"
              | "-lastTriggeredBy"
              | "+lastStartedAt"
              | "-lastStartedAt"
              | "+lastEndedAt"
              | "-lastEndedAt"
              | "+lastExecutedAs"
              | "-lastExecutedAs"
              | "+triggerType"
              | "-triggerType";
      }

      an object with query parameters

      • Optionalfilter?: string

        Advanced filter expression using RFC 7644 SCIM syntax. Refer to RFC 7644 for syntax details. All comparisons are case-insensitive. Supported fields: name, enabled, resourceId, ownerId, spaceId, createdAt, updatedAt, updatedBy, lastStatus, lastTriggeredBy, lastStartedAt, lastEndedAt, lastExecutedAs, and triggerType.

      • Optionallimit?: number
      • Optionalpage?: string
      • Optionalsort?:
            | "+ownerId"
            | "-ownerId"
            | "-name"
            | "+name"
            | "+createdAt"
            | "-createdAt"
            | "+updatedAt"
            | "-updatedAt"
            | "-enabled"
            | "+enabled"
            | "+spaceId"
            | "-spaceId"
            | "+resourceId"
            | "-resourceId"
            | "+updatedBy"
            | "-updatedBy"
            | "+lastStatus"
            | "-lastStatus"
            | "+lastTriggeredBy"
            | "-lastTriggeredBy"
            | "+lastStartedAt"
            | "-lastStartedAt"
            | "+lastEndedAt"
            | "-lastEndedAt"
            | "+lastExecutedAs"
            | "-lastExecutedAs"
            | "+triggerType"
            | "-triggerType"

        Field and direction to sort results by. Prefix the field name with + for ascending or - for descending order. Defaults to -updatedAt.

    • Optionaloptions: ApiCallOptions

    Returns Promise<GetTaskGraphsChildren_FIX_THIS_QUIRKY_NAMEHttpResponse>

    GetTaskGraphsChildren_FIX_THIS_QUIRKY_NAMEHttpError