/api/role/
Get role info
GET
https://cloud.daneeskripter.dev/api/role
Query Parameters
Name
Type
Description
name*
String
Name of role
Headers
Name
Type
Description
API-Key*
Auth
API key for authentication
Get all roles
GET
https://cloud.daneeskripter.dev/api/role/all
Headers
Name
Type
Description
API-Key*
Auth
API key for authentication
Create a role
POST
https://cloud.daneeskripter.dev/api/role/create
Query Parameters
Name
Type
Description
name*
String
Name of role
maxStorage*
Integer
Maximal amount of storage for role (in MB)
badge*
String
URL of badge
Headers
Name
Type
Description
API-Key*
Auth
API key for authentication
Delete a role
POST
https://cloud.daneeskripter.dev/api/role/delete
Query Parameters
Name
Type
Description
name*
String
Name of role
Headers
Name
Type
Description
API-Key*
Auth
API key for authentication
Edit a role
POST
https://cloud.daneeskripter.dev/api/role/edit
Query Parameters
Name
Type
Description
name*
String
Name of role
newname*
String
New name of role
maxStorage*
String
New amount of maxStorage
badge*
String
New URL of badge
Headers
Name
Type
Description
API-Key*
Auth
API key for authentication
Last updated