authed
Edit a skill as a draft
Save an edit to a skill's SKILL.md as a draft revision; it isn't live until published with publish_skill. Read the skill with get_skill just before editing and pass its latest_revision.id as parent_revision_id and latest_revision.content_version as parent_content_version. If anyone changed the skill since that read, nothing is stored and you're told so: read it again, reapply your edit, and save again.
post/api/v1/skills/{skill_id}/revisions
Request
- Base URLhttps://api.teaflask.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.teaflask.com/api/v1/skills/{skill_id}/revisions
- Authnone declared
Path parameters
skill_idstring uuid required
The skill's id, as list_skills returns it.
Request body
Response
The editor's open working draft was amended in place
Changes
No recorded changes to this operation across all 1 revision of this API.