Show a bot version

Fetches a specific version of the bot code.

Resource URL:

GET https://api.essential.to/bots/v1/version/{bot_sid}/{version}

Resource information:

Response formatJSON
Requires authentication?Yes

Sample code:

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.