Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
breakoutModewide
languagejson
curl -X GET "https://api-vclinic.vsee.me/api_v3/files/63f67f95-41f8-4581-bdc3-792f0adc0a9f" -k

{
    "data": {
        "id": "57e8c9a2-5c30-4b2c-b9d0-11d6ac1f0144",
        "name": "Screenshot 2023-02-22 at 21.47.43.png",
        "size": 25473,
        "ext": "png",
        "fullpath": "https://api-vclinic.vsee.me/files/view/57e8c9a2-5c30-4b2c-b9d0-11d6ac1f0144?auth_code=01f72b633c40c73a87f1bc66694ee31&time=1677099046",
        "meta": {
            "target": {
                "id": "63f67fb0-9864-4059-ad1b-63b10adc6474",
                "type": "intake"
            },
            "category": "intake_attachment",
            "account": {
                "code": "vclinic"
            }
        },
        "creator": {
            "username": "anton+test2@vseelab.com",
            "type": 200,
            "full_name": "anton test_2",
            "id": "27769243"
        },
        "created": 1677098901,
        "is_deletable": false,
        "modified": 1677098901
    }
}

data.fullpath - the link to download the file (see https://developers.vsee.com/wiki/spaces/VD/pages/15302716/File+Upload+API#GET-/files/view/:id )

GET /files/view/:id

Download the file itself.

...