This is an automated email from the ASF dual-hosted git repository.
skperez pushed a commit to branch SDAP-468
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-nexus.git
The following commit(s) were added to refs/heads/SDAP-468 by this push:
new 5440389 added filename param to cdmsresults endpoint
5440389 is described below
commit 544038912f49896ccd1debc5b6b3ca3705748291
Author: skorper <[email protected]>
AuthorDate: Fri May 26 14:53:32 2023 -0700
added filename param to cdmsresults endpoint
---
analysis/webservice/apidocs/openapi.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/analysis/webservice/apidocs/openapi.yml
b/analysis/webservice/apidocs/openapi.yml
index b8250ee..e691f86 100644
--- a/analysis/webservice/apidocs/openapi.yml
+++ b/analysis/webservice/apidocs/openapi.yml
@@ -535,6 +535,16 @@ paths:
type: string
enum: ['CSV', 'NETCDF', 'JSON']
example: CSV
+ - in: query
+ name: filename
+ description: |
+ Name of output file. Only works with CSV and NETCDF
+ output types. Do not include file extension in this field.
+ If this value is not provided, the filename will be
+ `CDMS_[execution_id].[csv|nc]`
+ required: false
+ schema:
+ type: string
responses:
'200':
description: Successful operation