JSON Respons in filemanager

Hi…

When i upload an file to the filemanager, which i have reconfigured to be entirely MySQL, the filemanager issues an error on the lower right corner saying Error, changes were not saved. - The files was uploaded with no errors, but what should the correct json respons be? The entire file struckture or just the file with id’s and such?

//Dennis

Hi,

The correct response for upload should contain the following information:

{
  "folder":"...", //parent folder id
  "value":"image04.gif", //file name
  "id":"image04.gif", //file id
  "type":"image", //file type
  "status":"server" //upload status
}