Returns a list of all buddies with id, name, and photo.
GET
/api/buddy/listAuthorizations
Responses
Success.
JSON
[
{
"id": 0,
"name": "string",
"photo": "string",
"confirmed": true
}
]
Samples
cURL
curl -X GET http://localhost/api/buddy/list
JavaScript
fetch("http://localhost/api/buddy/list")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/buddy/list");
Python
import requests
response = requests.get("http://localhost/api/buddy/list")
print(response.json())