Add an environment URL.
post/midgard/v0.1/environment/url
Creates a new URL for a specific application.Request
Authorization
X-AT
header
apiKey
Body
application/json
applicationIdThe application ID to attach the url to.
string
REQUIRED
urlRequired when adding a custom URL (if prefix is empty).
string
prefixSet to create a prefix URL based on the platform generated base URL.
string
noRobotsSet to true to make the gateway serve a `robots.txt` file that will block ALL bots.
boolean
stackItemServiceIdPass in a service ID to link this path to a specific port. Set to null to decouple.
integer
Response
201URL added successfully.
403User is not allowed to access this resource.
422Validation or prerequisite failed.
Shell cURL
shellShow schema
json