/api/v1/object/list.json
~~~~~~~~~~~~~~~~~~~~~~~~

*Deprication warning:* v1 API is depricated. Please use [api/v2.rst]_ instead

.. [api/v2.rst] v2_

The main method used for importing data from any other sources like importers
or any other kind of applications sends data to racks.

Authentication:
  * Application token

Accepted methods:
  * POST

Accepted request data:
  * name
  * location *(optional)*
  * labels *(optional)*
  * attribute_* *(optional)*

Request example::

  POST /api/import.json
  ...

  name=hostname

Response example::

  HTTP/1.1 201 Created
  ...

  {
    "status": "ok",
    "object_name": "hostname",
    "objectid": 1
  }
