mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 09:49:32 +02:00
285 lines
11 KiB
Markdown
285 lines
11 KiB
Markdown
# ServerUserEntry Schema
|
|
|
|
```txt
|
|
https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry
|
|
```
|
|
|
|
|
|
|
|
|
|
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
| :------------------ | ---------- | -------------- | ------------ | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------------------- |
|
|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | [ServerDataStatus.schema.json\*](ServerDataStatus.schema.json "open original schema") |
|
|
|
|
## ServerUserEntry Type
|
|
|
|
`object` ([ServerUserEntry](serverdatastatus-definitions-serveruserentry.md))
|
|
|
|
# ServerUserEntry Properties
|
|
|
|
| Property | Type | Required | Nullable | Defined by |
|
|
| :-------------------------------------------------------- | --------- | -------- | -------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
| [id](#id) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-id.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/id") |
|
|
| [name](#name) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-name.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/name") |
|
|
| [password](#password) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-password.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/password") |
|
|
| [secondPasswordSalt](#secondPasswordSalt) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-secondpasswordsalt.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/secondPasswordSalt") |
|
|
| [type](#type) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-type.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/type") |
|
|
| [timeZone](#timeZone) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-timezone.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/timeZone") |
|
|
| [disableLimitsUntil](#disableLimitsUntil) | `number` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-disablelimitsuntil.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/disableLimitsUntil") |
|
|
| [mail](#mail) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-mail.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/mail") |
|
|
| [currentDevice](#currentDevice) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-currentdevice.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/currentDevice") |
|
|
| [categoryForNotAssignedApps](#categoryForNotAssignedApps) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-categoryfornotassignedapps.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/categoryForNotAssignedApps") |
|
|
| [relaxPrimaryDevice](#relaxPrimaryDevice) | `boolean` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-relaxprimarydevice.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/relaxPrimaryDevice") |
|
|
| [mailNotificationFlags](#mailNotificationFlags) | `number` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-mailnotificationflags.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/mailNotificationFlags") |
|
|
| [blockedTimes](#blockedTimes) | `string` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-blockedtimes.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/blockedTimes") |
|
|
| [flags](#flags) | `number` | Required | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-flags.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/flags") |
|
|
| [llc](#llc) | `string` | Optional | cannot be null | [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-llc.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/llc") |
|
|
|
|
## id
|
|
|
|
|
|
|
|
|
|
`id`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-id.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/id")
|
|
|
|
### id Type
|
|
|
|
`string`
|
|
|
|
## name
|
|
|
|
|
|
|
|
|
|
`name`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-name.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/name")
|
|
|
|
### name Type
|
|
|
|
`string`
|
|
|
|
## password
|
|
|
|
|
|
|
|
|
|
`password`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-password.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/password")
|
|
|
|
### password Type
|
|
|
|
`string`
|
|
|
|
## secondPasswordSalt
|
|
|
|
|
|
|
|
|
|
`secondPasswordSalt`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-secondpasswordsalt.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/secondPasswordSalt")
|
|
|
|
### secondPasswordSalt Type
|
|
|
|
`string`
|
|
|
|
## type
|
|
|
|
|
|
|
|
|
|
`type`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-type.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/type")
|
|
|
|
### type Type
|
|
|
|
`string`
|
|
|
|
### type Constraints
|
|
|
|
**enum**: the value of this property must be equal to one of the following values:
|
|
|
|
| Value | Explanation |
|
|
| :--------- | ----------- |
|
|
| `"child"` | |
|
|
| `"parent"` | |
|
|
|
|
## timeZone
|
|
|
|
|
|
|
|
|
|
`timeZone`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-timezone.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/timeZone")
|
|
|
|
### timeZone Type
|
|
|
|
`string`
|
|
|
|
## disableLimitsUntil
|
|
|
|
|
|
|
|
|
|
`disableLimitsUntil`
|
|
|
|
- is required
|
|
- Type: `number`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-disablelimitsuntil.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/disableLimitsUntil")
|
|
|
|
### disableLimitsUntil Type
|
|
|
|
`number`
|
|
|
|
## mail
|
|
|
|
|
|
|
|
|
|
`mail`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-mail.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/mail")
|
|
|
|
### mail Type
|
|
|
|
`string`
|
|
|
|
## currentDevice
|
|
|
|
|
|
|
|
|
|
`currentDevice`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-currentdevice.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/currentDevice")
|
|
|
|
### currentDevice Type
|
|
|
|
`string`
|
|
|
|
## categoryForNotAssignedApps
|
|
|
|
|
|
|
|
|
|
`categoryForNotAssignedApps`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-categoryfornotassignedapps.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/categoryForNotAssignedApps")
|
|
|
|
### categoryForNotAssignedApps Type
|
|
|
|
`string`
|
|
|
|
## relaxPrimaryDevice
|
|
|
|
|
|
|
|
|
|
`relaxPrimaryDevice`
|
|
|
|
- is required
|
|
- Type: `boolean`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-relaxprimarydevice.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/relaxPrimaryDevice")
|
|
|
|
### relaxPrimaryDevice Type
|
|
|
|
`boolean`
|
|
|
|
## mailNotificationFlags
|
|
|
|
|
|
|
|
|
|
`mailNotificationFlags`
|
|
|
|
- is required
|
|
- Type: `number`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-mailnotificationflags.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/mailNotificationFlags")
|
|
|
|
### mailNotificationFlags Type
|
|
|
|
`number`
|
|
|
|
## blockedTimes
|
|
|
|
|
|
|
|
|
|
`blockedTimes`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-blockedtimes.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/blockedTimes")
|
|
|
|
### blockedTimes Type
|
|
|
|
`string`
|
|
|
|
## flags
|
|
|
|
|
|
|
|
|
|
`flags`
|
|
|
|
- is required
|
|
- Type: `number`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-flags.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/flags")
|
|
|
|
### flags Type
|
|
|
|
`number`
|
|
|
|
## llc
|
|
|
|
|
|
|
|
|
|
`llc`
|
|
|
|
- is optional
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [ServerDataStatus](serverdatastatus-definitions-serveruserentry-properties-llc.md "https://timelimit.io/ServerDataStatus#/definitions/ServerUserEntry/properties/llc")
|
|
|
|
### llc Type
|
|
|
|
`string`
|