Admin settings for analysis defaults. Slack webhooks are owned by PRC Slack.
Auth summary
| Access | Routes |
|---|---|
manage_options | GET/POST /wp-json/prc-agents-trending-news/v1/settings |
Settings
| Method | Path | Permission |
|---|---|---|
GET | /wp-json/prc-agents-trending-news/v1/settings | manage_options |
POST | /wp-json/prc-agents-trending-news/v1/settings | manage_options |
POST rejects invalid payloads with HTTP 400 and { "error": "Invalid payload." }. The payload is analysis-only (google_news_api_key, max_fetch_multiplier, related_posts_lookback_months). Slack fields are not stored here.
Slack webhooks
Canonical Events API routes live on PRC Slack. TNA paths remain as one-release proxies:
| Method | Path | Notes |
|---|---|---|
POST | /wp-json/prc-agents-trending-news/v2/slack/events | Proxy → PRC Slack; Deprecation: true |
POST | /wp-json/prc-agents-trending-news/v2/slack/interactions | Proxy → PRC Slack; Deprecation: true |
See PRC Slack REST API for signature errors and the canonical /wp-json/prc-slack/v1/ routes.