Minor edits

master
aanganes 2013-04-26 13:04:21 -07:00
parent c8b652384b
commit a07f916ae8
1 changed files with 2 additions and 2 deletions

4
Api.md

@ -518,7 +518,7 @@ Returns HTTP 200 with an empty page on success.
## System Scopes ## System Scopes
System scopes define special scopes that have metadata attached to them such as a human-redable description, an icon, and flags indicating whether or not they are assigned to newly-created clients (`defaultScope`) or are avilable for dynamically registered clients to request (`allowDynReg`). Clients that are managed through the admin UI/API can have scopes that are not registered as a system scope. System scopes define special scopes that have metadata attached to them such as a human-redable description, an icon, and flags indicating whether or not they are assigned to newly-created clients (`defaultScope`) or are avilable for dynamically registered clients to request (`allowDynReg`). Clients that are managed through the admin UI/API can have scopes that are not registered as system scopes.
Endpoint: **`/api/scopes`** Endpoint: **`/api/scopes`**
@ -597,7 +597,7 @@ Create a new scope on the system. Message body is an `application/json` object w
} }
``` ```
The server will return an updated copy of the object in `application/json` format as described under **GET /api/scopes/{id}** on success. The server will return an updated copy of the object in `application/json` format as described under **GET /api/scopes/{id}** on success. Scope values must be unique. If a client attempts to create a new scope with an existing value, the request will be rejected.
### GET /api/scopes/{id} ### GET /api/scopes/{id}