diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-21 22:49:08 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-21 22:51:02 +0100 |
commit | e92a1cf436b99757e82d0234ca54b6c41b7ddb16 (patch) | |
tree | 0d646aa33721271ebe76db7124ba509e6fa1a570 /docs/Using-the-API/OAuth-details.md | |
parent | 500278eb4c73506cd965c3abc06a2449c8071e1e (diff) |
Add wiki contents to docs/ instead
Diffstat (limited to 'docs/Using-the-API/OAuth-details.md')
-rw-r--r-- | docs/Using-the-API/OAuth-details.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/Using-the-API/OAuth-details.md b/docs/Using-the-API/OAuth-details.md new file mode 100644 index 000000000..8e63b89f4 --- /dev/null +++ b/docs/Using-the-API/OAuth-details.md @@ -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). \ No newline at end of file |