@@ -28,6 +28,11 @@ paths:
2828 description : Number of results to return per page.
2929 schema :
3030 type : integer
31+ - in : query
32+ name : parent
33+ schema :
34+ type : string
35+ description : Only return the tasks that are part of this task.
3136 - in : path
3237 name : project_slug
3338 schema :
@@ -388,7 +393,10 @@ paths:
388393 description : ' '
389394 post :
390395 operationId : action_create
391- description : Create an action for a task
396+ description : ' **Deprecated.** Per-job actions are being retired. Configure alerts
397+ once at the project level with a global action instead of attaching them to
398+ individual tasks. This endpoint still works but will be removed in a future
399+ release.'
392400 summary : Create Action
393401 parameters :
394402 - in : path
@@ -420,6 +428,7 @@ paths:
420428 security :
421429 - projectKeyAuth : []
422430 - bearerAuth : []
431+ deprecated : true
423432 responses :
424433 ' 201 ' :
425434 content :
@@ -471,7 +480,10 @@ paths:
471480 description : ' '
472481 put :
473482 operationId : action_update
474- description : Update an action
483+ description : ' **Deprecated.** Per-job actions are being retired. Configure alerts
484+ once at the project level with a global action instead of attaching them to
485+ individual tasks. This endpoint still works but will be removed in a future
486+ release.'
475487 summary : Update Action
476488 parameters :
477489 - in : path
@@ -509,6 +521,7 @@ paths:
509521 security :
510522 - projectKeyAuth : []
511523 - bearerAuth : []
524+ deprecated : true
512525 responses :
513526 ' 200 ' :
514527 content :
@@ -518,7 +531,10 @@ paths:
518531 description : ' '
519532 patch :
520533 operationId : action_partial_update
521- description : Update an action
534+ description : ' **Deprecated.** Per-job actions are being retired. Configure alerts
535+ once at the project level with a global action instead of attaching them to
536+ individual tasks. This endpoint still works but will be removed in a future
537+ release.'
522538 summary : Update Action (partial)
523539 parameters :
524540 - in : path
@@ -555,6 +571,7 @@ paths:
555571 security :
556572 - projectKeyAuth : []
557573 - bearerAuth : []
574+ deprecated : true
558575 responses :
559576 ' 200 ' :
560577 content :
@@ -564,7 +581,10 @@ paths:
564581 description : ' '
565582 delete :
566583 operationId : action_cancel
567- description : Cancel an action
584+ description : ' **Deprecated.** Per-job actions are being retired. Configure alerts
585+ once at the project level with a global action instead of attaching them to
586+ individual tasks. This endpoint still works but will be removed in a future
587+ release.'
568588 summary : Cancel Action
569589 parameters :
570590 - in : path
@@ -596,6 +616,7 @@ paths:
596616 security :
597617 - projectKeyAuth : []
598618 - bearerAuth : []
619+ deprecated : true
599620 responses :
600621 ' 204 ' :
601622 description : No response body
@@ -685,6 +706,12 @@ components:
685706 PatchedTaskRequest :
686707 type : object
687708 properties :
709+ parent :
710+ type : string
711+ minLength : 1
712+ nullable : true
713+ description : ID of the task this task is part of. Tasks can only be nested
714+ one level deep, and a task's parent can not be changed once set.
688715 name :
689716 type : string
690717 minLength : 1
@@ -791,6 +818,11 @@ components:
791818 project :
792819 type : string
793820 readOnly : true
821+ parent :
822+ type : string
823+ nullable : true
824+ description : ID of the task this task is part of. Tasks can only be nested
825+ one level deep, and a task's parent can not be changed once set.
794826 name :
795827 type : string
796828 description : Name of the task
@@ -894,6 +926,12 @@ components:
894926 TaskRequest :
895927 type : object
896928 properties :
929+ parent :
930+ type : string
931+ minLength : 1
932+ nullable : true
933+ description : ID of the task this task is part of. Tasks can only be nested
934+ one level deep, and a task's parent can not be changed once set.
897935 name :
898936 type : string
899937 minLength : 1
0 commit comments