DatamateProjectBindings

Path-identified rebind — symmetric to PUT /by-remote for projects without a git remote (materialized sample scaffolds, fresh scratch dirs). Same FOR UPDATE + optimistic-concurrency semantics as its remote sibling, the same authorization rule (binder-only, target must be visible — see that endpoint's docstring), and the same in-place mutation of the binding row.

Path-only bindings are scoped by user, so the FOR UPDATE lookup passes the caller's user_id — a coincidentally-matching path belonging to another user will simply 404.

put/datamate-project-bindings/by-path

Request

  • Base URL: https://api.myaltimate.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.myaltimate.com/datamate-project-bindings/by-path
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Request body

project_pathstring required
target_datamate_idinteger required
expected_current_datamate_idinteger nullable

Response

Successful Response

Changes