Fetches a specific version of the bot code.
Response format | JSON |
---|---|
Requires authentication? | Yes |
curl -X GET \
-u '[SID]:[TOKEN]' \
'https://api.essential.to/bots/v1/version/M023pJRT9yNmt-5RjTQBwQ/1'
# Sample response
{
"version_id": 1,
"source": "var bot = {};",
"created_at": "2017-02-22T23:01:49.000Z",
"updated_at": "2017-02-22T23:01:49.000Z",
"sid": "3mesNha3El_vwtUUC-iW8Q",
"bot_sid": "M023pJRT9yNmt-5RjTQBwQ"
}
Python coming soon.
Node coming soon.