Add a folder
driftnet_create_folderCreate a folder in the reader’s tree so new links are sorted into it by the classifier. Provide a name and optional parent; existing items stay where they are.
Instructions
Add a folder to the reader's tree; new links will be sorted into it from then on. The description is what the classifier reads, so write it as a short rule (e.g. 'MapleStory and Artale helper tools'). Existing items are not re-sorted. Returns the new folder's id and parent. Fails if the parent does not exist or the name is empty. Renaming and deleting folders are left to the reader, on the web page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name as the reader will see it | |
| parent | No | Parent folder id from driftnet_folders; omit for the top level | |
| description | No | What belongs here, as a rule the classifier can follow |