/api/server/folder/:id

Get limited info on a folder while not being authenticated. This is used for the /folder/{id} route.

GET
Request

Get public folder info if available.

Response

Status: 200 OK

Content-Type: application/json

An object like the below example

Example

{
"id": "cmdy4ubxy0005xjvcvfet2jh7",
"createdAt": "2025-08-05T06:02:44.085Z",
"updatedAt": "2025-08-05T07:38:50.755Z",
"name": "test",
"public": true,
"allowUploads": true,
"userId": "cmdqks8yx0002vc4expm8iwg9",
"files": [
{
"createdAt": "2025-08-05T07:41:44.539Z",
"updatedAt": "2025-08-05T07:41:44.539Z",
"deletesAt": null,
"favorite": false,
"id": "cmdy8dnml00011cvcqj7oe8c5",
"originalName": null,
"name": "Hj7MzV.png",
"size": 1643658,
"type": "image/png",
"views": 0,
"maxViews": null,
"folderId": "cmdy4ubxy0005xjvcvfet2jh7",
"thumbnail": null,
"password": null,
"url": "/u/Hj7MzV.png"
},
{
"createdAt": "2025-08-05T05:42:40.052Z",
"updatedAt": "2025-08-05T07:22:18.387Z",
"deletesAt": null,
"favorite": false,
"id": "cmdy44iwl0003xjvcewz6r70q",
"originalName": null,
"name": "mI5LpK.png",
"size": 234100,
"type": "image/png",
"views": 1,
"maxViews": null,
"folderId": "cmdy4ubxy0005xjvcvfet2jh7",
"thumbnail": null,
"password": null,
"url": "/u/mI5LpK.png"
}
]
}

Errors

  • 404 Not Found

    If the folder doesn't allow uploads or is not public.



Last updated: 8/13/2025
Edit this page on GitHub