Egress proxy profiles

Add a rule to a project egress proxy profile

POST
/v1/orgs/{org}/projects/{project}/egress-proxy-profiles/{name}/rules
AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

org*string
project*string
name*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

domain_pattern*string

Host the rule matches: an exact host (api.example.com) or a wildcard suffix (*.example.com). No scheme, port, or path.

Length1 <= length
path_match?string

Optional request-path prefix; the rule applies only when the path matches. Segment-bounded: /a/b matches /a/b and /a/b/c but not /a/bc.

recipe*array<>|
Items1 <= items

Response Body

application/json

application/problem+json

curl -X POST "https://api-dev.tektona.ai/v1/orgs/string/projects/string/egress-proxy-profiles/string/rules" \  -H "Content-Type: application/json" \  -d '{    "domain_pattern": "string",    "recipe": [      {        "target": "header",        "template": "string"      }    ]  }'
{  "$schema": "https://api-dev.tektona.ai/schemas/RuleCreatedBody.json",  "rule_id": "string"}