Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieves a specific history record for a collection item.
Endpoint
GET /api/v1/users/:user_id/collection/historical/:historical_id
Parameters
The ID of the user who owns the collectable.
The ID of the history record to retrieve.
curl -X GET https://api.onlydrams.app/api/v1/users/123e4567-e89b-12d3-a456-426614174000/collection/historical/hist12345-e89b-12d3-a456-426614174002 \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"id": "hist12345-e89b-12d3-a456-426614174002",
"collectable_id": "abc12345-e89b-12d3-a456-426614174001",
"collectable_status_id": "status2",
"notes": "Opened for the first time - amazing vanilla notes!",
"action_on": "2024-01-15",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"status": {
"id": "status2",
"name": "Open",
"color": "#ffc107"
}
}
Error Responses
{
"error": "User not found"
}
{
"error": "History record not found"
}