1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-19 00:58:21 +09:00
mastodon/docs/Using-the-API/OAuth-details.md

13 lines
469 B
Markdown
Raw Normal View History

2017-01-22 06:53:02 +09:00
OAuth details
=============
2017-01-22 06:49:08 +09:00
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
2017-01-22 06:53:02 +09:00
Multiple scopes can be requested during the authorization phase with the `scope` query param (space-separate the scopes).