Upload subreddit image
documentedUpload an image for a subreddit's appearance.
POST /api/upload_sr_imgSubredditsno 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/upload_sr_img" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "User-Agent: {{$user_agent}}" \
-H "Accept: application/json" \
-F "upload_type={{$upload_type}}" \
-F "img_type={{$img_type}}" \
-F "name={{$name}}" \
-F "header={{$header}}" \
-F "formid={{$formid}}" \
-F "file=@{{$image_path}}"