mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 23:54:22 +01:00
extended list contacts GET endpoint
* exposed some more fields see #675
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user