Skip to content

Returns all current baskets of the user​

GET
/api/users/current/baskets

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

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

Responses​

Success

application/json
JSON
[
  
{
  
  
"id": 42,
  
  
"description": "Einkaufskorb mit Obst und Gemüse",
  
  
"picture": "/api/uploads/uuid",
  
  
"createdAt": "string",
  
  
"requests": [
  
  
  
{
  
  
  
  
"basketId": 0,
  
  
  
  
"user": {
  
  
  
  
  
"id": 342528,
  
  
  
  
  
"name": "Franzi",
  
  
  
  
  
"avatar": "99d1fb45-9748-3510-ac02-87b46c40048c",
  
  
  
  
  
"isSleeping": null
  
  
  
  
},
  
  
  
  
"requestedAt": "string"
  
  
  
}
  
  
]
  
}
]

Playground​

Authorization

Samples​