Bugzilla – Attachment 140493 Details for
Bug 30982
Use the REST API for background job list view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30982: Add 'context' to the REST API specs
Bug-30982-Add-context-to-the-REST-API-specs.patch (text/plain), 1.79 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-09-12 18:08:56 UTC
(
hide
)
Description:
Bug 30982: Add 'context' to the REST API specs
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-09-12 18:08:56 UTC
Size:
1.79 KB
patch
obsolete
>From 82d534b581f59d9474a9c70abb1e3ac77575efca Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 26 Jul 2022 08:44:10 +0200 >Subject: [PATCH] Bug 30982: Add 'context' to the REST API specs > >context has been added by bug 30889 >--- > api/v1/swagger/definitions/background_job.yaml | 5 +++++ > api/v1/swagger/paths/background_jobs.yaml | 7 ++++++- > 2 files changed, 11 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/definitions/background_job.yaml b/api/v1/swagger/definitions/background_job.yaml >index 41146c26d7..09cbbe652c 100644 >--- a/api/v1/swagger/definitions/background_job.yaml >+++ b/api/v1/swagger/definitions/background_job.yaml >@@ -40,6 +40,11 @@ properties: > type: > - string > - "null" >+ context: >+ description: background_job context >+ type: >+ - string >+ - "null" > enqueued_on: > description: background_job enqueue date > type: >diff --git a/api/v1/swagger/paths/background_jobs.yaml b/api/v1/swagger/paths/background_jobs.yaml >index c386dfc5c5..ecc80a21f2 100644 >--- a/api/v1/swagger/paths/background_jobs.yaml >+++ b/api/v1/swagger/paths/background_jobs.yaml >@@ -29,7 +29,7 @@ > description: Case insensative search on job enqueuer id > required: false > type: string >- - name: tye >+ - name: type > in: query > description: Case insensative search on job type > required: false >@@ -39,6 +39,11 @@ > description: Case insensative search on job queue > required: false > type: string >+ - name: context >+ in: query >+ description: Case insensative search on context >+ required: false >+ type: string > - name: enqueued_on > in: query > description: Case insensative search on job enqueue date >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30982
:
136245
|
136246
|
136670
|
136671
|
136672
|
136707
|
136708
|
136715
|
138114
|
139636
|
139637
|
139638
|
139639
|
139640
|
139641
|
140488
|
140489
|
140490
|
140491
|
140492
|
140493
|
140494
|
140495
|
140496
|
140497
|
140498
|
140589
|
140590
|
140591
|
140592
|
140593
|
140594
|
140595
|
140596
|
140597
|
140598
|
140599
|
140789
|
140884
|
140885
|
140886
|
140887
|
140888
|
140889
|
140890
|
140891
|
140892
|
140893
|
140894
|
140895
|
140896
|
140897
|
142859