# API: טווח גישה ל-/uploads

**URL:** <https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895>\
**Category:** Feature\
**Tags:** rest-api\
**Created:** [11 בנובמבר,‏ 2021,‏ 4:34pm UTC](https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895 "2021-11-11T16:34:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [12 בנובמבר,‏ 2021,‏ 11:08am UTC](https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895/6 "2021-11-12T11:08:20Z")

</div>

Having a scope for creating uploads sounds like a good idea to me, certainly #pr-welcome. The relevant change would be around here:

> <https://github.com/discourse/discourse/blob/362c47ce6a87783808cb4417912a75250f003bf8/app/models/api_key_scope.rb#L19-L52>

Plus a new translation string [here](https://github.com/discourse/discourse/blob/main/config/locales/client.en.yml#L4173).

I think this would make most sense as `"uploads": "create"`

@RogerBW are you willing/able to make a PR here? If so, please do go ahead, and then post the link in this topic.

---

_[View the full topic](https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895)._
