From cb2078b6cdf3f163d46e6058ef9db1d81dfc8486 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Tue, 19 Jan 2016 10:39:28 +0330 Subject: [PATCH] chore(README): add scopes to "What do I get" section --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f64131..19573f3 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,15 @@ You get these: # get an array of records GET /team/{id}/roles GET /role/{id}/teams -#might also append query parameters to search for +# might also append query parameters to search for GET /role/{id}/teams?members=5 +# you might also use scopes +GET /teams/{scope}/roles/{scope} +GET /team/{id}/roles/{scope} +GET /roles/{scope}/teams/{scope} +GET /roles/{id}/teams/{scope} + # get a single record GET /team/{id}/role/{id} GET /role/{id}/team/{id}