From 3fdaf61517990e750a7232896bb15ed8dd7360f8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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.37.2