Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

multiple values missing in response when sharing file #43

Closed
individual-it opened this issue Jan 28, 2020 · 1 comment
Closed

multiple values missing in response when sharing file #43

individual-it opened this issue Jan 28, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@individual-it
Copy link
Member

sharing a file does not return the following values:

  • file_target
  • item_type
  • mimetype
<?xml version="1.0" encoding="UTF-8"?>
<ocs>
   <meta>
      <status>ok</status>
      <statuscode>100</statuscode>
      <message>OK</message>
   </meta>
   <data>
      <id>11</id>
      <share_type>0</share_type>
      <uid_owner>user0</uid_owner>
      <displayname_owner>User Zero</displayname_owner>
      <permissions>31</permissions>
      <stime>1580198585</stime>
      <parent />
      <expiration />
      <token />
      <uid_file_owner>user0</uid_file_owner>
      <displayname_file_owner>User Zero</displayname_file_owner>
      <path>/home/textfile0.txt</path>
      <item_type />
      <mimetype />
      <storage_id />
      <storage>0</storage>
      <item_source />
      <file_source />
      <file_parent />
      <file_target />
      <share_with>user1@localhost</share_with>
      <share_with_displayname>User One</share_with_displayname>
      <share_with_additional_info />
      <mail_send />
   </data>
</ocs>
@PVince81
Copy link
Contributor

PVince81 commented May 7, 2020

also item_source, file_source, parent, the latter likely related to reshares

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants