read
theme

Shows what undoing a compliance copy edit would do, without changing anything: per theme file and JSON path, the text co

Changed on

Shows what undoing a compliance copy edit would do, without changing anything: per theme file and JSON path, the text compliance wrote, the merchant's text it would put back, what is live now, and whether it would be restored (ours) or skipped and why. Returns a preview_token an undo must carry, and held_by: other owners currently holding a file it would write, which refuses the undo. Pass edit_id or all_copy: true. Can take up to two minutes.

post/api/v1/tools/compliance_revert_preview

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopestheme:read

Request body

object required
edit_id, string uuid

One live compliance edit (theme_edits id, author compliance).

all_copy, true

Every live compliance copy edit on the store.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision