Add Paste API v2

Add object schema validation for v2 API
Fix corsify modifies immutable header issue

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2025-08-01 14:45:33 +08:00
parent c18f08a4cb
commit 4542a4f519
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
9 changed files with 482 additions and 70 deletions

View file

@ -242,8 +242,8 @@
<td class="text-center col-6" id="paste_info_password">-</td>
</tr>
<tr>
<td class="text-center col-3 text-nowrap">Read limit</td>
<td class="text-center col-6" id="paste_info_read_count_remain">-</td>
<td class="text-center col-3 text-nowrap">Account Times</td>
<td class="text-center col-6"><span id="paste_info_access_n">-</span> / <span id="paste_info_access_max_access_n">-</span></td>
</tr>
<tr>
<td class="text-center col-3 text-nowrap">Created</td>