Lecture d’un point ciblé read-a-poi

Méthode de GET qui renvoie les détails d’un point ciblé.

Requête

GET https://api-places.adobe.io/places/placesapi/v1/pois/<POIID>

En-têtes

-H' Content-Type: application/json'
-H 'Authorization: Bearer <TOKEN>'
-H 'x-api-key: <API KEY>'
-H 'x-gw-ims-org-id: <ORGID>'
-H 'Accept-Language: en-US'

Exemple de réponse

{
    "id": "66e3c0fb-12fe-4af2-863e-16e0e578d777",
    "name": "Train Station Road",
    "description": "18827",
    "location": {
        "type": "Point",
        "coordinates": [
            -121.902498,
            37.331087
        ]
    },
    "radius": 66,
    "country": "PH",
    "state": "41",
    "city": "Quezon City",
    "street": "No. 10 Train Station Road",
    "category": "",
    "icon": "",
    "color": "",
    "metadata": {
        "ownership": "LS",
        "brand": "Train station"
    },
    "lib_id": "6efd87bc-c9c4-4ff3-9503-051bfbc81777"
}

CURL, commande

Utilisez la commande CURL suivante pour tester l’API :

curl -X GET 'https://api-places.adobe.io/places/placesapi/v1/pois/<POIID>' -H 'x-api-key: <API KEY>' -H 'Authorization: Bearer <TOKEN>' -H 'x-gw-ims-org-id: <ORGID>'
IMPORTANT
Remplacer <POIID>, <API KEY>, <TOKEN>, et <ORIGIN> avec des valeurs réelles.
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825