Edge — save a feed spec
edge_feed_saveSUPERADMIN ONLY. Save a feed spec (the object edge_feed_draft returned, edited or not) as an Edge feed overlay through the same create path as POST /api/admin/edge/feeds: parsed with unknown keys refused, validated (url policy, allowed headers, secret host locks, map fields per type, budgets), then written with the caller as its author and audit-logged. It is saved DISABLED unless enable: true — only then does the scheduler fetch it on its ttl while the edge_feeds lane is on. An id that already has an overlay answers overlay_exists (PATCH /api/admin/edge/feeds/ edits it). Returns {ok, id, enabled, warnings}. Requires Authorization: Bearer of a superadmin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The feed spec: id, title, type, url|fanout|internal, map, source_label, ttl_secs, daily_budget, … (the admin view shape). | |
| enable | No | true = enabled on save. Default false. |