POST
/
api
/
user
/
uploads
Search and retrieve user uploaded files
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
  }
]

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Body

application/json

Response

Successfully retrieved user uploads

The response is of type object[].