76
76
WebhookID | プロジェクト内で一意
77
77
入力データセットID | 組織内で一意
78
78
79
- version : 0.68.0
79
+ version : 0.68.1
80
80
title : AnnoFab Web API
81
81
x-logo :
82
82
url : " https://annofab.com/images/logo_landscape.png"
92
92
- name : af-cache-v2
93
93
x-displayName : Cache
94
94
description : キャッシュに関係
95
+ - name : af-organization-v2
96
+ x-displayName : Organization
97
+ description : 組織に対する操作
95
98
- name : af-project-member-v2
96
99
x-displayName : Project Member
97
100
description : プロジェクトメンバーに対する操作
@@ -106,6 +109,7 @@ x-tagGroups:
106
109
tags :
107
110
- af-annotation-specs-v2
108
111
- af-cache-v2
112
+ - af-organization-v2
109
113
- af-project-member-v2
110
114
- af-project-v2
111
115
- af-statistics-v2
@@ -579,6 +583,43 @@ paths:
579
583
$ref : " #/components/responses/ErrorMissingResource"
580
584
503 :
581
585
$ref : " #/components/responses/ErrorUnderMaintenance"
586
+ /organizations/{organization_id}/projects/{project_id}/task-counts :
587
+ get :
588
+ tags :
589
+ - af-organization-v2
590
+ summary : プロジェクトのタスク件数取得
591
+ description : |
592
+ security :
593
+ - SignedCookieKeyPairId : []
594
+ SignedCookiePolicy : []
595
+ SignedCookieSignature : []
596
+ operationId : getProjectTaskCountV2
597
+ parameters :
598
+ - name : organization_id
599
+ in : path
600
+ description : 組織ID
601
+ required : true
602
+ schema :
603
+ $ref : " #/components/schemas/OrganizationId"
604
+ - name : project_id
605
+ in : path
606
+ description : プロジェクトID
607
+ required : true
608
+ schema :
609
+ $ref : " #/components/schemas/ProjectId"
610
+ responses :
611
+ 200 :
612
+ description : 正常
613
+ content :
614
+ application/json :
615
+ schema :
616
+ $ref : " #/components/schemas/ProjectTaskCounts"
617
+ 401 :
618
+ $ref : " #/components/responses/ErrorUnauthorizedApi"
619
+ 404 :
620
+ $ref : " #/components/responses/ErrorMissingResource"
621
+ 503 :
622
+ $ref : " #/components/responses/ErrorUnderMaintenance"
582
623
components :
583
624
securitySchemes :
584
625
SignedCookieKeyPairId :
@@ -4135,3 +4176,18 @@ components:
4135
4176
type : string
4136
4177
description : UnknownLabel
4137
4178
example : " UnknownLabel"
4179
+ ProjectTaskCounts :
4180
+ type : object
4181
+ properties :
4182
+ task_counts :
4183
+ type : array
4184
+ items :
4185
+ type : object
4186
+ properties :
4187
+ phase :
4188
+ $ref : " #/components/schemas/TaskPhase"
4189
+ status :
4190
+ $ref : " #/components/schemas/TaskStatus"
4191
+ count :
4192
+ description : 該当するタスクの数
4193
+ type : number
0 commit comments