Sign in

Subreddit emoji asset upload to S3

documented

Acquire an S3 lease for uploading emoji assets.

POST /api/v1/subreddit/emoji_asset_upload_s3.jsonSubredditsno implementation yet0 runs
No 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/api/v1/{{$subreddit}}/emoji_asset_upload_s3.json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "User-Agent: {{$user_agent}}" \
  -d '{"filepath": "{{$filepath}}", "mimetype": "{{$mimetype}}"}'