Dark mode is now available in beta
cURL
curl --request POST \ --url http://localhost:3000/api/user/uploads \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "lean": true, "status": { "$ne": "deleted" }, "fileNameSearch": "file123" } '
{ "success": true, "data": [ { "_id": "<string>", "filename": "<string>", "originalname": "<string>", "mimetype": "<string>", "created": "2023-11-07T05:31:56Z", "filesize": 123, "status": "active", "thumbnail": "<string>", "user": "<string>", "institution": "<string>", "file_summary": "<string>", "file_title": "<string>", "file_url": "<string>", "tokens_used": 123, "is_private": true, "file_dimensions": "<string>", "file_authors": "<string>", "owner_data": { "email": "[email protected]", "fname": "<string>", "lname": "<string>" }, "index": 123 } ] }
Retrieves a list of user uploads with optional filtering by filename and status
JWT token passed in x-access-token header
Return minimal data structure
Show child attributes
Search term for filename filtering
Successfully retrieved user uploads
Upload success status
Array of upload records with associated data
Was this page helpful?