mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 01:39:31 +02:00
4.4 KiB
4.4 KiB
SerializedCreateCategoryAction Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedCreateCategoryAction
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* |
SerializedCreateCategoryAction Type
object
(SerializedCreateCategoryAction)
SerializedCreateCategoryAction Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Required | cannot be null | SerializedParentAction |
childId | string |
Required | cannot be null | SerializedParentAction |
categoryId | string |
Required | cannot be null | SerializedParentAction |
title | 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 |
---|---|
"CREATE_CATEGORY" |
childId
childId
-
is required
-
Type:
string
-
cannot be null
-
defined in: SerializedParentAction
childId Type
string
categoryId
categoryId
-
is required
-
Type:
string
-
cannot be null
-
defined in: SerializedParentAction
categoryId Type
string
title
title
-
is required
-
Type:
string
-
cannot be null
-
defined in: SerializedParentAction
title Type
string