get
https://api.macrofab.com/api/v2/sign_s3_upload
Generate a signature for file uploads
Design files are uploaded directly to storage. This endpoint returns the URL to upload to
(uri) and the form fields the upload must include (form_fields). To upload a file, send a
multipart/form-data POST to uri containing every entry of form_fields, followed by the
file itself in a field named file.
Processing uploaded design files
Design files uploaded with upload_type=pcb are held as pending uploads until you ask
MacroFab to process them:
GET /api/v3/pcb/{pcb_id}/{pcb_version}/ingestion/uploadslists the pending uploads.POST /api/v3/pcb/{pcb_id}/{pcb_version}/ingestion/workflowwith{"files": [...]}starts
processing the named uploads, and responds with the workflow'sid.GET /api/v3/pcb/{pcb_id}/{pcb_version}/ingestion/workflow/{workflow_id}reports the
workflow's progress and results.POST /api/v3/pcb/{pcb_id}/{pcb_version}/ingestion/workflow/{workflow_id}/acceptstarts
applying the results to the PCB version. Poll
GET /api/v3/pcb/{pcb_id}/{pcb_version}/ingestion/workflow/{workflow_id}/importuntil it is
complete, then callDELETEon the same URL to finish.
The same steps are available interactively from the PCB's page in the MacroFab platform. To
upload only BOM and placement (XYRS) data, use POST /api/v3/pcb/{pcb_id}/{pcb_version}/import
instead.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
400A required parameter is missing or invalid
