Skip to content

Returns a list of all buddies with id, name, and photo.​

GET
/api/users/current/buddies

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Responses​

Success.

application/json
JSON
{
  
"buddies": [
  
  
{
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null
  
  
}
  
],
  
"myRequests": [
  
  
{
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null
  
  
}
  
],
  
"requestsToMe": [
  
  
{
  
  
  
"id": 342528,
  
  
  
"name": "Franzi",
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
"isSleeping": null
  
  
}
  
]
}

Playground​

Authorization

Samples​