Folder Status

List Folders

GET /api/v1/folders

Returns the list of folder IDs and their labels.

Example response:

[
    {
        "folder": "2fyjq-jrfpr",
        "label": "Foton/2017"
    },
    {
        "folder": "4vcqq-sciqk",
        "label": "Transfer"
    }
]

List Folder Status

GET /api/v1/folders/(string: folderID)

Returns the list of folder summaries, one per device that shares the folder.

Example response:

[
    {
        "device": "GB33MBV-EKIA4IA-RNNU2YP-MHYRNL7-AWPB5JR-...",
        "folder": "lightroom",
        "createdAt": "2017-09-27T20:30:39.824251Z",
        "updatedAt": "2017-10-28T09:04:51.017775Z",
        "globalBytes": 21775074403,
        "globalDeleted": 11,
        "globalDirectories": 21486,
        "globalFiles": 24727,
        "globalSymlinks": 0,
        "localBytes": 21775074403,
        "localDeleted": 11,
        "localDirectories": 21486,
        "localFiles": 24727,
        "localSymlinks": 0,
        "inSyncBytes": 21775074403,
        "inSyncFiles": 24727,
        "needBytes": 0,
        "needDeletes": 0,
        "needDirectories": 0,
        "needFiles": 0,
        "needSymlinks": 0,
        "ignorePatterns": false,
        "sequence": 95173,
        "version": 95173
    },
    ...
]