라이브러리 읽기 read-a-library

라이브러리에 대한 세부 정보를 반환하는 GET 메서드입니다.

요청

GET https://api-places.adobe.io/places/placesapi/v1/libraries/<LIBRARYID>

헤더

-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'

샘플 응답

{
    "id": "9aa7f663-35cc-4de6-8643-ae7779f3bb87",
    "name": "Facinating places",
    "customerID": "777F20F55BACA09E0A495D8F@AdobeOrg",
    "poiCount": 30,
    "metadataDescriptors": [
        {
            "key": "region",
            "type": "string",
            "value": "Equator",
            "count": 29
        },
        {
            "key": "ownership",
            "type": "string",
            "value": "LS",
            "count": 1
        },
        {
            "key": "brand",
            "type": "string",
            "value": "Coffee Cafe",
            "count": 1
        },
        {
            "key": "Color",
            "type": "string",
            "value": "Blue",
            "count": 1
        }
    ],
    "poiCountInCities": [
        {
            "country": "Ghana",
            "state": "Ghana",
            "city": "Accra",
            "count": 29
        },
        {
            "country": "CN",
            "state": "91",
            "city": "Hong Kong",
            "count": 1
        }
    ]
}

CURL 명령

다음 CURL 명령을 사용하여 API를 테스트합니다.

curl -X GET 'https://api-places.adobe.io/places/placesapi/v1/libraries/<LIBRARYID>' -H 'x-api-key: <API KEY>' -H 'Authorization: Bearer <TOKEN>' -H 'x-gw-ims-org-id: <ORGID>'
IMPORTANT
바꾸기 <LIBRARYID>, <API KEY>, <TOKEN>, 및 <ORGID> (실제 값 포함)
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825