anchor.diff:  ----
   
   
  -If you are directly using the Management REST API, please take care of this change and adapt your application or scipts.+If you are using the Management REST API directly, please make this change and adapt your application or scipts.
  
positive.code: :page-folder: am/installation-guide
  :page-layout: am
  
  NOTE: For all these breaking changes, the Migration Guide can be found link:/am/current/am_installguide_migration.html[here].
  
  == Management REST API : Application scopes
  
  Until now, the application oauth settings contained multiple collections about scopes:
  
  * scopes: a list with all scopes authorized for the application
  * defaultScopes: a list of scopes added as default one if the authorize request doesn't specify a list of scopes
  * scopeApprovals: a map to specify the amount of time (in seconds) that a scope is considered as accepted per the enduser
  
  [source,json]
  ----
  
negative.code: }
  ----
  
  Because more and more settings related to a scope exist, the OAuth settings for an application have to be refactored to provide a single list — `scopeSettings` — containing objects with scope settings. **This object has the following attribtues**: 
  
  * **scope**: the scope name.
  * **defautlScope**: boolean to defined this scope as a default one if the authorize request doesn't specify a list of scopes.
  * **scopeApproval**: the amount of time (in seconds) that a scope is considered as accepted per the enduser.
  
  [source,json]
  ----
  