Minor edits
parent
c8b652384b
commit
a07f916ae8
4
Api.md
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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue