MAJOR FIX: Download now works!
- Extract rendition URL from asset metadata (content.url)
- Download via /v6/renditions/{id} instead of /v6/assets/{id}/contents
- Fallback to direct download if no rendition found
- Files now download successfully!
Beautiful Metadata Display:
- Color-coded sections with icons
- Basic Info (blue) - asset details
- Content Info (green) - file size, dimensions, URLs
- Custom Fields (yellow) - collapsible by category
- Permissions (red) - visual checkmarks
- Renditions (teal) - all available versions
Download Improvements:
- First fetch asset metadata to find correct download URL
- Try rendition URL from metadata
- Show download method and URL used
- Better error messages with tried URL
Metadata Features:
- Grid layout for easy reading
- Collapsible sections to reduce clutter
- Human-readable field names
- Array values displayed as comma-separated
- Shows rendition sizes and dimensions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fixes:
- Extract folder/asset names from INER_NAME_GENERIC field (correct field ID)
- Add fallback to 'name' field if metadata field not found
- Fix debug_assets.php to maintain campaign_id in URL parameters
- Add "Clear Workflow Data" button to reset cached session data
- Improve error messages when files don't exist in storage
- Allow status update even if downloads fail (test environment)
Changes:
- Update extractFolderName() to check INER_NAME_GENERIC first
- Fix debug_assets.php folder and asset name extraction
- Add clear_results action to workflow_v3.php
- Show folder names correctly in debug interface
- Display clear message about test environment file availability
Working:
✅ OAuth2 authentication
✅ Campaign search by status
✅ Folder navigation
✅ Asset listing with correct IDs
✅ Metadata extraction
⚠️ Download fails - files don't exist in test environment storage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fixes:
- Metadata button now works (fixed JavaScript and element IDs)
- Display full metadata as JSON when clicked
- Detect and show proper error when files don't exist in storage
- Show detailed download error messages (HTTP 500, file not found)
- Display download success/failure with file size and path
- Use old working Postman collection with OAuth2 configured
- Update StatusManager to use working search pattern + status filter
Changes:
- Switch to Content Scaling Flow.postman_collection_Oliver(New).json
- Fix downloadAsset to detect JSON error responses
- Improve metadata display with toggle functionality
- Show clear error messages for missing files in DAM storage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>