curl --request GET \
--url https://api.thehaystack.ai/v2/haystack/items/{itemId}/resources/{resourceId} \
--header 'Authorization: Bearer <token>'{
"resource": {
"id": 123,
"itemId": 123,
"title": "<string>",
"subTitle": "<string>",
"description": "<string>",
"resourceTypeId": 123,
"displayOrder": 123,
"contentType": "file",
"fileMimeType": "<string>",
"fileSizeBytes": 123,
"externalPlatform": "youtube",
"externalPlatformId": "<string>",
"thumbnailImgUrl": "<string>",
"url": "<string>",
"resourceType": {
"id": 123,
"name": "<string>"
},
"linkTarget": "<string>"
}
}Retrieve a single resource.
curl --request GET \
--url https://api.thehaystack.ai/v2/haystack/items/{itemId}/resources/{resourceId} \
--header 'Authorization: Bearer <token>'{
"resource": {
"id": 123,
"itemId": 123,
"title": "<string>",
"subTitle": "<string>",
"description": "<string>",
"resourceTypeId": 123,
"displayOrder": 123,
"contentType": "file",
"fileMimeType": "<string>",
"fileSizeBytes": 123,
"externalPlatform": "youtube",
"externalPlatformId": "<string>",
"thumbnailImgUrl": "<string>",
"url": "<string>",
"resourceType": {
"id": 123,
"name": "<string>"
},
"linkTarget": "<string>"
}
}