Official site: https://www.okfile.com/
OkFile is an agent-first file upload and publish skill.
Use it when an agent needs to:
index.htmlurlplayUrlsiteUrl or entryUrlTrigger this skill when the user asks to:
index.htmlPOST /api/upload/preparePUT uploadUrl or each parts[].uploadUrlPOST /api/upload/completeGET /api/upload/status/{id}POST /api/site/preparePOST /api/site/completeStatic site behavior:
index.html exists, the site root renders that pageindex.html does not exist, the site root renders a directory listing with file name, size, and upload timecurl -X POST "https://www.okfile.com/api/upload/prepare" \
-H "Content-Type: application/json" \
--data '{"filename":"photo.jpg","size":12345,"contentType":"image/jpeg","preferredPartSize":5242880}'
curl -X POST "https://www.okfile.com/api/upload/complete" \
-H "Content-Type: application/json" \
--data '{"id":"a3k7m92x"}'
apiKey only to prepareid to completecomplete returns missingParts, re-upload only those partsurl for direct consumptionplayUrl when preview matterssiteUrl for the root of a published static siteentryUrl for the preferred HTML entry pagePOST /api/upload/preparePUT uploadUrl or parts[].uploadUrlPOST /api/upload/completeGET /api/upload/status/{id}GET /i/{id}GET /i/{id}?play=1POST /api/site/preparePOST /api/site/complete500MBhttps://www.okfile.com/en/https://www.okfile.com/en/upload/https://www.okfile.com/accounthttps://www.okfile.com/admin共 3 个版本