5
5
openapi : ' 3.1.0'
6
6
info :
7
7
title : Patchwork API
8
- description : >
8
+ description : |
9
9
Patchwork is a web-based patch tracking system designed to facilitate the
10
10
contribution and management of contributions to an open-source project.
11
11
contact :
@@ -212,7 +212,7 @@ paths:
212
212
- $ref : ' #/components/parameters/SinceFilter'
213
213
- in : query
214
214
name : project
215
- description : >
215
+ description : |
216
216
An ID or linkname of a project to filter cover letters by.
217
217
schema :
218
218
title : ' '
@@ -225,14 +225,14 @@ paths:
225
225
type : string
226
226
- in : query
227
227
name : submitter
228
- description : >
228
+ description : |
229
229
An ID or email address of a person to filter cover letters by.
230
230
schema :
231
231
title : ' '
232
232
type : string
233
233
- in : query
234
234
name : msgid
235
- description : >
235
+ description : |
236
236
The cover message-id as a case-sensitive string, without leading or
237
237
trailing angle brackets, to filter by.
238
238
schema :
@@ -283,7 +283,7 @@ paths:
283
283
parameters :
284
284
- in : path
285
285
name : id
286
- description : >
286
+ description : |
287
287
A unique integer value identifying the parent cover letter.
288
288
required : true
289
289
schema :
@@ -504,7 +504,7 @@ paths:
504
504
type : integer
505
505
- in : query
506
506
name : submitter
507
- description : >
507
+ description : |
508
508
An ID or email address of a person to filter patches by.
509
509
schema :
510
510
title : ' '
@@ -523,7 +523,7 @@ paths:
523
523
type : string
524
524
- in : query
525
525
name : archived
526
- description : >
526
+ description : |
527
527
Show only archived (`true`) or non-archived (`false`) patches.
528
528
schema :
529
529
title : ' '
@@ -533,14 +533,14 @@ paths:
533
533
- ' false'
534
534
- in : query
535
535
name : hash
536
- description : >
536
+ description : |
537
537
The patch hash as a case-insensitive hexadecimal string, to filter by.
538
538
schema :
539
539
title : ' '
540
540
type : string
541
541
- in : query
542
542
name : msgid
543
- description : >
543
+ description : |
544
544
The patch message-id as a case-sensitive string, without leading or
545
545
trailing angle brackets, to filter by.
546
546
schema :
@@ -1514,6 +1514,9 @@ components:
1514
1514
type : boolean
1515
1515
mbox :
1516
1516
title : Mbox
1517
+ description : |
1518
+ A URL to download the bundle in mbox format. Patches will be
1519
+ ordered in the same order that they are defined in the bundle.
1517
1520
type : string
1518
1521
format : uri
1519
1522
readOnly : true
@@ -1566,7 +1569,7 @@ components:
1566
1569
- fail
1567
1570
target_url :
1568
1571
title : Target URL
1569
- description : >
1572
+ description : |
1570
1573
The target URL to associate with this check. This should be
1571
1574
specific to the patch.
1572
1575
type :
@@ -1579,7 +1582,7 @@ components:
1579
1582
maxLength : 200
1580
1583
context :
1581
1584
title : Context
1582
- description : >
1585
+ description : |
1583
1586
A label to discern check from checks of other testing systems.
1584
1587
type : string
1585
1588
pattern : ^[-a-zA-Z0-9_]+$
@@ -1766,6 +1769,8 @@ components:
1766
1769
- $ref : ' #/components/schemas/PersonEmbedded'
1767
1770
mbox :
1768
1771
title : Mbox
1772
+ description : |
1773
+ A URL to download the cover letter in mbox format.
1769
1774
type : string
1770
1775
format : uri
1771
1776
readOnly : true
@@ -2090,6 +2095,10 @@ components:
2090
2095
- $ref : ' #/components/schemas/UserEmbedded'
2091
2096
mbox :
2092
2097
title : Mbox
2098
+ description : |
2099
+ A URL to download the patch in mbox format. Add the `series=*`
2100
+ querystring parameter to include series dependencies in the mbox
2101
+ file.
2093
2102
type : string
2094
2103
format : uri
2095
2104
readOnly : true
@@ -2293,7 +2302,7 @@ components:
2293
2302
uniqueItems : true
2294
2303
subject_match :
2295
2304
title : Subject match
2296
- description : >
2305
+ description : |
2297
2306
Regex to match the subject against if only part of emails sent to
2298
2307
the list belongs to this project. Will be used with IGNORECASE and
2299
2308
MULTILINE flags. If rules for more projects match the first one
@@ -2314,7 +2323,7 @@ components:
2314
2323
maxLength : 2000
2315
2324
list_archive_url_format :
2316
2325
title : List archive URL format
2317
- description : >
2326
+ description : |
2318
2327
URL format for the list archive's Message-ID redirector. {} will be
2319
2328
replaced by the Message-ID.
2320
2329
type :
@@ -2349,7 +2358,7 @@ components:
2349
2358
$ref : ' #/components/schemas/ProjectEmbedded'
2350
2359
name :
2351
2360
title : Name
2352
- description : >
2361
+ description : |
2353
2362
An optional name to associate with the series, e.g. "John's PCI
2354
2363
series".
2355
2364
type :
@@ -2372,12 +2381,12 @@ components:
2372
2381
- $ref : ' #/components/schemas/PersonEmbedded'
2373
2382
version :
2374
2383
title : Version
2375
- description : >
2384
+ description : |
2376
2385
Version of series as indicated by the subject prefix(es).
2377
2386
type : integer
2378
2387
total :
2379
2388
title : Total
2380
- description : >
2389
+ description : |
2381
2390
Number of patches in series as indicated by the subject prefix(es).
2382
2391
type : integer
2383
2392
readOnly : true
@@ -2391,6 +2400,8 @@ components:
2391
2400
readOnly : true
2392
2401
mbox :
2393
2402
title : Mbox
2403
+ description : |
2404
+ A URL to download the series in mbox format.
2394
2405
type : string
2395
2406
format : uri
2396
2407
readOnly : true
@@ -2446,13 +2457,13 @@ components:
2446
2457
properties :
2447
2458
send_email :
2448
2459
title : Send email
2449
- description : >
2460
+ description : |
2450
2461
Whether Patchwork should send email on your behalf.
2451
2462
Only present and configurable for your account.
2452
2463
type : boolean
2453
2464
items_per_page :
2454
2465
title : Items per page
2455
- description : >
2466
+ description : |
2456
2467
Number of items to display per page (web UI).
2457
2468
Only present and configurable for your account.
2458
2469
type : integer
@@ -2491,7 +2502,7 @@ components:
2491
2502
- fail
2492
2503
target_url :
2493
2504
title : Target url
2494
- description : >
2505
+ description : |
2495
2506
The target URL to associate with this check. This should be specific
2496
2507
to the patch.
2497
2508
readOnly : true
@@ -2505,7 +2516,7 @@ components:
2505
2516
maxLength : 200
2506
2517
context :
2507
2518
title : Context
2508
- description : >
2519
+ description : |
2509
2520
A label to discern check from checks of other testing systems.
2510
2521
type : string
2511
2522
pattern : ^[-a-zA-Z0-9_]+$
@@ -2590,6 +2601,8 @@ components:
2590
2601
minLength : 1
2591
2602
mbox :
2592
2603
title : Mbox
2604
+ description : |
2605
+ A URL to download the cover letter in mbox format.
2593
2606
type : string
2594
2607
format : uri
2595
2608
readOnly : true
@@ -2633,6 +2646,10 @@ components:
2633
2646
minLength : 1
2634
2647
mbox :
2635
2648
title : Mbox
2649
+ description : |
2650
+ A URL to download the patch in mbox format. Add the `series=*`
2651
+ querystring parameter to include series dependencies in the mbox
2652
+ file.
2636
2653
type : string
2637
2654
format : uri
2638
2655
readOnly : true
@@ -2759,7 +2776,7 @@ components:
2759
2776
readOnly : true
2760
2777
name :
2761
2778
title : Name
2762
- description : >
2779
+ description : |
2763
2780
An optional name to associate with the series, e.g. "John's PCI
2764
2781
series".
2765
2782
readOnly : true
@@ -2777,12 +2794,14 @@ components:
2777
2794
readOnly : true
2778
2795
version :
2779
2796
title : Version
2780
- description : >
2797
+ description : |
2781
2798
Version of series as indicated by the subject prefix(es).
2782
2799
type : integer
2783
2800
readOnly : true
2784
2801
mbox :
2785
2802
title : Mbox
2803
+ description : |
2804
+ A URL to download the series in mbox format.
2786
2805
type : string
2787
2806
format : uri
2788
2807
readOnly : true
0 commit comments