Você sabia que o Bot Libre também fornece avatares em 3D e um free web speech API?
Bot Libre Dev

upload script api

por cliffh postado Jan 13 2020, 10:23

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?


by admin posted Jan 14 2020, 8:35

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"/>

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1690, today: 0, week: 2, month: 0

by cliffh posted Jan 14 2020, 13:09

ok is there any way to upload a script direct to the bots workspace?



Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1691, today: 3, week: 5, month: 40

by admin posted Jan 15 2020, 9:05

You can create a Script object in your Workspace, and upload the source code.





Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1840, today: 0, week: 2, month: 0

Id: 31470740
Tags: script upload
Postado: Jan 13 2020, 10:23
Respostas: 3
Pontos de vista: 1772, hoje: 1, semana: 3, mês: 1
0 0 0.0/5