Upload a draft file
Writes raw bytes, limited to 16 MiB. SKILL.md is generated from metadata and instructions. Traversal, links, special files, and conflicting normalized paths are refused. Requires the admin role.
In: cookie
Path Parameters
Query Parameters
Request Body
application/octet-stream
TypeScript Definitions
Use the request body type in TypeScript.
binaryResponse Body
application/json
application/json
application/json
curl -X PUT "https://example.com/api/skills/drafts/string/file?path=string" \ -H "Content-Type: application/octet-stream" \ -d 'string'{ "id": "string", "expiresAt": "2019-08-24T14:15:22Z", "targetSkillId": "string", "baseRevision": 1, "publishSkillId": "string", "files": [ "string" ]}Update draft instructions PUT
Replaces draft metadata and instructions. Upload files through the file endpoint; files and draftId are rejected here. targetSkillId and baseRevision may be omitted or must match the existing draft. Requires the admin role.
Add a container to a group POST
Add a container to a group, creating the group if it is new. A container belongs to at most one group, so it is moved out of any other group first. Requires the **operator** role.