Issue 14600

Remove notificationAddressesAsString from download json

14600
Reporter: mdoering
Assignee: fmendez
Type: Improvement
Summary: Remove notificationAddressesAsString from download json
Priority: Major
Resolution: CantReproduce
Status: Closed
Created: 2014-01-08 11:11:07.196
Updated: 2015-03-03 19:20:54.884
Resolved: 2015-03-03 19:20:37.087
        
Description: Download metadata json contains the contacts twice, lets remove the asString versions:
http://api.gbif.org/v0.9/occurrence/download/0000404-140106101727269

For cancelled or failed/killed downloads it also does not make sense to provide a downloadLink, this should be removed too.

{noformat}
{
key: "0000404-140106101727269"
-request: {
-predicate: {
type: "equals"
key: "COUNTRY"
value: "CH"
}
creator: "vpovilaitis"
-notificationAddresses: [
"vpovilaitis@gmail.com"
]
notificationAddressesAsString: "vpovilaitis@gmail.com"
}
created: "2014-01-07T15:52:18.582+0000"
modified: "2014-01-07T15:56:03.958+0000"
status: "KILLED"
downloadLink: "http://api.gbif.org/v0.9/occurrence/download/request/0000404-140106101727269.zip"
size: 0
totalRecords: 1326142
numberDatasets: 0
}
{noformat}

]]>
    


Author: fmendez@gbif.org
Comment: this issue was fixed before, the notification addresses don't appear in the json response anymore
Created: 2015-03-03 19:20:37.109
Updated: 2015-03-03 19:20:37.109