Skip to content

Commit 7665cd3

Browse files
committed
Add getAccountBuildStatus
1 parent a2e8a51 commit 7665cd3

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

swagger.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,24 @@ paths:
804804
description: No content
805805
default:
806806
$ref: '#/responses/error'
807+
/{account_id}/builds/status:
808+
parameters:
809+
- name: account_id
810+
type: string
811+
in: path
812+
required: true
813+
get:
814+
operationId: getAccountBuildStatus
815+
tags: [build]
816+
responses:
817+
'200':
818+
description: OK
819+
schema:
820+
type: array
821+
items:
822+
$ref: '#/definitions/buildStatus'
823+
default:
824+
$ref: '#/responses/error'
807825
/sites/{site_id}/dns:
808826
parameters:
809827
- name: site_id
@@ -2351,6 +2369,39 @@ definitions:
23512369
type: object
23522370
branch:
23532371
type: string
2372+
buildStatus:
2373+
type: object
2374+
properties:
2375+
active:
2376+
type: integer
2377+
pending_concurrency:
2378+
type: integer
2379+
enqueued:
2380+
type: integer
2381+
build_count:
2382+
type: integer
2383+
minutes:
2384+
type: object
2385+
properties:
2386+
current:
2387+
type: integer
2388+
current_average_sec:
2389+
type: integer
2390+
previous:
2391+
type: integer
2392+
period_start_date:
2393+
type: string
2394+
format: dateTime
2395+
period_end_date:
2396+
type: string
2397+
format: dateTime
2398+
last_updated_at:
2399+
type: string
2400+
format: dateTime
2401+
included_minutes:
2402+
type: string
2403+
included_minutes_with_packs:
2404+
type: string
23542405
build:
23552406
type: object
23562407
properties:

0 commit comments

Comments
 (0)