Scrub API
POST/v1/tools/open_projectfree

Open a project

A project, free, as it was left: its App, its title, its state (the file it started from, its timeline as the App keeps it, the steps after it) and its runs, newest first, each a job_… that job_status reads. Open it by its id (prj_…), or by a job_… run in it to find its project. A person opens it in its App at /<app>?project=<id>.

Fields

FieldTypeDefaultWhat it is
projectstringNoneIts id, prj_…
jobstringNoneA job run in it, job_…, to find its project

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/open_project \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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.