mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 17:11:10 +00:00
Updates API documentation
This commit is contained in:
1 parent
53ec400921
commit
629e6e463e
59 files changed
+1558
-192
No files matched your search
@@ -1,2 +1,8 @@
|
||||
GET {{host}}/api/v1/auth/roles
|
||||
POST {{host}}/api/v1/auth/roles
|
||||
Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"roleName": "Editor",
|
||||
"permissions": []
|
||||
}
|
||||
@@ -3,9 +3,9 @@ Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"RoleId": "73d204e2-5922-441d-83d8-8d4d8fc29eaa",
|
||||
"RoleName": "Editor",
|
||||
"Permissions": [
|
||||
"roleId": "73d204e2-5922-441d-83d8-8d4d8fc29eaa",
|
||||
"roleName": "Editor",
|
||||
"permissions": [
|
||||
"ac113d18-69bb-4162-8c05-ff7a5559059a",
|
||||
"3c2fd936-8d4a-4963-b237-9f8d3aeeab26"
|
||||
]
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ Authorization: Bearer {{ACCESS_TOKEN}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"RoleId": "92e996fd-645e-4e2f-96fe-30c27e4c6423",
|
||||
"Permissions": [
|
||||
"roleId": "92e996fd-645e-4e2f-96fe-30c27e4c6423",
|
||||
"permissions": [
|
||||
"5957ea98-3deb-4ebe-a5b9-1aafa1480558",
|
||||
"5b9cedf5-9fc5-44d9-bc7e-1164409dc952"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user