Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Implement File Upload via API for Branding and Language Resources #11348

Open
orazionelson opened this issue Mar 17, 2025 · 0 comments
Labels
Type: Feature a feature request

Comments

@orazionelson
Copy link

Summary

Add API support for uploading front-end resources (HTML templates, CSS files) and language packs to Dataverse, utilizing the existing file handling mechanisms already present in the Dataverse API infrastructure.

Currently, deploying front-end customizations and language packs to Dataverse environments requires using SCP or similar shell-based tools. This presents significant challenges in complex network environments that utilize bastion hosts and multiple security gateways. The current approach:

  • Complicates deployment processes in secure environments
  • Requires direct shell access which may not always be available
  • Creates unnecessary operational overhead for routine updates

Proposed Solution

Extend the existing Dataverse API capabilities (which already support zip file uploads and unpacking for datasets) to handle:

  • Branding logo upload
  • HTML template and CSS uploads for branding customizations
  • Language pack (languages.zip) file uploads

This would leverage existing infrastructure and patterns already proven in the Dataverse API ecosystem rather than creating entirely new mechanisms.

Benefits

  • Simplifies deployment in complex network environments
  • Enables automation through standard API calls
  • Aligns with existing patterns familiar to Dataverse developers
  • Supports CI/CD pipelines without requiring shell access
  • Reduces operational complexity for routine updates
  • Provides a more consistent developer experience across Dataverse customization tasks

Implementation Notes

The solution could utilize Base64 encoding for transferring code files with special characters
The implementation pattern should mirror the existing dataset upload functionality
Authentication and authorization should follow existing Dataverse API security patterns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature a feature request
Projects
None yet
Development

No branches or pull requests

1 participant