mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 17:59:24 +02:00
102 lines
4.5 KiB
Markdown
102 lines
4.5 KiB
Markdown
# RegisterChildDeviceRequest Schema
|
|
|
|
```txt
|
|
https://timelimit.io/RegisterChildDeviceRequest
|
|
```
|
|
|
|
|
|
|
|
|
|
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|
|
| :------------------ | ---------- | -------------- | ------------ | :---------------- | --------------------- | ------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
| Can be instantiated | Yes | Unknown status | No | Forbidden | Forbidden | none | [RegisterChildDeviceRequest.schema.json](RegisterChildDeviceRequest.schema.json "open original schema") |
|
|
|
|
## RegisterChildDeviceRequest Type
|
|
|
|
`object` ([RegisterChildDeviceRequest](registerchilddevicerequest.md))
|
|
|
|
# RegisterChildDeviceRequest Definitions
|
|
|
|
## Definitions group NewDeviceInfo
|
|
|
|
Reference this group by using
|
|
|
|
```json
|
|
{"$ref":"https://timelimit.io/RegisterChildDeviceRequest#/definitions/NewDeviceInfo"}
|
|
```
|
|
|
|
| Property | Type | Required | Nullable | Defined by |
|
|
| :-------------- | -------- | -------- | -------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| [model](#model) | `string` | Required | cannot be null | [RegisterChildDeviceRequest](registerchilddevicerequest-definitions-newdeviceinfo-properties-model.md "https://timelimit.io/RegisterChildDeviceRequest#/definitions/NewDeviceInfo/properties/model") |
|
|
|
|
### model
|
|
|
|
|
|
|
|
|
|
`model`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [RegisterChildDeviceRequest](registerchilddevicerequest-definitions-newdeviceinfo-properties-model.md "https://timelimit.io/RegisterChildDeviceRequest#/definitions/NewDeviceInfo/properties/model")
|
|
|
|
#### model Type
|
|
|
|
`string`
|
|
|
|
# RegisterChildDeviceRequest Properties
|
|
|
|
| Property | Type | Required | Nullable | Defined by |
|
|
| :------------------------------ | -------- | -------- | -------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| [registerToken](#registerToken) | `string` | Required | cannot be null | [RegisterChildDeviceRequest](registerchilddevicerequest-properties-registertoken.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/registerToken") |
|
|
| [childDevice](#childDevice) | `object` | Required | cannot be null | [RegisterChildDeviceRequest](registerchilddevicerequest-definitions-newdeviceinfo.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/childDevice") |
|
|
| [deviceName](#deviceName) | `string` | Required | cannot be null | [RegisterChildDeviceRequest](registerchilddevicerequest-properties-devicename.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/deviceName") |
|
|
|
|
## registerToken
|
|
|
|
|
|
|
|
|
|
`registerToken`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [RegisterChildDeviceRequest](registerchilddevicerequest-properties-registertoken.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/registerToken")
|
|
|
|
### registerToken Type
|
|
|
|
`string`
|
|
|
|
## childDevice
|
|
|
|
|
|
|
|
|
|
`childDevice`
|
|
|
|
- is required
|
|
- Type: `object` ([NewDeviceInfo](registerchilddevicerequest-definitions-newdeviceinfo.md))
|
|
- cannot be null
|
|
- defined in: [RegisterChildDeviceRequest](registerchilddevicerequest-definitions-newdeviceinfo.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/childDevice")
|
|
|
|
### childDevice Type
|
|
|
|
`object` ([NewDeviceInfo](registerchilddevicerequest-definitions-newdeviceinfo.md))
|
|
|
|
## deviceName
|
|
|
|
|
|
|
|
|
|
`deviceName`
|
|
|
|
- is required
|
|
- Type: `string`
|
|
- cannot be null
|
|
- defined in: [RegisterChildDeviceRequest](registerchilddevicerequest-properties-devicename.md "https://timelimit.io/RegisterChildDeviceRequest#/properties/deviceName")
|
|
|
|
### deviceName Type
|
|
|
|
`string`
|