Ingress
CompozyOS Ingress HTTP endpoints.
2 endpoints36 pages in API Reference
Endpoints2
POST/api/ingress/bindings
Confirm one subject against the verified public endpoint
httpuds
Request body
JSON request body
application/json- body
confirmed*booleansubject_id*stringsubject_kind*stringResponses
- 200
- Already confirmed
- 201
- Created
- 400
- Invalid ingress binding request
- 403
- Ingress subject is outside the caller workspace
- 404
- Ingress subject not found
- 500
- Internal server error
- 503
- Public ingress is not reachable
Response body
Already confirmed
application/json- response
binding*changed*booleanRequest
curl -X POST 'http://localhost:2123/api/ingress/bindings' \ -H 'Content-Type: application/json' \ -d '{ "confirmed": true, "subject_id": "string", "subject_kind": "string"}'200 Already confirmed
{ "binding": { "confirmed_at": "2019-08-24T14:15:22Z", "confirmed_endpoint_generation": 0, "enable_path": "string", "endpoint_generation": 0, "reachability": "string", "scope_kind": "string", "subject_id": "string", "subject_kind": "string", "url": "string", "workspace_id": "string" }, "changed": true}DELETE/api/ingress/bindings/{subject_kind}/{subject_id}
Remove one public ingress confirmation
httpuds
Path parameters
subject_kind*stringIngress subject kind
subject_id*stringIngress subject id
Responses
- 204
- Unbound
- 400
- Invalid ingress subject
- 403
- Ingress subject is outside the caller workspace
- 404
- Ingress subject not found
- 500
- Internal server error
Response body
Unbound
Request
curl -X DELETE 'http://localhost:2123/api/ingress/bindings/string/string'400 Invalid ingress subject
{ "blockers": [ { "id": "string", "kind": "string", "name": "string" } ], "client_message_id": "string", "code": "string", "config_path": "string", "current_turn_id": "string", "details": { "property1": "string", "property2": "string" }, "diagnostic": { "category": "string", "code": "string", "data_freshness": "string", "doc_url": "string", "evidence": { "property1": null, "property2": null }, "id": "string", "message": "string", "severity": "string", "suggested_command": "string", "title": "string" }, "error": "string", "provider_error": "string", "retryable": true, "unknown_keys": [ "string" ]}