mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add documentation of the json schemas
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mailAuthToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"$ref": "#/definitions/ParentPassword"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"mailAuthToken",
|
||||
"password"
|
||||
],
|
||||
"definitions": {
|
||||
"ParentPassword": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"secondHash": {
|
||||
"type": "string"
|
||||
},
|
||||
"secondSalt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hash",
|
||||
"secondHash",
|
||||
"secondSalt"
|
||||
],
|
||||
"title": "ParentPassword"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "RecoverParentPasswordRequest",
|
||||
"$id": "https://timelimit.io/RecoverParentPasswordRequest"
|
||||
}
|
||||
Reference in New Issue
Block a user