mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Add wiki contents to docs/ instead
This commit is contained in:
9
docs/Using-the-API/OAuth-details.md
Normal file
9
docs/Using-the-API/OAuth-details.md
Normal file
@@ -0,0 +1,9 @@
|
||||
We use the [Doorkeeper gem for OAuth](https://github.com/doorkeeper-gem/doorkeeper/wiki), so you can refer to their docs on specifics of the end-points.
|
||||
|
||||
The API is divided up into access scopes:
|
||||
|
||||
- `read`: Read data
|
||||
- `write`: Post statuses and upload media for statuses
|
||||
- `follow`: Follow, unfollow, block, unblock
|
||||
|
||||
Multiple scopes can be requested during the authorization phase with the `scope` query param (space-separate the scopes).
|
||||
Reference in New Issue
Block a user