extended list contacts GET endpoint

* exposed some more fields

see #675
This commit is contained in:
Bernhard B
2025-03-29 22:33:37 +01:00
parent e452205c38
commit bf929a3aa1
4 changed files with 168 additions and 2 deletions

View File

@@ -2594,6 +2594,26 @@ const docTemplate = `{
}
}
},
"client.ContactProfile": {
"type": "object",
"properties": {
"about": {
"type": "string"
},
"given_name": {
"type": "string"
},
"has_avatar": {
"type": "boolean"
},
"last_updated_timestamp": {
"type": "integer"
},
"lastname": {
"type": "string"
}
}
},
"client.GroupEntry": {
"type": "object",
"properties": {
@@ -2670,15 +2690,27 @@ const docTemplate = `{
"color": {
"type": "string"
},
"given_name": {
"type": "string"
},
"message_expiration": {
"type": "string"
},
"name": {
"type": "string"
},
"nickname": {
"$ref": "#/definitions/client.Nickname"
},
"note": {
"type": "string"
},
"number": {
"type": "string"
},
"profile": {
"$ref": "#/definitions/client.ContactProfile"
},
"profile_name": {
"type": "string"
},
@@ -2710,6 +2742,20 @@ const docTemplate = `{
}
}
},
"client.Nickname": {
"type": "object",
"properties": {
"family_name": {
"type": "string"
},
"given_name": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"client.SetUsernameResponse": {
"type": "object",
"properties": {