Bug 30982: Add 'context' to the REST API specs
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Jul 2022 06:44:10 +0000 (08:44 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 11:57:48 +0000 (08:57 -0300)
context has been added by bug 30889

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
api/v1/swagger/definitions/background_job.yaml
api/v1/swagger/paths/background_jobs.yaml

index 41146c2..09cbbe6 100644 (file)
@@ -40,6 +40,11 @@ properties:
     type:
       - string
       - "null"
+  context:
+    description: background_job context
+    type:
+      - string
+      - "null"
   enqueued_on:
     description: background_job enqueue date
     type:
index c386dfc..ecc80a2 100644 (file)
@@ -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
         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