sessions.new

The sessions.new event occurs whenever a oneshot server connects to oneshot.uno, starting a new session.

Webhook Payload Structure

Field Type Description
Timestamp number The timestamp of the event.
EventName string The name of the event triggered.
Data object The data associated with the event.

Data Field for sessions.new Event

Field Type Description
Address string The remote address of the client.
KeyName string The name of the key used.
Hostname string The hostname of the client.
Cmd string The command executed.
TTL number Time-to-live for the session.
RequestedURL string The URL requested by the client.
RequestedURLRequired bool Whether the requested URL is required.
AssignedURL string The URL assigned to the client.
P2P bool Whether P2P is enabled.
PortMapping bool Whether UPnP based port-mapping is enabled.
BasicAuth bool Whether basic authentication is enabled.
LocalOnly bool Whether the session is local only.