Create ingress
Changed onpost/ingresses
Request
- Base URLhttp://localhost:4973
- URLhttp://localhost:4973/ingresses
- AuthHTTP bearer
Request body
Example request
{
"name": "my-api-ingress",
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"request_header_auth": {
"header": "X-Ingress-Verification",
"value": "0123456789abcdef0123456789abcdef"
}
}
],
"tags": {
"team": "backend",
"env": "staging"
}
}Response
Ingress created
Example response
{
"id": "2OgJqXsP7j1qLVVYvGJDNiYVlPO",
"name": "my-api-ingress",
"tags": {
"team": "backend",
"env": "staging"
},
"rules": [
{
"match": {
"hostname": "{instance}.example.com",
"port": 8080
},
"target": {
"instance": "{instance}",
"port": 8080
},
"request_header_auth": {
"header": "X-Ingress-Verification",
"value": "0123456789abcdef0123456789abcdef"
}
}
],
"created_at": "2025-01-15T10:00:00Z"
}Changes
- info
added the non-success response with the status
- info
- info
added the new optional request property
// - info
added the optional property
//to the response with the status
- info