Replace Seed Skill Tiptap Document

Changed on

Replace the Tiptap document of an existing skill row for a starter skill restore (onboarding ADR 0017).

Restore targets keep their row id, and a legacy starter skill row carries a non-deterministic id, so the create route's derivation check cannot authorize this write. Containment comes from the database instead: the skill row must exist under the caller's authenticated organization and the given user, whatever its deleted state. Replacement overwrites an existing document and creates a missing one — a soft-deleted skill's document was deleted with it.

post/api/py/sandbox/seeding/replace-skill-tiptap

Request

  • Base URL
    https://api.getauctor.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.getauctor.com/api/py/sandbox/seeding/replace-skill-tiptap
  • Auth
    none declared

Request body

skill_idstring uuid required
user_idstring required
contentobject required

Response

Successful Response

replacedboolean required

Changes