Film kit command
project.moveToBin
Move to Bin
Moves the listed or selected project `items` into `bin` (null for the root). Answers how many moved.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
items(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bin | integer | no | binId|null |
items | integer[] | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "project.moveToBin" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: bin, items. film_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"bin": {
"description": "binId|null",
"type": "integer",
"x-khp-types": [
"Bin"
]
},
"items": {
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Item"
]
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.