drawings

Upload Drawing File

Stream a drawing file to R2 server-side (firewall-safe upload proxy).

Replaces the browser's direct PUT to *.r2.cloudflarestorage.com. The client POSTs the file as multipart/form-data and passes the r2_key returned by /initiate as a query parameter. The client must still call POST /confirm afterwards.

Authorization: the part must be owned by the current user, and the requested r2_key must fall inside the deterministic drawings/{user_id}/{part_id}/ namespace for this part — any key outside it is rejected (403).

post/api/v1/parts/{part_id}/drawings/upload

Path parameters

part_idstring uuid required

Query parameters

r2_keystring required

R2 object key from the initiate endpoint.

R2 object key from the initiate endpoint.

Response

Successful Response

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.