Scopes api (2/23)

Scopes api