Get SSH session details with comments and cast URL
get
/v1/ssh_sessions/{session_id}Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Path Parameters
- session_id stringrequired
Response
- Array [
- Array [
- Array [
- ]
- ]
- ]
author object
avatar_urlstring
Avatar URL
Example:
https://cdn.tuna.am/avatars/42.pngidinteger<int64>
User ID
Example:
42namestring
User name
Example:
Ivan Petrovcan_view_with_linkboolean
The recording can be viewed via a link
cast_urlstring
Link to the asciicast recording
Example:
https://tuna.am/ssh/2dBvKpR7Wm2vXtL8Hc6sFjY3bQe.castcomments object[]
Recording comments
author object
avatar_urlstring
Avatar URL
Example:
https://cdn.tuna.am/avatars/42.pngidinteger<int64>
User ID
Example:
42namestring
User name
Example:
Ivan Petrovcreated_atstring<date-time>
Creation date
idstring
Comment ID
Example:
2dBvKpR7Wm2vXtL8Hc6sFjY3bQeis_anonymousboolean
Anonymous comment
is_editedboolean
The comment was edited
messagestring
Comment text
Example:
we should roll back herereactions object[]
Reactions to the comment
emojistring
upvoted_users object[]
avatar_urlstring
Avatar URL
Example:
https://cdn.tuna.am/avatars/42.pngidinteger<int64>
User ID
Example:
42namestring
User name
Example:
Ivan Petrovsession_idstring
Session recording ID
Example:
2dBvKpR7Wm2vXtL8Hc6sFjY3bQetimestampnumber<double>
Timestamp in the recording, in seconds
Example:
3.2updated_atstring<date-time>
Update date
created_atstring<date-time>
Creation date
durationnumber<double>
Recording duration in seconds
Example:
12.5heightinteger<int64>
Terminal height in rows
Example:
24idstring
Session recording ID
Example:
2dBvKpR7Wm2vXtL8Hc6sFjY3bQeis_completeboolean
The recording is complete
session_idstring
SSH session ID
Example:
2dBvKpR7Wm2vXtL8Hc6sFjY3bQeteam object
idinteger<int64>
Team ID
Example:
7namestring
Name
Example:
Acme Incslugstring
Team slug, used as the suffix of dynamic subdomains
Example:
acmetypestring
Type
Possible values: [personal, pro]
Example:
protitlestring
Title
Example:
deploy on prodtunnel_idinteger<int64>
Tunnel ID
Example:
42usernamestring
SSH username
Example:
rootwidthinteger<int64>
Terminal width in columns
Example:
80