JS SearchApi photourl
Hello, in the docs for the searchApi there is an attribute photourl.
Example from the docs:
{
mt: "SearchInfo",
type: "contact",
guid: "8800aa00-a000-5f01-4800-009030010600",
dn: "Jake Blues",
link:"someapp?id=jbl@example.com",
contact: {
extension: ["673"],
givenname: "Jake",
sn: "Blues",
company: "Blues Brothers",
sip: ["jbl@example.com"],
email: ["john.blues@example.com"]
},
avatar: "jbl",
pbx: "master",
node: "root",
template: "Config",
photourl: "http://1.2.3.4/jbl/avatar.png",
adjust: true
}
When I call the searchApi I only get:
{
"mt":"SearchInfo",
"src":"usersapis",
"type":"contact",
"guid":"519c9076-1ee4-6001-8ebb-000c29c98d05",
"dn":"Sherlock Holmes",
"avatar":"s.holmes",
"link":"users?id=s.holmes@pbx.dvl",
"pbx":"pbx-dvl",
"node":"root",
"template":"Config User",
"contact":
{
"givenname":"Sherlock",
"sn":"Holmes",
"company":"",
"sip":["s.holmes@pbx.dvl"]
},
"consumer":"myapp"
}
Is this a bug in the api or wrong in the docs?
Also I would like to know if the photourl exists what does it contain?
The photo of a contact from the contact app or the avatar url from the user?
BR
Nils