Skip to content

Returns the data for the bubble of a basket marker on the map.

GET
/api/map/baskets/{basketId}

Authorizations

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

Parameters

Path Parameters

basketId*
Typestring
Required

Query Parameters

basketId

Basket for which to return data

Typestring

Responses

Successful
JSON
{
"id": 0,
"description": "string",
"createdAt": "string",
"creator": null
}
Authorization
api_key
Variables
Key
Value
basketId*
basketId
cURL
curl -X GET \
'http://localhost/api/map/baskets/{basketId}'

Samples

cURL
curl -X GET http://localhost/api/map/baskets/{basketId}
JavaScript
fetch("http://localhost/api/map/baskets/{basketId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/map/baskets/{basketId}");
Python
import requests
response = requests.get("http://localhost/api/map/baskets/{basketId}")
print(response.json())