# API：具有访问 /uploads 权限的作用域

**URL:** https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895
**Category:** Feature
**Tags:** rest-api
**Created:** [2021年十一月11日 16:34 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:** 4

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2021年十一月12日 10:18 UTC](https://meta.discourse.org/t/api-a-scope-with-access-to-uploads/208895/4 "2021-11-12T10:18:36Z")

</div>

这有什么用吗？

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. Many of the endpoints are properly documented in the [discourse\_api](https://github.com/discourse/discourse_api) gem, however some endpoints lack documentation. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select XHR filter: Perform the op…

---

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