查詢集合限定詞 look-up-tag
您可以透過向選件程式庫API發出GET請求,在請求路徑中包含集合限定詞ID,藉此查詢特定的集合限定詞(先前稱為「標籤」)。
API格式
GET /{ENDPOINT_PATH}/tags/{ID}
參數
說明
範例
{ENDPOINT_PATH}
持續性API的端點路徑。
https://platform.adobe.io/data/core/dps/
{ID}
您要查閱之實體的ID。
tag1234
要求
curl -X GET 'https://platform.adobe.io/data/core/dps/tags/tag1234' \
-H 'Accept: *,application/json' \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {IMS_ORG}' \
-H 'x-sandbox-name: {SANDBOX_NAME}'
回應
成功的回應會傳回收集限定詞的詳細資料,包括容器ID、執行環境ID與唯一收集限定詞的相關資訊 @id
.
{
"created": "2022-09-16T19:00:02.070+00:00",
"modified": "2022-09-16T19:00:02.070+00:00",
"etag": 1,
"schemas": [
"https://ns.adobe.com/experience/offer-management/tag;version=0.1"
],
"createdBy": "{CREATED_BY}",
"lastModifiedBy": "{MODIFIED_BY}",
"id": "tag1234",
"name": "Sneakers"
}
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76