{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","params":[],"results":{"codes":[]},"settings":""},"next":{"description":"","pages":[]},"title":"Scopes","type":"basic","slug":"scopes","excerpt":"Each API endpoint has a specific scope for access. This allows you to request only what you need from the user for your application.","body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Scope\",\n    \"h-1\": \"Endpoints\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"donations.create\",\n    \"0-1\": \"POST [/donations](doc:donations-1)\",\n    \"1-0\": \"donations.read\",\n    \"1-1\": \"GET [/donations](doc:donations)\",\n    \"0-2\": \"\",\n    \"2-0\": \"alerts.create\",\n    \"2-1\": \"POST [/alerts](doc:alerts)\",\n    \"3-0\": \"legacy.token\",\n    \"3-1\": \"GET [/legacy/token](doc:legacy-token)\",\n    \"4-0\": \"socket.token\",\n    \"4-1\": \"GET [/socket/token](doc:socket-token)\"\n  },\n  \"cols\": 2,\n  \"rows\": 5\n}\n[/block]","updates":["56ec7e8d04e8940e00966540","58b9d1b8d7032c0f00cbbde2"],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"55bb033f3f0767230008f544","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["55baca9dd0736b3100bf100c","55bacba0d0736b3100bf1017","55bad8f33f0767230008f517","55baf3f01b0d66370078166e","55baf4151b0d66370078166f","55f1cca35fe76419007dc794","573e2d6e610a090e00ca2b97","58d97ce57718211b0028e6bc","599b510cb683b50031a35299","5a871c493948fd004697e677"],"_id":"55baca9cd0736b3100bf100b","createdAt":"2015-07-31T01:08:44.540Z","project":"55baca9cd0736b3100bf1008","__v":10,"releaseDate":"2015-07-31T01:08:44.540Z"},"__v":6,"createdAt":"2015-07-31T05:10:23.669Z","project":"55baca9cd0736b3100bf1008","githubsync":"","parentDoc":null,"user":"55baca333f0767230008f4ff","category":{"sync":{"isSync":false,"url":""},"pages":["55baca9dd0736b3100bf100e","55baf4053f0767230008f52d","55bafa293f0767230008f536","55bafd35d0736b3100bf1052","55bb033f3f0767230008f544","55bee746ad601c2b00762bd8"],"title":"Documentation","slug":"documentation","order":0,"from_sync":false,"reference":false,"_id":"55baca9dd0736b3100bf100c","version":"55baca9cd0736b3100bf100b","project":"55baca9cd0736b3100bf1008","__v":6,"createdAt":"2015-07-31T01:08:45.128Z"}}

Scopes

Each API endpoint has a specific scope for access. This allows you to request only what you need from the user for your application.

[block:parameters] { "data": { "h-0": "Scope", "h-1": "Endpoints", "h-2": "Description", "0-0": "donations.create", "0-1": "POST [/donations](doc:donations-1)", "1-0": "donations.read", "1-1": "GET [/donations](doc:donations)", "0-2": "", "2-0": "alerts.create", "2-1": "POST [/alerts](doc:alerts)", "3-0": "legacy.token", "3-1": "GET [/legacy/token](doc:legacy-token)", "4-0": "socket.token", "4-1": "GET [/socket/token](doc:socket-token)" }, "cols": 2, "rows": 5 } [/block]