Add a new ApplicationPath.
post/midgard/v0.1/application/path
Creates a public-to-internal path mapping for an application environment. Paths may optionally be protected by IP filtering and basic authentication. Invalid IPs are reported but do not block successful creation.
Request
Authorization
X-AT
header
apiKey
Body
application/json
environmentUrlIdEnvironment URL identifier
integer
REQUIRED
applicationIdApplication identifier
integer
REQUIRED
publicPublic URL path
string
REQUIRED
internalInternal application path
string
REQUIRED
userOptional basic auth username
string
passwordOptional basic auth password
string
ipSourceSpace-separated list of allowed IPs or CIDR ranges.
string
stackItemServiceIdPass in a service ID to link this path to a specific port. Set to null to decouple.
integer
Response
200Application path created successfully.
403Access denied.
422Validation error.
Shell cURL
shell
Show schema
json