From e92a1cf436b99757e82d0234ca54b6c41b7ddb16 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 21 Jan 2017 22:49:08 +0100 Subject: Add wiki contents to docs/ instead --- docs/Using-the-API/OAuth-details.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/Using-the-API/OAuth-details.md (limited to 'docs/Using-the-API/OAuth-details.md') 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 -- cgit