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

TypeAPI 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": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"requestedAt": "string"
}
]
}
]

Playground

Authorization

Samples

cURL
JavaScript
PHP
Python