Returns the bananas given to a user
GET
/api/user/{recipientId}/banana/receivedAuthorizations
Parameters
Path Parameters
recipientId*
Typestring
RequiredResponses
Success.
JSON
[
{
"message": "string",
"user": null,
"time": "string"
}
]
Samples
cURL
curl -X GET http://localhost/api/user/{recipientId}/banana/received
JavaScript
fetch("http://localhost/api/user/{recipientId}/banana/received")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/{recipientId}/banana/received");
Python
import requests
response = requests.get("http://localhost/api/user/{recipientId}/banana/received")
print(response.json())