POST
/v1/tools/read_setup_filefreeRead a setup file
Reads a setup file export_setup made, uploaded to this workspace, free, and says what import_setup would do before anything is added: each Brand Kit and Flow it adds, each it updates (one of the same name here is saved over), and each it leaves out, with why. Nothing is added.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
file | string | Required | The setup file export_setup made, uploaded here: its file_id |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/read_setup_file \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"file":"w/…/file_id"}'Answer
{
"ok": true,
"result": {
"…": "…"
}
}What result holds is said above.
Every call can also answer an error: what comes back. Try it with your key from Account.