mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
5.7 KiB
5.7 KiB
SerializedAddUserAction Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedAddUserAction
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | SerializedParentAction.schema.json* |
SerializedAddUserAction Type
object (SerializedAddUserAction)
SerializedAddUserAction Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Required | cannot be null | SerializedParentAction |
| name | string |
Required | cannot be null | SerializedParentAction |
| userType | string |
Required | cannot be null | SerializedParentAction |
| userId | string |
Required | cannot be null | SerializedParentAction |
| password | object |
Optional | cannot be null | SerializedParentAction |
| timeZone | string |
Required | cannot be null | SerializedParentAction |
type
type
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
type Type
string
type Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"ADD_USER" |
name
name
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
name Type
string
userType
userType
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
userType Type
string
userType Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"child" |
|
"parent" |
userId
userId
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
userId Type
string
password
password
-
is optional
-
Type:
object(EncryptableParentPassword) -
cannot be null
-
defined in: SerializedParentAction
password Type
object (EncryptableParentPassword)
timeZone
timeZone
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
timeZone Type
string