{"ok":true,"api_version":"3.3","endpoint":"https://www.promptbox.cn/api/publish.php","availability":{"service":"available","checked_at":"2026-10-21T23:45:54+00:00","publishes_remaining_this_hour":60,"publishes_remaining_today":300,"public_storage_remaining_bytes":104168591,"quota_windows":"rolling 60 minutes / 24 hours","advisory":true},"operations":{"publish":"POST; create or replace with token","replace":"POST; token and complete HTML/ZIP","status":"GET or POST; token; metadata and file list","files":"GET or POST; token; file paths, sizes, content types and URLs","delete":"POST; token; unpublish and invalidate","rotate-token":"POST; token; returns new token and invalidates old","extend":"POST; token; renew for 30 days without uploading"},"app":{"mode":"app","fields":{"directory":"required on creation; optional with token","file":"one multipart HTML or ZIP; HTML becomes index.html","text":"alternative UTF-8 HTML string","token":"UUID bearer secret returned at creation; required for updates/lifecycle, or supply Authorization: Bearer UUID"},"max_upload_bytes":26214400,"max_extracted_bytes":26214400,"max_files":1000,"allowed_asset_extensions":["html","htm","css","js","mjs","json","txt","md","png","jpg","jpeg","gif","webp","ico","avif","woff","woff2","ttf","otf","mp3","wav","ogg","m4a","flac","mp4","webm","svg","webmanifest","xml","wasm"],"url_base":"https://apps.promptbox.cn/","update_semantics":"Replace entire deployment; omitted files are deleted. Every upload must include index.html. One enclosing ZIP directory is automatically stripped.","backend_supported":false,"sandbox":"Scripts/forms/downloads/same-origin storage allowed. All apps share apps.promptbox.cn storage; other Promptbox origins have separate localStorage and IndexedDB. Parent-domain cookies may span subdomains. Frames and document.domain relaxation are disabled."},"file":{"mode":"file","fields":{"file":"one multipart upload","name":"optional basename","text":"alternative text, with name and optional extension"},"max_upload_bytes":10485760,"max_text_bytes":1048576,"allowed_extensions":["txt","md","json","csv","tsv","pdf","docx","xlsx","pptx","odt","ods","odp","jpg","jpeg","png","gif","webp","mp3","wav","ogg","m4a","flac","mp4","webm"],"url_base":"https://www.promptbox.cn/publish/","documents_served_as":"attachment","html":"Always routed to app mode; never served as active HTML on www."},"retention_days":30,"app_retention":"Renewable 30-day periods. Before expires_at, extend with the private token without uploading, or replace the app to restart the period. Apps expire only if neither action occurs in time; expired tokens cannot revive them.","file_retention":"Fixed 30 days after creation; files have no extension token.","cleanup":"Lazy cleanup on POST after an app period or file lifetime ends.","limits":{"publishes_per_hour_global":60,"publishes_per_day_global":300,"total_storage_bytes":104857600,"max_documents":10000},"docs":"https://www.promptbox.cn/api/docs.html#publish","skill":"https://www.promptbox.cn/skill.md"}