.. Netfiles API documentation master file, created by
   sphinx-quickstart on Fri Mar  6 11:42:21 2020.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Get Object
==============

The ``getObject`` returns information about the specified object. The data structure returned depends on the ``type`` of the object. Please check :doc:`Data Structures </data_structures>` for more details.

Request
-------

Request method is ``getObject``:

::

  GET https://app.netfiles.de/<dataroom-name>/projectfiles/<parentname>/<objectname>;internal&action=json&apikey=<YourApiKey>&deviceID=<currentDeviceID>&method=getObject
  Authorization: Basic BASE64(UTF8Bytes(<username>:<password>))
  User-Agent: iPad
  Accept: application/json
  netfiles: <value of the netfiles cookie>
  sk1: <value of the sk1 cookie>
  HW_User: <value of the HW_User cookie>
  HyperwaveSession: <value of the HyperwaveSession cookie>
  sk_s_web_S: <value of the sk_s_web_S cookie>
  sk_p_web_S: <value of the sk_p_web_S cookie>


Response
--------

The response is a JSON-structure whose content depends on the ``type`` of the object in question.

