PeerTube · Schema
RegisterUser
VideoDecentralizedFederationOpen SourceActivityPubSelf-HostedStreaming
Properties
| Name | Type | Description |
|---|---|---|
| username | object | immutable name of the user, used to find or mention its actor |
| password | object | |
| string | email of the user, used for login or service communications | |
| displayName | string | editable name of the user, displayed in its representations |
| channel | object | channel base information used to create the first channel of the user |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/peertube/main/json-schema/RegisterUser.json",
"title": "RegisterUser",
"properties": {
"username": {
"description": "immutable name of the user, used to find or mention its actor",
"allOf": [
{
"$ref": "#/components/schemas/username"
}
]
},
"password": {
"$ref": "#/components/schemas/password"
},
"email": {
"type": "string",
"format": "email",
"description": "email of the user, used for login or service communications"
},
"displayName": {
"type": "string",
"description": "editable name of the user, displayed in its representations",
"minLength": 1,
"maxLength": 120
},
"channel": {
"type": "object",
"description": "channel base information used to create the first channel of the user",
"properties": {
"name": {
"$ref": "#/components/schemas/usernameChannel"
},
"displayName": {
"type": "string"
}
}
}
},
"required": [
"username",
"password",
"email"
]
}