cURL
curl --request GET \ --url http://localhost:3000/api/v1/resources/{filename} \ --cookie nut-session=
{ "success": true, "data": { "resource": { "filename": "<string>", "type": "image", "mimeType": "<string>", "size": 123, "description": "<string>", "proposalId": "<string>", "url": "<string>", "thumbnailUrl": "<string>", "createdAt": "2023-11-07T05:31:56Z" } } }
Retrieve resource metadata or download the file
Session cookie authentication
Resource filename
If true, returns the file content
Resource metadata or file content
Show child attributes
image
video
audio
document
other
MIME type
File size in bytes
Resource URL
Thumbnail URL (for images/videos)