From: Marcin Haba Date: Wed, 9 Nov 2022 08:27:32 +0000 (+0100) Subject: baculum: Add documentation to new job sort parameters X-Git-Tag: Release-13.0.2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d7223a0c3ca9d43d142be49ccab15e0b81f44da;p=thirdparty%2Fbacula.git baculum: Add documentation to new job sort parameters --- diff --git a/gui/baculum/protected/API/openapi_baculum.json b/gui/baculum/protected/API/openapi_baculum.json index 0d3b93cac..6b467c8a3 100644 --- a/gui/baculum/protected/API/openapi_baculum.json +++ b/gui/baculum/protected/API/openapi_baculum.json @@ -949,6 +949,25 @@ "schema": { "type": "integer" } + }, + { + "name": "order_by", + "in": "query", + "required": false, + "description": "Sort by selected job property (default jobid). There can be any job property (jobid, job, clientid ...etc.) except client, fileset and pool.", + "schema": { + "type": "string" + } + }, + { + "name": "order_direction", + "in": "query", + "required": false, + "description": "Order direction. It can be 'asc' (ascending order) or 'desc' (descending order - default)", + "schema": { + "type": "string", + "enum": ["asc", "desc"] + } } ] }