Update a widget
documentedUpdate an existing widget.
PUT /api/widget/{widget_id}Widgetsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://oauth.reddit.com/r/{{$subreddit}}/api/widget/{{$widget_id}}?raw_json=1&gilding_detail=1" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "User-Agent: RedditWidgetUpdater/1.0" \
-d '{"data": {{$data}}, "kind": "{{$kind}}", "shortName": "{{$shortName}}", "styles": {"backgroundColor": "{{$backgroundColor}}", "headerColor": "{{$headerColor}}" } }'