diff --git a/reana_commons/openapi_specifications/reana_server.json b/reana_commons/openapi_specifications/reana_server.json index af777d45..79658d7c 100644 --- a/reana_commons/openapi_specifications/reana_server.json +++ b/reana_commons/openapi_specifications/reana_server.json @@ -1324,6 +1324,27 @@ "name": "workflow_id_or_name", "required": false, "type": "string" + }, + { + "description": "Optional flag to list all shared (owned and unowned) workflows.", + "in": "query", + "name": "shared", + "required": false, + "type": "boolean" + }, + { + "description": "Optional argument to list workflows shared by the specified user(s).", + "in": "query", + "name": "shared_by", + "required": false, + "type": "string" + }, + { + "description": "Optional argument to list workflows shared with the specified user(s).", + "in": "query", + "name": "shared_with", + "required": false, + "type": "string" } ], "produces": [ @@ -1398,6 +1419,9 @@ "name": { "type": "string" }, + "owner_email": { + "type": "string" + }, "progress": { "properties": { "current_command": { @@ -1488,6 +1512,9 @@ "session_uri": { "type": "string" }, + "shared_with": { + "type": "string" + }, "size": { "properties": { "human_readable": { diff --git a/reana_commons/openapi_specifications/reana_workflow_controller.json b/reana_commons/openapi_specifications/reana_workflow_controller.json index 4f205d09..db22f201 100644 --- a/reana_commons/openapi_specifications/reana_workflow_controller.json +++ b/reana_commons/openapi_specifications/reana_workflow_controller.json @@ -89,6 +89,27 @@ "name": "workflow_id_or_name", "required": false, "type": "string" + }, + { + "description": "Optional flag to list all shared (owned and unowned) workflows.", + "in": "query", + "name": "shared", + "required": false, + "type": "boolean" + }, + { + "description": "Optional argument to list workflows shared by the specified user(s).", + "in": "query", + "name": "shared_by", + "required": false, + "type": "string" + }, + { + "description": "Optional argument to list workflows shared with the specified user(s).", + "in": "query", + "name": "shared_with", + "required": false, + "type": "string" } ], "produces": [ @@ -167,9 +188,15 @@ "name": { "type": "string" }, + "owner_email": { + "type": "string" + }, "progress": { "type": "object" }, + "shared_with": { + "type": "string" + }, "size": { "properties": { "human_readable": {