Maytech Public Documentation
Space shortcuts
Skip to end of metadata
Go to start of metadata

Request URL

  https://api-test.quatrix.it/api/1.0/file/metadata?content=1

 

Response body

{
  "operations": 255,
  "modified_ms": 1525081877.576386,
  "name": "victoria.shelest+33@maytech.net",
  "created": 1525081877,
  "modified": 1525081877,
  "sub_type": "HD",
  "content": [
    {
      "operations": 255,
      "modified_ms": 1526464080.958195,
      "name": "Folder 1",
      "created": 1526464080,
      "modified": 1526464080,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": null,
      "gid": 3179,
      "size": 3,
      "type": "D",
      "id": "b5774c2a-82c2-4853-ada7-efcad4fdf325",
      "uid": 7549
    },
    {
      "operations": 74,
      "modified_ms": 1525081877.576386,
      "name": "TRASH",
      "created": 1525081877,
      "modified": 1525081877,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": {
        "translation_id": "Trash",
        "is_system": true,
        "visual_order": 40
      },
      "gid": 3179,
      "size": 3,
      "type": "T",
      "id": "cadf4eac-21d5-4a81-a1fc-06b307fde587",
      "uid": 0
    },
    {
      "operations": 2,
      "modified_ms": 1525081877.576386,
      "name": "Projects Shared With Me",
      "created": 1525081877,
      "modified": 1525081877,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": {
        "subtype": "projects",
        "translation_id": "Shared Projects",
        "is_system": true,
        "visual_order": 30
      },
      "gid": 3179,
      "size": 0,
      "type": "D",
      "id": "9b1c0892-2550-4c4f-a387-deace9b1b9aa",
      "uid": 0
    },
    {
      "operations": 7,
      "modified_ms": 1525081877.576386,
      "name": "Incoming Shares",
      "created": 1525081877,
      "modified": 1525081877,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": {
        "subtype": "incoming",
        "translation_id": "Incoming",
        "is_system": true,
        "visual_order": 10
      },
      "gid": 3179,
      "size": 0,
      "type": "D",
      "id": "9a529182-8f14-4108-856f-f24319292ef8",
      "uid": 0
    },
    {
      "operations": 7,
      "modified_ms": 1525081877.576386,
      "name": "Outgoing Shares",
      "created": 1525081877,
      "modified": 1525081877,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": {
        "subtype": "outgoing",
        "translation_id": "Outgoing",
        "is_system": true,
        "visual_order": 11
      },
      "gid": 3179,
      "size": 0,
      "type": "D",
      "id": "8bb6b93d-5b38-4414-8e04-42cceb443ff0",
      "uid": 0
    },
    {
      "operations": 7,
      "modified_ms": 1525081877.576386,
      "name": "User Homes",
      "created": 1525081877,
      "modified": 1525081877,
      "sub_type": "HF",
      "parent_id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
      "metadata": {
        "subtype": "homes",
        "translation_id": "User homes",
        "is_system": true,
        "visual_order": 20
      },
      "gid": 3179,
      "size": 1,
      "type": "D",
      "id": "296df434-f9fd-4f33-8448-9b19dafabcd7",
      "uid": 0
    }
  ],
  "parent_id": "29ee50b0-a809-45cb-9564-3977058e142f",
  "metadata": null,
  "gid": 3179,
  "size": 6,
  "type": "D",
  "id": "d1b58888-d1f1-4624-92ce-c41ab4902b9b",
  "uid": 7549
}

 

In the response body you’ll see the information about your home directory and all content within that directory. In the above example the ID of the chosen folder which is "Folder 1" is b5774c2a-82c2-4853-ada7-efcad4fdf325

You can use any id with a "type": "D" which stands for a directory. Note that the "parent_id" is the ID of your Quatrix account.

 Once you get the ID you can upload your file(s) to the chosen directory (Folder 1). Check more details here.

  • No labels