Commit Graph
3 Commits
Author SHA1 Message Date
Claude a15eb7a6e7 fix: update jq parsing for new alexaHistoryRecords response structure
New API response uses:
- alexaHistoryRecords (was customerHistoryRecords)
- activityKey (was recordKey)
- deviceInfo.deviceName (was device.deviceName)
- recordType == "utterance" filter for device-specific lastcommand

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015a9UxV6q6eG4bpn3JH3PJX
2026-09-05 09:11:03 +00:00
Claude 0707c217f2 fix: update history endpoint to correct URL from HTTP Toolkit trace
Correct URL captured via HTTP Toolkit:
- Path: /apd/rah/ (not /apd/rvh/)
- Endpoint: alexa-history-records-v2 (not customer-history-records)
- Parameters: startTime and endTime only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015a9UxV6q6eG4bpn3JH3PJX
2026-09-05 09:05:51 +00:00
Claude 8651090013 fix: replace broken customer-history-records-v2 endpoint with new GET endpoint
Amazon removed the v2 POST endpoint for voice history. Switch to the current
GET endpoint /alexa-privacy/apd/rvh/customer-history-records with recordType
parameter instead of pageType. Fixes -lastalexa and -lastcommand (issue #188).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015a9UxV6q6eG4bpn3JH3PJX
2026-09-05 08:46:55 +00:00