Documentation
¶
Overview ¶
Command uploadtestserver serves the media upload and read APIs over an isolated MinIO/RGW namespace for the browser SDK's integration tests (sdk/upload/test) and e2e specs. It reads the CONTENTKIT_TEST_S3_* variables, presigns for -public (a proxy the test controls), prints "READY <url> <namespace>" and runs until stdin closes. CONTENTKIT_TEST_S3_BUCKET selects an existing bucket; cleanup removes only the test namespace.
/upload/... the upload API; X-Test-Actor names the caller ("reader" may not upload)
/upload-on-upload/... the same with ProcessOnUpload
/read/... the read API; "reader" reads as a viewer, everyone else as an editor
GET /object?kind&id&path|public {"size","sha256"} of a stored file: an
item's file by path (or stem), or a public name
It has no libvips or ffmpeg: a stand-in worker (standIn) processes items.
Click to show internal directories.
Click to hide internal directories.