update api def with new repo field

This commit is contained in:
2023-12-15 20:06:25 +01:00
parent 1fd6b12b50
commit 35fdd609a4

View File

@@ -45,7 +45,13 @@ paths:
- unknown - unknown
- name: pkgbase - name: pkgbase
in: query in: query
description: Pkgbase value to filter for description: Pkgbase value to filter
required: false
schema:
type: string
- name: repo
in: query
description: Repo to filter
required: false required: false
schema: schema:
type: string type: string
@@ -110,11 +116,15 @@ components:
pkgbase: pkgbase:
type: string type: string
examples: ["linux-zen"] examples: ["linux-zen"]
repo:
type: string
examples: ["extra-x86-64-v4"]
split_packages: split_packages:
type: array type: array
items: items:
type: string type: string
examples: ["linux-zen", "linux-zen-headers", "linux-zen-docs"] examples:
- ["linux-zen", "linux-zen-headers", "linux-zen-docs"]
status: status:
type: string type: string
examples: [latest] examples: [latest]
@@ -159,6 +169,7 @@ components:
examples: ["Fri, 15 Dec 2023 03:43:11 UTC"] examples: ["Fri, 15 Dec 2023 03:43:11 UTC"]
peak_mem: peak_mem:
description: Peak memory the package used while building. Is formatted in a human readable format. description: Peak memory the package used while building. Is formatted in a human readable format.
examples: ["5 GB"]
Stats: Stats:
type: object type: object