chore(README): add scopes to "What do I get" section

This commit is contained in:
Mahdi Dibaiee 2016-01-19 10:39:28 +03:30
parent 14a36434f7
commit cb2078b6cd

View File

@ -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}