UploadBundle

UploadBundle unpacks a zip archive into a bundle: a tree of files served inline under one url, each with the content type its extension implies, so a page inside it can be shown in a frame and reach its own scripts, styles and images by relative path. The url comes back to be attached to whatever the bundle is for, such as a problem's widget (see atlas.WidgetService).

The archive is checked before anything is written: the entrypoint must exist, every file must have an allowed extension, and the unpacked size, the number of files and the size of any one file are capped. Entries with a path leaving the archive and symbolic links are rejected. Every page of a bundle is served sandboxed and may load nothing from outside the bundle.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

zip archive, up to 5MB (5M bytes)

string

path inside the archive which must exist, index.html when empty

string

archive name, kept for reference

Response

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json