More UX/UI enhancements
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<h2>📋 API endpoints</h2>
|
||||
|
||||
<div class="endpoint">
|
||||
<button class="copy-btn" onclick="copyToClipboard('curl -X POST -F "file=@/path/to/your/file.txt" {{.BaseURL}}/upload')">📋 Copy</button>
|
||||
<button class="copy-btn" data-rybbit-event="Copy 1" onclick="copyToClipboard('curl -X POST -F "file=@/path/to/your/file.txt" {{.BaseURL}}/upload')">📋 Copy</button>
|
||||
<h3><span class="method post">POST</span>/upload</h3>
|
||||
<p><strong>Description:</strong> Upload a file</p>
|
||||
<p><strong>cURL example:</strong></p>
|
||||
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
|
||||
<div class="endpoint">
|
||||
<button class="copy-btn" onclick="copyToClipboard('curl -O {{.BaseURL}}/uploads/{fileID}/{filename}')">📋 Copy</button>
|
||||
<button class="copy-btn" data-rybbit-event="Copy 2" onclick="copyToClipboard('curl -O {{.BaseURL}}/uploads/{fileID}/{filename}')">📋 Copy</button>
|
||||
<h3><span class="method get">GET</span>/uploads/{fileID}/{filename}</h3>
|
||||
<p><strong>Description:</strong> Download a file using the ID and filename from upload response</p>
|
||||
<p><strong>cURL example:</strong></p>
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
|
||||
<div class="endpoint">
|
||||
<button class="copy-btn" onclick="copyToClipboard('curl {{.BaseURL}}/storage')">📋 Copy</button>
|
||||
<button class="copy-btn" data-rybbit-event="Copy 3" onclick="copyToClipboard('curl {{.BaseURL}}/storage')">📋 Copy</button>
|
||||
<h3><span class="method get">GET</span>/storage</h3>
|
||||
<p><strong>Description:</strong> Check storage usage and capacity</p>
|
||||
<p><strong>cURL example:</strong></p>
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
|
||||
<div class="endpoint">
|
||||
<button class="copy-btn" onclick="copyToClipboard('curl {{.BaseURL}}/health')">📋 Copy</button>
|
||||
<button class="copy-btn" data-rybbit-event="Copy 4" onclick="copyToClipboard('curl {{.BaseURL}}/health')">📋 Copy</button>
|
||||
<h3><span class="method get">GET</span>/health</h3>
|
||||
<p><strong>Description:</strong> Check service health</p>
|
||||
<p><strong>cURL example:</strong></p>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{{define "changelog"}}
|
||||
<h2>📝 Changelog</h2>
|
||||
<h2>Changelog</h2>
|
||||
|
||||
<div class="changelog-entry">
|
||||
<div class="version">v1.0.0</div>
|
||||
<div class="date">2024-12-01</div>
|
||||
<div class="date">2025-08-08</div>
|
||||
<ul>
|
||||
<li>Initial release</li>
|
||||
<li>File upload and download API</li>
|
||||
@@ -12,14 +12,4 @@
|
||||
<li>Health monitoring endpoint</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="changelog-entry">
|
||||
<div class="version">v0.9.0-beta</div>
|
||||
<div class="date">2024-11-28</div>
|
||||
<ul>
|
||||
<li>Beta release for testing</li>
|
||||
<li>Basic file operations</li>
|
||||
<li>Storage management</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user