POST /ports

Request

  • Base URL
    http://rootlesskit/v1
  • URL
    http://rootlesskit/v1/ports
  • Auth
    none declared

Request body

proto'tcp' | 'tcp4' | 'tcp6' | 'udp' | 'udp4' | 'udp6' | 'sctp' | 'sctp4' | 'sctp6' required

protocol for listening. Corresponds to Go's net.Listen. The strings with "4" and "6" suffixes were introduced in API 1.1.0.

parentIPstring
parentPortinteger
childIPstring
childPortinteger

Response

PortStatus with ID

idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.