KomgaUserDto
Komga user DTO
Response for GET /api/v1/users/me
contentRestrictions object
User's content restrictions
ageRestriction object
oneOf
- null
- KomgaAgeRestrictionDto
null
labelsAllowstring[]
Labels restriction
labelsExcludestring[]
Labels to exclude
emailstringrequired
User email address
idstringrequired
User unique identifier (UUID as string)
labelsAllowstring[]
Whether user can share content
labelsExcludestring[]
Labels to exclude from sharing
rolesstring[]required
User roles (e.g., ["ADMIN"], ["USER"])
sharedAllLibrariesboolean
Whether all libraries are shared with this user
sharedLibrariesIdsstring[]
Shared libraries access - list of library IDs user can access Empty means access to all libraries
KomgaUserDto
{
"contentRestrictions": {
"ageRestriction": "null",
"labelsAllow": [
"string"
],
"labelsExclude": [
"string"
]
},
"email": "string",
"id": "string",
"labelsAllow": [
"string"
],
"labelsExclude": [
"string"
],
"roles": [
"string"
],
"sharedAllLibraries": true,
"sharedLibrariesIds": [
"string"
]
}