/v2/cloud/item/byPath
GET

Description

Get folder or file info by path (send a base64 encoded path in a GET parameter 'path' in format "/BigBuckBunny/HD" or "/BigBuckBunny/HD/screen.jpg").
If the path is a file, the response has the same shape as GET /v2/files/<fileCode>. If the path is a folder, see the example below.

Format

json (application/json)

Methods

GET

Example response (folder)

{
    "status": "success",
    "data": [
        {
            "folders": [
                {
                    "name": "Big buck bunny",
                    "code": "j4f02eidbb",
                    "size": null,
                    "files_count": null,
                    "created_at": {
                        "date": "2026-03-11 08:51:32",
                        "timezone_type": 3,
                        "timezone": "UTC"
                    },
                    "parent_folder_code": "9kw6nh1h2z",
                    "path": [
                        "j4f02eidbb"
                    ]
                }
            ],
            "files": [
                {
                    "name": "Big.Buck.Bunny.4K.UHD.HFR.60fps.FLAC.mkv",
                    "crc32": null,
                    "created_at": {
                        "date": "2026-02-09 15:36:47",
                        "timezone_type": 3,
                        "timezone": "UTC"
                    },
                    "code": "0phkm9kpro",
                    "parent_folder_code": "9kw6nh1h2z",
                    "size": 892862006,
                    "video": true,
                    "screenshots": [],
                    "extension": "mkv",
                    "type": "video",
                    "paused_at": null,
                    "virus": 0,
                    "duration": null,
                    "subtitles": {
                        "selected_code": null,
                        "shift": null
                    },
                    "download_url": "https://stor01.bitport.io/download/0phkm9kpro/Big.Buck.Bunny.4K.UHD.HFR.60fps.FLAC.mkv",
                    "stream_url": "https://stor01.bitport.io/stream/0phkm9kpro.mp4",
                    "path": [
                        null,
                        "0phkm9kpro"
                    ]
                }
            ],
            "parent_folder": {
                "name": null,
                "code": "9kw6nh1h2z",
                "size": null,
                "files_count": null,
                "created_at": null,
                "parent_folder_code": null,
                "path": null
            }
        }
    ],
    "errors": null
}

Cloud (folders)

Files

Me

Search in cloud

Transfers