feat(api): add API documentation and ShareX integration

- Add an API documentation page with curl and ShareX examples.
- Implement a dynamic ShareX configuration endpoint (`/api/v1/sharex/warpbox-anonymous.sxcu`) that generates a `.sxcu` file pre-configured with the instance's base URL.
- Update anonymous uploads to return a private management link (`manageUrl`) and a deletion link (`deleteUrl`) in JSON responses.
- Update README with details on Stage 3 Anonymous Integrations.
- Add styling for the new API documentation view and management details.
This commit is contained in:
2026-05-29 23:44:05 +03:00
parent 74ede000b4
commit 3471e2b0cf
19 changed files with 1231 additions and 46 deletions

View File

@@ -80,6 +80,10 @@
</div>
</div>
<div class="result-list" id="result-list"></div>
<p class="manage-link" id="manage-link" hidden>
<span>Keep this private:</span>
<a href="/" target="_blank" rel="noopener noreferrer">Manage or delete this upload</a>
</p>
</div>
</section>
</section>