List permissions
Returns every permission, the roles a person can hold and the presets an API key can start from. The Console and the CLI read this list, so what they show is what the server checks. No credential is needed.
/_luna/permissionsThe permission catalog.
resourcesResourceItem[]requiredWhat access is given to. Each has up to two levels, read and write.
Show propertiesHide properties
ResourceItemidstringrequirednamestringrequiredgroupstringrequiredThe heading the resource is listed under.
readstring[]requiredThe permissions its read level is made of. Empty when it has no read level.
writestring[]requiredThe permissions its write level adds.
alwaysReadbooleanrequiredWhether anything that reaches the project can read it.
keysbooleanrequiredWhether an API key can hold it. The rest are for people.
rolesSetItem[]requiredThe roles a person can hold in an organisation, most able first.
Show propertiesHide properties
SetItemidstringrequirednamestringrequiredaboutstringrequiredpermissionsstring[]requiredpresetsSetItem[]requiredWhat an API key can start from.
Show propertiesHide properties
SetItemidstringrequirednamestringrequiredaboutstringrequiredpermissionsstring[]requiredThe request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.