Tìm các thực thể xung đột và đã được sửa đổi trong không gian làm việc. Thử ngay.
Yêu cầu
Yêu cầu HTTP
GET https://www.googleapis.com/tagmanager/v2/+path/status
Các tham số
Tên thông số | Giá trị | Nội dung mô tả |
---|---|---|
Tham số đường dẫn | ||
path |
string |
Đường dẫn tương đối về API của GTM Workspace. Ví dụ: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id} |
Ủy quyền
Yêu cầu này cần được uỷ quyền với ít nhất một trong các phạm vi sau:
Phạm vi |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
https://www.googleapis.com/auth/tagmanager.readonly |
Để biết thêm thông tin, hãy xem trang xác thực và uỷ quyền.
Nội dung yêu cầu
Đừng cung cấp nội dung yêu cầu bằng phương thức này.
Phản hồi
Nếu thành công, phương thức này sẽ trả về một nội dung phản hồi có cấu trúc như sau:
{ "workspaceChange": [ { "tag": accounts.containers.workspaces.tags Resource, "trigger": accounts.containers.workspaces.triggers Resource, "variable": accounts.containers.workspaces.variables Resource, "folder": accounts.containers.workspaces.folders Resource, "client": accounts.containers.workspaces.clients Resource, "transformation": accounts.containers.workspaces.transformations Resource, "changeStatus": string } ], "mergeConflict": [ { "entityInWorkspace": { "tag": accounts.containers.workspaces.tags Resource, "trigger": accounts.containers.workspaces.triggers Resource, "variable": accounts.containers.workspaces.variables Resource, "folder": accounts.containers.workspaces.folders Resource, "client": accounts.containers.workspaces.clients Resource, "transformation": accounts.containers.workspaces.transformations Resource, "changeStatus": string }, "entityInBaseVersion": { "tag": accounts.containers.workspaces.tags Resource, "trigger": accounts.containers.workspaces.triggers Resource, "variable": accounts.containers.workspaces.variables Resource, "folder": accounts.containers.workspaces.folders Resource, "client": accounts.containers.workspaces.clients Resource, "transformation": accounts.containers.workspaces.transformations Resource, "changeStatus": string } } ] }
Tên tài sản | Giá trị | Nội dung mô tả | Ghi chú |
---|---|---|---|
workspaceChange[] |
list |
Các thực thể đã được thay đổi trong không gian làm việc. | |
workspaceChange[].tag |
nested object |
Thẻ do thực thể đại diện. | |
workspaceChange[].trigger |
nested object |
Điều kiện kích hoạt do thực thể đại diện. | |
workspaceChange[].variable |
nested object |
Biến do thực thể biểu thị. | |
workspaceChange[].folder |
nested object |
Thư mục do thực thể đại diện. | |
workspaceChange[].changeStatus |
string |
Thể hiện cách thực thể đã được thay đổi trong không gian làm việc.
Các giá trị có thể chấp nhận là:
|
|
mergeConflict[] |
list |
Xung đột hợp nhất sau khi đồng bộ hoá. | |
mergeConflict[].entityInWorkspace |
nested object |
Thực thể Workspace có các thay đổi gây mâu thuẫn so với phiên bản cơ sở. Nếu một thực thể bị xoá trong không gian làm việc, thực thể đó sẽ vẫn xuất hiện với trạng thái thay đổi đã bị xoá. | |
mergeConflict[].entityInWorkspace.tag |
nested object |
Thẻ do thực thể đại diện. | |
mergeConflict[].entityInWorkspace.trigger |
nested object |
Điều kiện kích hoạt do thực thể đại diện. | |
mergeConflict[].entityInWorkspace.variable |
nested object |
Biến do thực thể biểu thị. | |
mergeConflict[].entityInWorkspace.folder |
nested object |
Thư mục do thực thể đại diện. | |
mergeConflict[].entityInWorkspace.changeStatus |
string |
Thể hiện cách thực thể đã được thay đổi trong không gian làm việc.
Các giá trị có thể chấp nhận là:
|
|
mergeConflict[].entityInBaseVersion |
nested object |
Thực thể phiên bản cơ sở (kể từ lần đồng bộ hoá gần đây nhất) có các thay đổi gây mâu thuẫn so với không gian làm việc. Nếu trường này bị thiếu thì tức là thực thể không gian làm việc bị xoá khỏi phiên bản cơ sở. | |
mergeConflict[].entityInBaseVersion.tag |
nested object |
Thẻ do thực thể đại diện. | |
mergeConflict[].entityInBaseVersion.trigger |
nested object |
Điều kiện kích hoạt do thực thể đại diện. | |
mergeConflict[].entityInBaseVersion.variable |
nested object |
Biến do thực thể biểu thị. | |
mergeConflict[].entityInBaseVersion.folder |
nested object |
Thư mục do thực thể đại diện. | |
mergeConflict[].entityInBaseVersion.changeStatus |
string |
Thể hiện cách thực thể đã được thay đổi trong không gian làm việc.
Các giá trị có thể chấp nhận là:
|
|
workspaceChange[].client |
nested object |
Khách hàng do thực thể đại diện. | |
mergeConflict[].entityInWorkspace.client |
nested object |
Khách hàng do thực thể đại diện. | |
mergeConflict[].entityInBaseVersion.client |
nested object |
Khách hàng do thực thể đại diện. | |
workspaceChange[].transformation |
nested object |
Phép biến đổi do thực thể biểu thị. | |
mergeConflict[].entityInWorkspace.transformation |
nested object |
Phép biến đổi do thực thể biểu thị. | |
mergeConflict[].entityInBaseVersion.transformation |
nested object |
Phép biến đổi do thực thể biểu thị. |
Hãy dùng thử!
Hãy sử dụng APIs Explorer bên dưới để gọi phương thức này trên dữ liệu trực tiếp và xem phản hồi.