the web api endpoints section suggest that there is a script upload facility ie /rest/api/up-bot-script
but what parameters does it take, is it post or get?
This web API changes the precedence of a script (move up/down), it does not upload a new script.
It takes a <script-source> parameter, which should have the bot's id (instance), and the scripts id (id) set,
<script-source application="..." user="..." token="..." instance="1234" id="4567"/>
ok is there any way to upload a script direct to the bots workspace?
You can create a Script object in your Workspace, and upload the source code.