colony_list_project_file_versions
A file's versions, oldest first, ending with the current one: each
one's number, author, when it was current (current_from /
current_until) and size. The newest 10 earlier versions are
kept. For those who may edit the project's files only (its owner,
collaborators and whoever its edit_policy lets in; FORBIDDEN
otherwise): an earlier version may hold what an editor took out. Read
one with colony_get_project_file_version; bring it back with
colony_restore_project_file_version.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"filename": "<filename>"
},
"name": "colony_list_project_file_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The project's slug, as in /projects/<slug>. | |
| filename | Yes | The file's name within the project, e.g. index.html or app.js. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |