cURL
curl --request POST \ --url https://pria.praxislxp.com/api/user/uploads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "lean": true, "status": { "$ne": "deleted" }, "fileNameSearch": "file123" }'
[ { "_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": "jsmith@example.com", "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
Successfully retrieved user uploads
The response is of type object[].
object[]
Was this page helpful?