uploadtestserver

command
v0.58.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Command uploadtestserver serves media.UploadHandler over a fresh MinIO/RGW bucket for the browser SDK's integration tests (sdk/upload/test). It reads the CONTENTKIT_TEST_S3_* variables, presigns for -public (a proxy the test controls), prints "READY <url>" and runs until stdin closes.

POST /upload/...          the upload API; X-Test-Actor names the caller
POST /upload-on-upload/...  the same with ProcessOnUpload
GET  /object?kind&id&version&name|slot   {"size","sha256","edit"} of a stored original

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL