forked from ScoDoc/DocScoDoc
API /roles sample
This commit is contained in:
parent
91aacaae77
commit
e7b20625be
28
docs/samples/sample_roles.json.md
Normal file
28
docs/samples/sample_roles.json.md
Normal file
@ -0,0 +1,28 @@
|
||||
### roles
|
||||
|
||||
`/api/roles/`
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
'id': 1,
|
||||
'name': 'Observateur',
|
||||
'permissions': ['ScoObservateur'
|
||||
]
|
||||
},
|
||||
{
|
||||
'id': 2,
|
||||
'name': 'Ens',
|
||||
'permissions': [
|
||||
'ScoEntrepriseView',
|
||||
'ScoEtudAddAnnotations',
|
||||
'ScoAbsAddBillet',
|
||||
'ScoAbsChange',
|
||||
'ScoUsersView',
|
||||
'ScoObservateur',
|
||||
'ScoEnsView',
|
||||
'ScoView'
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
Loading…
Reference in New Issue
Block a user