aboutsummaryrefslogtreecommitdiff
path: root/docs/api/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/schemas')
-rw-r--r--docs/api/schemas/latest/patchwork.yaml7
-rw-r--r--docs/api/schemas/patchwork.j29
-rw-r--r--docs/api/schemas/v1.2/patchwork.yaml7
3 files changed, 23 insertions, 0 deletions
diff --git a/docs/api/schemas/latest/patchwork.yaml b/docs/api/schemas/latest/patchwork.yaml
index 4696900..6c7564b 100644
--- a/docs/api/schemas/latest/patchwork.yaml
+++ b/docs/api/schemas/latest/patchwork.yaml
@@ -463,6 +463,13 @@ paths:
enum:
- 'true'
- 'false'
+ - in: query
+ name: hash
+ description: >
+ The patch hash as a case-insensitive hexadecimal string, to filter by.
+ schema:
+ title: ''
+ type: string
responses:
'200':
description: ''
diff --git a/docs/api/schemas/patchwork.j2 b/docs/api/schemas/patchwork.j2
index 4fc100e..12a6f67 100644
--- a/docs/api/schemas/patchwork.j2
+++ b/docs/api/schemas/patchwork.j2
@@ -468,6 +468,15 @@ paths:
enum:
- 'true'
- 'false'
+{% if version >= (1, 2) %}
+ - in: query
+ name: hash
+ description: >
+ The patch hash as a case-insensitive hexadecimal string, to filter by.
+ schema:
+ title: ''
+ type: string
+{% endif %}
responses:
'200':
description: ''
diff --git a/docs/api/schemas/v1.2/patchwork.yaml b/docs/api/schemas/v1.2/patchwork.yaml
index 2ced470..7dc9579 100644
--- a/docs/api/schemas/v1.2/patchwork.yaml
+++ b/docs/api/schemas/v1.2/patchwork.yaml
@@ -463,6 +463,13 @@ paths:
enum:
- 'true'
- 'false'
+ - in: query
+ name: hash
+ description: >
+ The patch hash as a case-insensitive hexadecimal string, to filter by.
+ schema:
+ title: ''
+ type: string
responses:
'200':
description: ''