Publish a support case
Publishes one immutable policy revision and its optional pinned template.
Publishes one immutable policy revision and its optional pinned template.
Not available yet. Sylphx Support is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases:publish - Scope
support:policy.write - Effect
write— a successful call changes state. - Collection support_cases
Request
| Field | Type | What it is |
|---|---|---|
parent | string | The owning environment. Required. |
route_key | string | Route selector applied to cases at intake. Required. |
jurisdiction | string | Jurisdiction selector applied to cases at intake. Required. |
revision | int64 | A strictly increasing revision for this route and jurisdiction. Required. |
policy | struct | Strictly decoded Support policy; not an approval receipt. Required. |
template_content | string | Exact template content, required when the policy pins an outbound template. |
Response
| Field | Type | What it is |
|---|---|---|
revision | int64 | Stored policy revision. Output only. |
Errors
Every error arrives in the body Errors describes.
Examples
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases:publish" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jurisdiction":"…","policy":{},"revision":1,"route_key":"…"}'