Validate get boad change pattern of api params Import only one board by api Populate data from api Update class diagram Update documentation Add return when success Sort comments Fix order of cards Instructions of attachments Signed-off-by: Vitor Mattos <vitor@php.rio>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"api": {
|
|
"type": "object",
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-fA-F]{32}$"
|
|
},
|
|
"token": {
|
|
"type": "string",
|
|
"pattern": "^[0-9a-fA-F]{64}$"
|
|
}
|
|
}
|
|
},
|
|
"board": {
|
|
"type": "string",
|
|
"pattern": "^\\w{1,}$"
|
|
},
|
|
"uidRelation": {
|
|
"type": "object",
|
|
"comment": "Relationship between Trello and Nextcloud usernames",
|
|
"example": {
|
|
"johndoe": "admin"
|
|
}
|
|
},
|
|
"owner": {
|
|
"type": "string",
|
|
"required": true,
|
|
"comment": "Nextcloud owner username"
|
|
},
|
|
"color": {
|
|
"type": "string",
|
|
"required": true,
|
|
"pattern": "^[0-9a-fA-F]{6}$",
|
|
"comment": "Default color for the board. If you don't inform, the default color will be used.",
|
|
"default": "0800fd"
|
|
}
|
|
}
|
|
} |